/* ==========================================================================
   ByteFit Software Technologies — Corporate Design System & Stylesheet
   ========================================================================== */

:root {
  --primary-navy: #0F172A;
  --primary-blue: #2563EB;
  --accent-emerald: #059669;
  --emerald-light: #10B981;
  --emerald-bg: #ECFDF5;
  --slate-dark: #1E293B;
  --slate-medium: #475569;
  --slate-light: #F8FAFC;
  --slate-border: #E2E8F0;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--slate-dark);
  background-color: var(--slate-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-border);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-emerald), var(--primary-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-medium);
}

.nav-link:hover {
  color: var(--accent-emerald);
}

.btn-primary {
  background-color: var(--accent-emerald);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
  background-color: var(--slate-light);
  color: var(--primary-navy);
  border: 1px solid var(--slate-border);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: #E2E8F0;
  color: var(--primary-navy);
}

/* Hero Section */
.hero {
  padding: 10rem 2rem 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--emerald-bg);
  border: 1px solid #A7F3D0;
  color: var(--accent-emerald);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-navy);
}

.hero-title span {
  color: var(--accent-emerald);
  background: linear-gradient(135deg, var(--accent-emerald), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--slate-medium);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.card-header-badge {
  position: absolute;
  top: -15px;
  right: 24px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
}

/* Feature & Product Showcase */
.section {
  padding: 6rem 2rem;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  color: var(--accent-emerald);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #A7F3D0;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--emerald-bg);
  color: var(--accent-emerald);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Product Showcase Box */
.product-showcase {
  background: var(--primary-navy);
  color: var(--white);
  border-radius: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.product-showcase h2 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.product-showcase p {
  color: #94A3B8;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #E2E8F0;
}

.feature-pill-icon {
  color: var(--emerald-light);
  font-size: 1.2rem;
}

.ownership-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.ownership-box p {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin-bottom: 0;
}

.ownership-box strong {
  color: var(--emerald-light);
}

/* Footer & Legal Disclosures */
.footer {
  background: var(--primary-navy);
  color: #94A3B8;
  padding: 5rem 2rem 2rem;
  border-top: 1px solid var(--slate-dark);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-ul a {
  color: #94A3B8;
}

.footer-ul a:hover {
  color: var(--emerald-light);
}

.legal-notice-banner {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.legal-notice-banner h5 {
  color: var(--emerald-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-notice-banner p {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Modal for Legal Documents */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--slate-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  color: var(--slate-medium);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
