/* ============================================================
   ByteLync Technologies — Global Styles
   Design: Linear/Vercel/Stripe-inspired dark minimal
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark backgrounds */
  --bg-primary:    #0A1628;
  --bg-secondary:  #0F172A;
  --bg-card:       #131D2F;
  --bg-card-hover: #182438;
  --bg-elevated:   #1A2744;

  /* Accent */
  --accent-green:  #10B981;
  --accent-green-light: #22C55E;
  --accent-green-glow: rgba(16, 185, 129, 0.15);
  --accent-blue:   #3B82F6;
  --accent-blue-glow: rgba(59, 130, 246, 0.15);

  /* Text */
  --text-primary:    #F1F5F9;
  --text-secondary:  #94A3B8;
  --text-muted:      #64748B;
  --text-dark:       #0F172A;

  /* Borders */
  --border-subtle:  rgba(148, 163, 184, 0.08);
  --border-light:   rgba(148, 163, 184, 0.15);
  --border-accent:  rgba(16, 185, 129, 0.3);

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #0A1628 0%, #0F2027 40%, #0A1628 100%);
  --gradient-green:   linear-gradient(135deg, #10B981, #059669);
  --gradient-blue:    linear-gradient(135deg, #3B82F6, #2563EB);
  --gradient-card:    linear-gradient(145deg, rgba(16, 185, 129, 0.05), transparent);

  /* Spacing */
  --section-pad:   clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease-out);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul { list-style: none; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.container--wide {
  max-width: 1400px;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.section-label i {
  width: 16px;
  height: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn i {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3), 0 4px 12px rgba(0,0,0,0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4), 0 8px 20px rgba(0,0,0,0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn--secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-green);
}

.btn--ghost {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.btn--ghost:hover {
  color: var(--accent-green);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: 0.625rem;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  transition: all 0.4s var(--ease-out);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.nav.scrolled::before {
  opacity: 1;
}

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  z-index: 10;
}

.nav__logo img {
  height: 28px;
  width: auto;
}

.nav__logo-text {
  color: var(--text-primary);
}

.nav__logo-text span {
  color: var(--accent-green);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__links a {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0.375rem;
  transition: all var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

.nav__links a.active {
  background: var(--bg-card);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 10;
}

.nav__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__menu-btn {
    display: flex;
  }

  .nav__links,
  .nav__cta .btn--secondary {
    display: none;
  }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    z-index: 5;
  }

  .nav__links.open a {
    font-size: 1.25rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav__menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(72px + var(--section-pad)) 0 var(--section-pad);
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.hero__glow--green {
  top: 10%;
  left: 20%;
  background: var(--accent-green);
}

.hero__glow--blue {
  bottom: 10%;
  right: 15%;
  background: var(--accent-blue);
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
  transition: all var(--transition);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--accent-green-glow);
  color: var(--accent-green);
  margin-bottom: 1.25rem;
}

.card__icon--blue {
  background: var(--accent-blue-glow);
  color: var(--accent-blue);
}

.card__icon i {
  width: 24px;
  height: 24px;
}

.card h3 {
  position: relative;
  margin-bottom: 0.75rem;
}

.card p {
  position: relative;
  font-size: 0.9375rem;
}

/* ── Grid Layouts ─────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
}

/* ── Sections ─────────────────────────────────────────────── */
section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section--bordered {
  border-top: 1px solid var(--border-subtle);
}

/* ── Products Grid ────────────────────────────────────────── */
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: all var(--transition);
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-green);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-card:hover::after {
  opacity: 1;
}

.product-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 0.875rem;
  background: var(--accent-green-glow);
  margin-bottom: 1.5rem;
}

.product-card__icon i {
  width: 28px;
  height: 28px;
  color: var(--accent-green);
}

.product-card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-green-glow);
  color: var(--accent-green);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-card p {
  margin-bottom: 1.5rem;
}

.product-card .btn {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
}

/* Coming soon card */
.product-card--soon {
  border-style: dashed;
  opacity: 0.6;
}

.product-card--soon:hover {
  opacity: 0.8;
  transform: none;
}

/* ── Why Section ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all var(--transition);
}

.why-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.why-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--accent-green-glow);
  color: var(--accent-green);
}

.why-item__icon i {
  width: 20px;
  height: 20px;
}

.why-item h4 {
  margin-bottom: 0.375rem;
}

.why-item p {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Feature List (KisanPro page) ─────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.875rem;
  padding: 1.75rem;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--accent-green-glow);
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.feature-card__icon i {
  width: 20px;
  height: 20px;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── Steps / How It Works ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
  opacity: 0.2;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-green);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-green);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9375rem;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .steps::before { display: none; }
}

/* ── Architecture Diagram ─────────────────────────────────── */
.arch-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 3rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  overflow-x: auto;
  position: relative;
}

.arch-diagram__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  min-width: 140px;
  text-align: center;
  transition: all var(--transition);
}

.arch-node:hover {
  border-color: var(--accent-green);
}

.arch-node i {
  width: 28px;
  height: 28px;
  color: var(--accent-green);
}

.arch-node__label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-primary);
  font-family: var(--font-family);
}

.arch-node__sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-family);
}

.arch-arrow {
  display: flex;
  align-items: center;
  color: var(--accent-green);
  font-size: 1.25rem;
  opacity: 0.5;
}

.arch-arrow i {
  width: 24px;
  height: 24px;
}

.arch-note {
  text-align: center;
  font-family: var(--font-family);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-style: italic;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .arch-diagram__visual {
    flex-direction: column;
  }
  .arch-arrow {
    transform: rotate(90deg);
  }
}

/* ── POS Mockup ───────────────────────────────────────────── */
.mockup {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.mockup__titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup__dot--red    { background: #FF5F57; }
.mockup__dot--yellow { background: #FFBD2E; }
.mockup__dot--green  { background: #28CA41; }

.mockup__title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 360px;
}

.mockup__sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: 1rem;
}

.mockup__sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  transition: all var(--transition);
}

.mockup__sidebar-item i {
  width: 14px;
  height: 14px;
}

.mockup__sidebar-item--active {
  background: var(--accent-green-glow);
  color: var(--accent-green);
}

.mockup__main {
  padding: 1.5rem;
}

.mockup__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mockup__stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.mockup__stat-label {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.mockup__stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mockup__stat-value--green { color: var(--accent-green); }
.mockup__stat-value--blue  { color: var(--accent-blue); }

.mockup__table {
  width: 100%;
  border-collapse: collapse;
}

.mockup__table th,
.mockup__table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.6875rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup__table th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.625rem;
}

.mockup__table td {
  color: var(--text-secondary);
}

.mockup__badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
  font-size: 0.625rem;
  font-weight: 600;
}

.mockup__badge--green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.mockup__badge--blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

@media (max-width: 768px) {
  .mockup__body {
    grid-template-columns: 1fr;
  }
  .mockup__sidebar {
    display: none;
  }
  .mockup__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--accent-green);
}

.faq-item__question i {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-item__question i {
  transform: rotate(45deg);
  color: var(--accent-green);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item__answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

/* ── Pricing / Download ───────────────────────────────────── */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-green);
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
}

.pricing-card__features {
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-card__features li i {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Download box */
.download-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 640px;
  margin: 2rem auto 0;
}

.download-box__info {
  flex: 1;
}

.download-box__info p {
  font-size: 0.875rem;
}

.download-box__meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.download-box__meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .download-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Target Audience ──────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.875rem;
  transition: all var(--transition);
}

.audience-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.audience-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.audience-card h4 {
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ── About Page ───────────────────────────────────────────── */
.about-hero {
  text-align: center;
  padding-top: calc(72px + var(--section-pad));
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mv-card--mission::before { background: var(--gradient-green); }
.mv-card--vision::before  { background: var(--gradient-blue); }

.mv-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}

.mv-card--mission .mv-card__icon {
  background: var(--accent-green-glow);
  color: var(--accent-green);
}

.mv-card--vision .mv-card__icon {
  background: var(--accent-blue-glow);
  color: var(--accent-blue);
}

.mv-card__icon i {
  width: 24px;
  height: 24px;
}

.mv-card h3 {
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .mission-vision { grid-template-columns: 1fr; }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--border-accent);
}

.team-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-green-glow);
  color: var(--accent-green);
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── Contact Page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-green);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--accent-green-glow);
  color: var(--accent-green);
  flex-shrink: 0;
}

.contact-info-item__icon i {
  width: 20px;
  height: 20px;
}

.contact-info-item h4 {
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.875rem;
}

.contact-info-item a {
  color: var(--accent-green);
  transition: color var(--transition);
}

.contact-info-item a:hover {
  color: var(--accent-green-light);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: var(--accent-green-glow);
}

.social-link i {
  width: 18px;
  height: 18px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  background: var(--bg-secondary);
}

.footer__logo-link {
  display: inline-block;
}

.footer__logo-img {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity var(--transition);
}

.footer__logo-link:hover .footer__logo-img {
  opacity: 1;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer__col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.375rem 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--accent-green);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* ── Scroll Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page Header (inner pages) ────────────────────────────── */
.page-header {
  padding: calc(72px + 4rem) 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  pointer-events: none;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
}

.page-header h1 {
  position: relative;
  margin-bottom: 1rem;
}

.page-header p {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05), transparent 50%);
}

.cta-banner h2 {
  position: relative;
  margin-bottom: 1rem;
}

.cta-banner p {
  position: relative;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .hero__actions {
  position: relative;
}

/* ── Success message ──────────────────────────────────────── */
.form-success {
  display: none;
  padding: 1rem;
  background: var(--accent-green-glow);
  border: 1px solid var(--accent-green);
  border-radius: 0.5rem;
  color: var(--accent-green);
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
