/* ============================================
   MOBINUX LLC — Design System & Global Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --color-bg:           #0a0a0f;
  --color-bg-alt:       #0e0e16;
  --color-surface:      #12121a;
  --color-surface-alt:  #1a1a2e;
  --color-border:       rgba(99, 102, 241, 0.15);
  --color-border-subtle:rgba(255, 255, 255, 0.06);

  --color-accent:       #6366f1;
  --color-accent-light: #818cf8;
  --color-accent-dark:  #4f46e5;
  --color-secondary:    #8b5cf6;
  --color-tertiary:     #a78bfa;

  --gradient-accent:    linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-accent-h:  linear-gradient(135deg, #818cf8, #a78bfa);
  --gradient-hero:      radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  --gradient-glass:     linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));

  --color-text:         #e2e8f0;
  --color-text-muted:   #94a3b8;
  --color-text-dim:     #64748b;
  --color-white:        #ffffff;
  --color-success:      #22c55e;
  --color-error:        #ef4444;
  --color-warning:      #f59e0b;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3rem;
  --fs-5xl:  3.5rem;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 20px rgba(99, 102, 241, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(99, 102, 241, 0.2);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-tertiary);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }
.text-dim    { color: var(--color-text-dim); }
.text-accent { color: var(--color-accent-light); }
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--gradient-accent-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn-block {
  width: 100%;
}

/* --- Cards --- */
.card {
  background: var(--gradient-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent-light);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-lg);
}

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* --- Glass Effect --- */
.glass {
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-subtle);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--color-white);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: 800;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--color-accent-light);
}

.nav-cta {
  margin-left: var(--space-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-md);
  max-width: 280px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--gradient-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-subtle);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--color-text-dim);
  font-size: var(--fs-xs);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--color-accent-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--color-accent-light);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.hero p {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 10%;
  right: 10%;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: var(--color-secondary);
  bottom: 20%;
  right: 30%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 150px;
  height: 150px;
  background: var(--color-tertiary);
  top: 40%;
  right: 5%;
  animation-delay: -5s;
}

/* Grid lines decoration */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* ============================================
   FEATURES / SERVICES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover::before {
  opacity: 1;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ============================================
   WHY CHOOSE US / VALUE PROPS
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.value-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.value-card .value-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-white);
}

.value-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-xs);
}

.value-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  padding: var(--space-2xl);
}

.testimonial-stars {
  color: var(--color-warning);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-white);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-white);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--gradient-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08), transparent 50%);
  z-index: 0;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  background: var(--gradient-hero);
}

.page-hero h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-story-text h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-lg);
}

.about-story-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gradient-glass);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.mv-card {
  padding: var(--space-2xl);
  text-align: center;
}

.mv-card .mv-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.mv-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
}

.mv-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.value-item {
  text-align: center;
  padding: var(--space-xl);
}

.value-item .value-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.value-item h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.value-item p {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
  padding: var(--space-2xl);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-white);
}

.team-card h4 {
  font-size: var(--fs-md);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.team-card .team-role {
  font-size: var(--fs-sm);
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}

.team-card p {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-accent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 10px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: var(--space-xs);
}

.timeline-item h4 {
  font-size: var(--fs-base);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent-light);
  font-size: var(--fs-lg);
}

.contact-card h4 {
  font-size: var(--fs-base);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.contact-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-control::placeholder {
  color: var(--color-text-dim);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FAQ Accordion */
.faq-section {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-surface-alt);
}

.faq-icon {
  font-size: var(--fs-lg);
  color: var(--color-accent-light);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-height) var(--space-xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.login-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: var(--space-3xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.login-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.login-header .login-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: white;
}

.login-header h1 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-sm);
}

.login-header p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.login-form .form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.forgot-link {
  font-size: var(--fs-sm);
  color: var(--color-accent-light);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  color: var(--color-text-dim);
  font-size: var(--fs-xs);
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border-subtle);
}

.login-footer {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Error toast */
.error-toast {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-error);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  animation: shake 0.4s ease;
}

.error-toast.show {
  display: flex;
}

.success-toast {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-success);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.success-toast.show {
  display: flex;
}

/* ============================================
   LEGAL PAGES (Terms & Privacy)
   ============================================ */
.legal-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.legal-toc {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
}

.legal-toc h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-subtle);
}

.legal-toc a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a.active {
  color: var(--color-accent-light);
}

.legal-body {
  max-width: 800px;
}

.legal-body .legal-updated {
  font-size: var(--fs-sm);
  color: var(--color-text-dim);
  margin-bottom: var(--space-2xl);
}

.legal-body h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
}

.legal-body h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-body h3 {
  font-size: var(--fs-md);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.legal-body p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.9;
  margin-bottom: var(--space-md);
}

.legal-body ul,
.legal-body ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-body li {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.9;
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.legal-body ol li {
  list-style: decimal;
}

.legal-body strong {
  color: var(--color-text);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    background: var(--color-surface);
    border-left: 1px solid var(--color-border-subtle);
    transition: right var(--transition-slow);
    gap: var(--space-xs);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: var(--space-md) var(--space-md);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-banner {
    padding: var(--space-2xl);
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .login-card {
    padding: var(--space-2xl);
  }

  .page-hero h1 {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero h1 {
    font-size: var(--fs-3xl);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.show {
  display: block;
  opacity: 1;
}

/* ============================================
   PASSWORD FIELD
   ============================================ */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-dim);
  cursor: pointer;
  font-size: var(--fs-md);
  padding: var(--space-xs);
  transition: color var(--transition-fast);
}

.password-toggle:hover {
  color: var(--color-text);
}
