/* ============================================================
   RK Textile — Design System
   Premium Technology Company Website
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors — Premium White Theme */
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --light-gray: #F0F2F5;
  --border-gray: #E2E8F0;
  --medium-gray: #8B95A5;
  --dark-gray: #4A5568;
  --charcoal: #2D3748;
  --navy: #0F1729;
  --deep-blue: #1E3A5F;
  --accent-blue: #2563EB;
  --accent-blue-hover: #1D4ED8;
  --accent-blue-light: #3B82F6;
  --accent-blue-pale: #DBEAFE;
  --accent-glow: rgba(37, 99, 235, 0.08);
  --accent-glow-strong: rgba(37, 99, 235, 0.15);
  --success: #10B981;
  --warning: #F59E0B;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes — Fluid */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.75rem + 0.3vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.875rem + 0.3vw, 1rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --text-xl: clamp(1.1875rem, 1.1rem + 0.4vw, 1.25rem);
  --text-2xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.5rem);
  --text-3xl: clamp(1.625rem, 1.4rem + 1.1vw, 1.875rem);
  --text-4xl: clamp(2rem, 1.6rem + 2vw, 2.5rem);
  --text-5xl: clamp(2.5rem, 1.8rem + 3.5vw, 3.5rem);
  --text-6xl: clamp(3rem, 2rem + 5vw, 4.5rem);

  /* Font Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  --space-40: 10rem;    /* 160px */

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-blue: 0 4px 14px rgba(37, 99, 235, 0.2);
  --shadow-blue-lg: 0 8px 24px rgba(37, 99, 235, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;
  --nav-height: 72px;
}


/* ============================================================
   2. CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-normal) var(--ease-out);
}

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--accent-blue);
  color: var(--white);
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-bold);
}

h1 {
  font-size: var(--text-6xl);
  font-weight: var(--weight-extrabold);
}

h2 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
}

h3 {
  font-size: var(--text-4xl);
}

h4 {
  font-size: var(--text-3xl);
}

h5 {
  font-size: var(--text-2xl);
}

h6 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
  color: var(--dark-gray);
}

.text-accent {
  color: var(--accent-blue);
}

.text-navy {
  color: var(--navy);
}

.text-gray {
  color: var(--medium-gray);
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--dark-gray);
  max-width: 640px;
  line-height: var(--leading-relaxed);
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

.section-alt {
  background-color: var(--off-white);
}

.section-light-gray {
  background-color: var(--light-gray);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }


/* ============================================================
   5. NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--duration-slow) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
}

.navbar .container,
.navbar .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--navy);
  z-index: 1001;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-blue), var(--deep-blue));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--dark-gray);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.nav-link:hover {
  color: var(--navy);
  background: var(--accent-glow);
}

.nav-link.active {
  color: var(--accent-blue);
}

.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 1001;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .mobile-nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-menu.active .mobile-nav-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu .mobile-nav-link:hover {
  color: var(--accent-blue);
  background: var(--accent-glow);
}

/* Stagger mobile menu items */
.mobile-menu .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu .mobile-nav-link:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu .mobile-nav-link:nth-child(7) { transition-delay: 0.35s; }


/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: var(--shadow-blue-lg);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border-gray);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-blue);
  padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
  background: var(--accent-glow);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-lg);
}

/* Google Play Button */
.btn-play {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  gap: var(--space-3);
}

.btn-play:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-play .play-icon {
  width: 24px;
  height: 24px;
}

.btn-play .play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.btn-play .play-text small {
  font-size: 10px;
  font-weight: var(--weight-regular);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  opacity: 0.7;
}

.btn-play .play-text span {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
}


/* ============================================================
   7. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
}

.card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--accent-blue);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover .card-icon {
  background: var(--accent-blue);
  color: var(--white);
  transform: scale(1.05);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  color: var(--navy);
}

.card-text {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* App Card */
.app-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
  cursor: pointer;
}

.app-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-2xl);
  transform: translateY(-6px);
}

.app-card-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--light-gray), var(--off-white));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.app-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-body {
  padding: var(--space-6) var(--space-6) var(--space-8);
}

.app-card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--accent-blue-pale);
  color: var(--accent-blue);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.app-card-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.app-card-desc {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.app-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--accent-blue);
  transition: gap var(--duration-normal) var(--ease-out);
}

.app-card-link:hover {
  gap: var(--space-3);
}

.app-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.app-card:hover .app-card-link svg {
  transform: translateX(4px);
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-8) var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--accent-glow);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--accent-blue);
  margin-bottom: var(--space-8);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), #7C3AED, var(--accent-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--dark-gray);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero Background Abstract Shapes */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-bg .orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  top: -200px;
  right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}

.hero-bg .orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-bg .orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-slow 15s ease-in-out infinite;
}

/* Grid pattern overlay */
.hero-bg .grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

/* Floating geometric shapes */
.hero-bg .geo-shape {
  position: absolute;
  border: 1.5px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  opacity: 0.6;
}

.hero-bg .geo-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  transform: rotate(45deg);
  animation: float-rotate 12s ease-in-out infinite;
}

.hero-bg .geo-2 {
  width: 120px;
  height: 120px;
  bottom: 25%;
  right: 8%;
  border-radius: 50%;
  animation: float-rotate 18s ease-in-out infinite reverse;
}

.hero-bg .geo-3 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 20%;
  border-radius: 50%;
  animation: float-slow 10s ease-in-out infinite;
}

.hero-bg .geo-4 {
  width: 100px;
  height: 100px;
  top: 15%;
  right: 20%;
  border-radius: var(--radius-2xl);
  animation: float-rotate 14s ease-in-out infinite;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--medium-gray);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  animation: fade-in-up 1s ease-out 1s both;
}

.scroll-indicator .scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--border-gray);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: var(--radius-full);
  animation: scroll-dot 2s ease-in-out infinite;
}


/* ============================================================
   9. ABOUT / COMPANY SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text h2 {
  margin-bottom: var(--space-6);
}

.about-text p {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
}

.value-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border-gray);
  transition: all var(--duration-slow) var(--ease-out);
}

.value-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--accent-glow);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.value-card h5 {
  margin-bottom: var(--space-3);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  margin-bottom: 0;
}


/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  padding: var(--space-12) var(--space-8);
  background: var(--navy);
  border-radius: var(--radius-2xl);
  margin-top: var(--space-16);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--weight-medium);
}


/* ============================================================
   10. SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.services-grid .card:nth-child(4),
.services-grid .card:nth-child(5) {
  /* Last two cards span wider for visual balance */
}

.service-card .card-icon svg {
  width: 28px;
  height: 28px;
}


/* ============================================================
   11. APPLICATIONS SHOWCASE
   ============================================================ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.app-card-image .app-mockup {
  width: 80%;
  max-width: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Gradient overlays for app cards */
.app-card:nth-child(1) .app-card-image {
  background: linear-gradient(135deg, #EBF5FF, #E0ECFF);
}

.app-card:nth-child(2) .app-card-image {
  background: linear-gradient(135deg, #F0EAFF, #E8E0FF);
}

.app-card:nth-child(3) .app-card-image {
  background: linear-gradient(135deg, #E6FFF0, #D5F5E3);
}


/* ============================================================
   12. UPCOMING PROJECTS / ROADMAP
   ============================================================ */
.timeline {
  position: relative;
  padding-left: var(--space-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--border-gray));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-10) + 8px);
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent-blue);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-glow-strong);
  z-index: 1;
}

.timeline-item.upcoming .timeline-dot {
  background: var(--medium-gray);
  box-shadow: 0 0 0 3px rgba(139, 149, 165, 0.15);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--duration-slow) var(--ease-out);
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.timeline-date {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  margin-bottom: 0;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
}


/* ============================================================
   13. COMPANY GROWTH / MILESTONES
   ============================================================ */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.milestone-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-xl);
  transition: all var(--duration-slow) var(--ease-out);
}

.milestone-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.milestone-year {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-3);
}

.milestone-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.milestone-desc {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  margin-bottom: 0;
}


/* ============================================================
   14. CUSTOMER REVIEWS (hidden until real reviews available)
   ============================================================ */
.reviews-section.hidden-section {
  display: none;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-slow) var(--ease-out);
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--warning);
}

.review-text {
  font-size: var(--text-base);
  color: var(--dark-gray);
  font-style: italic;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  color: var(--accent-blue);
  font-size: var(--text-sm);
}

.review-name {
  font-weight: var(--weight-semibold);
  color: var(--navy);
  font-size: var(--text-sm);
}

.review-role {
  font-size: var(--text-xs);
  color: var(--medium-gray);
}


/* ============================================================
   15. CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.cta-section .cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.cta-section .cta-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-blue);
  top: -200px;
  right: -100px;
}

.cta-section .cta-orb-2 {
  width: 300px;
  height: 300px;
  background: #7C3AED;
  bottom: -150px;
  left: -50px;
}


/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--border-gray);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gray);
  color: var(--dark-gray);
  transition: all var(--duration-normal) var(--ease-out);
}

.footer-social a:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-column h6 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column ul li a {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  transition: all var(--duration-normal) var(--ease-out);
}

.footer-column ul li a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-gray);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--medium-gray);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: var(--medium-gray);
  transition: color var(--duration-normal) var(--ease-out);
}

.footer-bottom-links a:hover {
  color: var(--accent-blue);
}


/* ============================================================
   17. APP LANDING PAGE STYLES
   ============================================================ */
.app-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-12));
  position: relative;
  overflow: hidden;
}

.app-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.app-hero-text .app-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.app-hero-text h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.app-hero-text .app-tagline {
  font-size: var(--text-lg);
  color: var(--dark-gray);
  margin-bottom: var(--space-8);
}

.app-hero-visual {
  display: flex;
  justify-content: center;
}

.app-hero-visual .phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.app-hero-visual .phone-screen {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  border-radius: 30px;
  overflow: hidden;
}

.app-hero-visual .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  transition: all var(--duration-slow) var(--ease-out);
}

.feature-item:hover {
  background: var(--off-white);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.feature-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* Screenshots Carousel */
.screenshots-container {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  padding: var(--space-4) 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots-container::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  min-width: 220px;
  width: 220px;
  height: 440px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-lg);
  background: var(--light-gray);
  flex-shrink: 0;
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration-normal) var(--ease-out);
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--dark-gray);
  line-height: var(--leading-relaxed);
}


/* ============================================================
   18. LEGAL / CONTENT PAGES
   ============================================================ */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-12);
  background: var(--off-white);
  text-align: center;
}

.page-header h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page-header .page-subtitle {
  font-size: var(--text-lg);
  color: var(--dark-gray);
}

.page-header .page-meta {
  font-size: var(--text-sm);
  color: var(--medium-gray);
  margin-top: var(--space-4);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content p {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content ul li {
  font-size: var(--text-base);
  color: var(--dark-gray);
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

.legal-content a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--accent-blue-hover);
}


/* ============================================================
   19. CAREERS PAGE
   ============================================================ */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.career-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-slow) var(--ease-out);
}

.career-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.career-type {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--accent-glow);
  color: var(--accent-blue);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.career-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.career-desc {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  margin-bottom: var(--space-4);
}

.career-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--medium-gray);
}

.career-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}


/* ============================================================
   20. SUPPORT PAGE
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.support-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-xl);
  transition: all var(--duration-slow) var(--ease-out);
}

.support-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.support-card .support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--accent-glow);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.support-card h5 {
  margin-bottom: var(--space-2);
}

.support-card p {
  font-size: var(--text-sm);
  color: var(--dark-gray);
  margin-bottom: var(--space-4);
}


/* ============================================================
   21. CURSOR GLOW EFFECT
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  will-change: transform;
}

.cursor-glow.active {
  opacity: 1;
}

/* Disable on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-glow {
    display: none !important;
  }
}


/* ============================================================
   22. UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
