/* =========================================================
   KolayKasa — Enterprise Design System & Architecture
   High-end tech aesthetic, fluid scales, soft depth, glassmorphism
   Inspired by Vercel, Linear, Stripe, and Apple.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Spacing Scale (4px Base Grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Typography Scale */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;
  --font-5xl: 3rem;
  --font-6xl: 3.75rem;
  
  /* Border Radius Scale */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-xxl: 38px;
  --radius-full: 9999px;

  /* Premium Colors */
  --paper-rgb: 250, 251, 249;
  --paper: rgb(var(--paper-rgb));
  --paper-muted: #F2F4F0;
  --paper-card: #FFFFFF;
  --paper-card-hover: #FAFBF8;
  
  --terminal-rgb: 6, 15, 13;
  --terminal: rgb(var(--terminal-rgb));
  --terminal-muted: #0A1715;
  --terminal-card: #0F201C;
  --terminal-border: rgba(255, 255, 255, 0.06);
  
  --mint-rgb: 10, 211, 168;
  --mint: rgb(var(--mint-rgb));
  --mint-light: #12E3B4;
  --mint-dark: #08B48F;
  --mint-glow: rgba(10, 211, 168, 0.12);
  --mint-2: #0FE3B4; /* backwards compatibility */
  
  --gold: #E29E3A;
  --gold-glow: rgba(226, 158, 58, 0.1);
  --amber: #F2A93B; /* backwards compatibility */
  
  --ink: #0D1614;
  --ink-60: rgba(13, 22, 20, 0.65);
  --ink-40: rgba(13, 22, 20, 0.42);
  --ink-muted: rgba(13, 22, 20, 0.65);
  
  --border: rgba(13, 22, 20, 0.07);
  --border-hover: rgba(13, 22, 20, 0.16);
  --line: rgba(13, 22, 20, 0.08); /* backwards compatibility */
  --line-dark: rgba(255, 255, 255, 0.06);
  --white: #FFFFFF;
  
  /* Elevation System (Layered Shadows) */
  --elevation-low: 0 2px 8px rgba(13, 22, 20, 0.03), 0 0 0 1px rgba(13, 22, 20, 0.01);
  --elevation-mid: 0 12px 28px -8px rgba(13, 22, 20, 0.06), 0 0 0 1px rgba(13, 22, 20, 0.015);
  --elevation-high: 0 30px 65px -15px rgba(13, 22, 20, 0.1), 0 0 0 1px rgba(13, 22, 20, 0.015);
  --elevation-glow: 0 0 45px rgba(10, 211, 168, 0.09);
  
  --shadow-sm: var(--elevation-low); /* compatibility */
  --shadow-md: var(--elevation-mid); /* compatibility */
  --shadow-lg: var(--elevation-high); /* compatibility */
  --shadow-xl: 0 35px 70px -20px rgba(13, 22, 20, 0.1), 0 0 0 1px rgba(13, 22, 20, 0.015);
  --shadow-soft: 0 20px 60px -25px rgba(13, 22, 20, 0.2);
  --shadow-lift: 0 30px 80px -20px rgba(13, 22, 20, 0.28);
  --shadow-glow: var(--elevation-glow);

  --shadow-dark-md: 0 10px 30px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
  --shadow-dark-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  
  /* Icon Sizing Scale */
  --icon-sm: 18px;
  --icon-md: 24px;
  --icon-lg: 32px;
  
  /* Animation Durations */
  --dur-fast: 0.15s;
  --dur-normal: 0.3s;
  --dur-slow: 0.6s;
  --dur-reveal: 0.85s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all var(--dur-normal) var(--ease);
}

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
  color: var(--ink);
}
h1 {
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
h4 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 var(--space-4);
  color: var(--ink-60);
  font-size: 1.025rem;
  letter-spacing: -0.01em;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-variant-numeric: tabular-nums;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Layout Containers ---------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 640px) {
  .wrap { padding: 0 var(--space-4); }
}

.section-pad {
  padding: var(--space-10) 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .section-pad { padding: var(--space-8) 0; }
}

.section-dark {
  background: var(--terminal);
  color: var(--white);
}
.section-dark p { color: rgba(255, 255, 255, 0.65); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-alt {
  background: var(--paper-muted);
}

.section-head {
  max-width: 640px;
  margin: 0 0 var(--space-8);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(10, 211, 168, 0.18);
}
.section-dark .eyebrow {
  color: var(--mint);
}

/* ---------- Page Accents (Unique Page Visual Identities) ---------- */
.page-accent-green::before {
  content: ""; position: absolute; inset: -15% -10% auto -10%; height: 500px;
  background: radial-gradient(55% 55% at 30% 15%, rgba(10, 211, 168, 0.12), transparent 80%);
  filter: blur(60px); z-index: 0; pointer-events: none;
}
.page-accent-amber::before {
  content: ""; position: absolute; inset: -15% -10% auto -10%; height: 500px;
  background: radial-gradient(55% 55% at 30% 15%, rgba(226, 158, 58, 0.08), transparent 80%);
  filter: blur(60px); z-index: 0; pointer-events: none;
}
.page-accent-blue::before {
  content: ""; position: absolute; inset: -15% -10% auto -10%; height: 500px;
  background: radial-gradient(55% 55% at 30% 15%, rgba(0, 122, 255, 0.06), transparent 80%);
  filter: blur(60px); z-index: 0; pointer-events: none;
}

/* ---------- Skeleton Loader (Core Web Vitals Placeholder) ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--paper-muted) 25%, var(--paper) 37%, var(--paper-muted) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}
.section-dark .skeleton {
  background: linear-gradient(90deg, var(--terminal-card) 25%, rgba(255,255,255,0.06) 37%, var(--terminal-card) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}
@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Trust Marquee Logos ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--space-8);
  padding: var(--space-4) 0;
  position: relative;
}
.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--space-8);
  animation: scroll-marquee 25s linear infinite;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.marquee-content svg {
  height: 28px;
  opacity: 0.35;
  transition: opacity var(--dur-normal);
}
.marquee-content svg:hover {
  opacity: 0.75;
}

/* ---------- Security Trust Badges ---------- */
.security-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-5);
}
.badge-secure {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--paper-card);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-60);
  box-shadow: var(--shadow-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.1em 2.2em;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur-normal) var(--ease), box-shadow var(--dur-normal) var(--ease), background var(--dur-normal), border-color var(--dur-normal), color var(--dur-normal);
  white-space: nowrap;
  outline: none;
}
.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(10, 211, 168, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
  color: #030c0a;
  box-shadow: 0 10px 24px -8px rgba(10, 211, 168, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(10, 211, 168, 0.55), 0 0 0 1px var(--mint-light);
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--mint) 100%);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: var(--ink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--ink-40);
  box-shadow: var(--shadow-md);
}
.btn-ghost:active {
  transform: translateY(0);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: var(--line-dark);
}
.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
}

.btn-sm {
  padding: 0.75em 1.4em;
  font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-5) 0;
  transition: padding var(--dur-slow) var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--paper-rgb), 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  padding: 8px 10px 8px 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--dur-slow) var(--ease);
}
.nav.scrolled {
  padding: var(--space-3) 0;
}
.nav.scrolled .nav-inner {
  background: rgba(var(--paper-rgb), 0.88);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--terminal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li {
  position: relative;
}
.nav-links a, .nav-links button {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links button:hover {
  background: rgba(13, 22, 20, 0.05);
}
.nav-links a.active {
  color: var(--mint-dark);
  font-weight: 600;
}
.caret {
  width: 9px;
  height: 9px;
  transition: transform var(--dur-normal) var(--ease);
}
.has-dropdown.open .caret,
.has-dropdown:hover .caret {
  transform: rotate(180deg);
}

/* Dropdown / Mega Menu Container */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.97);
  width: 480px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  transform-origin: top center;
  transition: opacity var(--dur-normal) var(--ease), transform var(--dur-normal) var(--ease), visibility var(--dur-normal);
  z-index: 1010;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid transparent;
}
.dropdown a:hover {
  background: rgba(10, 211, 168, 0.06);
  border-color: rgba(10, 211, 168, 0.08);
}
.dropdown a b {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.dropdown a small {
  color: var(--ink-60);
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.3;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 88px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(var(--paper-rgb), 0.98);
    backdrop-filter: blur(30px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s var(--ease), opacity var(--dur-normal) var(--ease);
  }
  .nav-links.open {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }
  .nav-links a, .nav-links button {
    width: 100%;
    justify-content: space-between;
    padding: 12px 20px;
  }
  .dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0 0 0 16px;
    grid-template-columns: 1fr;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
    width: 100%;
  }
  .has-dropdown.open .dropdown {
    max-height: 500px;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
  }
  .nav-toggle:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}

/* ---------- Perforated divider (signature motif) ---------- */
.perforation {
  height: 24px;
  width: 100%;
  background-image: radial-gradient(circle, var(--paper) 4.5px, transparent 5px);
  background-size: 24px 24px;
  background-position: center;
  position: relative;
  z-index: 2;
  margin-top: -12px;
  margin-bottom: -12px;
}
.perforation.on-terminal { background-image: radial-gradient(circle, var(--terminal) 4.5px, transparent 5px); }
.perforation.on-paper2 { background-image: radial-gradient(circle, var(--paper-muted) 4.5px, transparent 5px); }

/* ---------- Glass cards ---------- */
.glass {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.glass:hover {
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xl);
}
.section-dark .glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-dark-md);
}
.section-dark .glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-dark-lg);
}

/* ---------- Hero & Backdrops ---------- */
.hero {
  padding: 190px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -15% -10% auto -10%;
  height: 700px;
  background: 
    radial-gradient(55% 55% at 25% 15%, rgba(10, 211, 168, 0.14), transparent 80%),
    radial-gradient(45% 45% at 75% 20%, rgba(226, 158, 58, 0.08), transparent 80%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(13, 22, 20, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 22, 20, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 30%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); text-align: center; }
  .hero-grid p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-top: 2.2em;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: var(--space-7);
  margin-top: 3.5em;
  flex-wrap: wrap;
}
.hero-trust div {
  font-family: 'IBM Plex Mono', monospace;
}
.hero-trust b {
  display: block;
  font-size: 1.65rem;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-weight: 600;
}
.hero-trust span {
  font-size: 0.78rem;
  color: var(--ink-60);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Receipt Card — signature element */
.receipt-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}
.receipt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.receipt-head b {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(10, 211, 168, 0.2);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}
.receipt-lines {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  animation: printIn 0.5s var(--ease) forwards;
}
.receipt-line span:last-child {
  color: var(--ink-60);
  font-weight: 500;
}
@keyframes printIn {
  to { opacity: 1; transform: translateY(0); }
}
.receipt-total {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
}
.receipt-total span:last-child {
  color: var(--mint-dark);
}
.receipt-stamp {
  position: absolute;
  top: 24px;
  right: -8px;
  transform: rotate(8deg);
  border: 2px solid var(--mint);
  color: var(--mint);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(10, 211, 168, 0.05);
  box-shadow: 0 4px 10px rgba(10, 211, 168, 0.1);
  pointer-events: none;
}

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 990px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------- Feature Card ---------- */
.card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 211, 168, 0.2);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 211, 168, 0.12) 0%, rgba(226, 158, 58, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--mint-dark);
  transition: transform 0.4s var(--ease);
}
.card:hover .card-icon {
  transform: scale(1.05) rotate(2deg);
  color: var(--mint);
}
.card h3 { margin-bottom: 0.5em; }
.card p { margin: 0; font-size: 0.95rem; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  transition-delay: calc(var(--i, 0) * 100ms);
}

/* ---------- Stats & Counters ---------- */
.stat {
  position: relative;
}
.stat b {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 560;
  display: block;
  color: var(--mint-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-60);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-dark .stat b { color: var(--mint); }
.section-dark .stat span { color: rgba(255, 255, 255, 0.55); }

/* ---------- Pricing Toggle & Switcher ---------- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.pricing-toggle-wrap span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-60);
}
.pricing-toggle-wrap span.active {
  color: var(--ink);
}
.pricing-toggle {
  position: relative;
  width: 58px;
  height: 32px;
  background: var(--paper-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}
.pricing-toggle::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-dark);
  top: 3px;
  left: 3px;
  transition: var(--transition);
}
.pricing-toggle.active {
  background: var(--mint-glow);
  border-color: var(--mint);
}
.pricing-toggle.active::after {
  left: 29px;
  background: var(--mint);
}
.pricing-save-badge {
  background: var(--gold-glow);
  color: #c97d10;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  font-family: 'IBM Plex Mono', monospace;
  margin-left: 4px;
}

/* ---------- Pricing Cards ---------- */
.price-card {
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.price-card.featured {
  border: 2px solid var(--mint);
  box-shadow: var(--shadow-lg);
}
.price-card.featured:hover {
  box-shadow: var(--shadow-xl), 0 0 30px rgba(10, 211, 168, 0.15);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--mint);
  color: #030c0a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(10, 211, 168, 0.25);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0.6em 0 1.2em;
}
.price-amount b {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 600;
}
.price-amount span {
  color: var(--ink-60);
  font-size: 0.95rem;
  font-weight: 500;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.4;
}
.price-list svg {
  flex: none;
  color: var(--mint-dark);
  margin-top: 2px;
}

/* ---------- Testimonial ---------- */
.quote-card {
  padding: 40px;
}
.quote-card p {
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030c0a;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  gap: 20px;
  transition: color 0.3s;
}
.faq-q:hover {
  color: var(--mint-dark);
}
.faq-q svg {
  transition: transform 0.4s var(--ease);
  flex: none;
  color: var(--mint-dark);
}
.faq-item.open .faq-q {
  color: var(--mint-dark);
}
.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

/* Advanced Height Transition (Grid Rows Technique) */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-a-inner {
  overflow: hidden;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a p {
  padding-top: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Forms & Inputs ---------- */
form label {
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100%;
  padding: 0.95em 1.2em;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: var(--transition);
  outline: none;
}
form input:hover, form textarea:hover {
  border-color: var(--ink-40);
}
form input:focus, form textarea:focus {
  border-color: var(--mint);
  background: #fff;
  box-shadow: 0 0 0 3px var(--mint-glow);
}

/* ---------- Table Styles ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--paper-card);
  box-shadow: var(--shadow-md);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
}
th {
  padding: 20px 24px;
  border-bottom: 1.5px solid var(--border);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-60);
  background: var(--paper-muted);
}
td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
tr:last-child td {
  border-bottom: none;
}
tr {
  transition: background 0.25s;
}
tr:hover td {
  background: rgba(10, 211, 168, 0.02);
}

/* ---------- Blog Cards ---------- */
.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
}
.blog-thumb {
  height: 200px;
  border-radius: 16px;
  margin: -36px -36px 24px;
  background: linear-gradient(135deg, var(--terminal) 0%, #102B24 100%);
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}
.blog-card:hover .blog-thumb {
  transform: scale(1.01);
}
.blog-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mint);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.blog-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-40);
  margin-bottom: 0.6em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-meta span:nth-child(2) {
  opacity: 0.5;
}

/* ---------- Page Hero (Inner pages) ---------- */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -15% -10% auto -10%;
  height: 500px;
  background: radial-gradient(50% 50% at 20% 20%, rgba(10, 211, 168, 0.1), transparent 80%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-40);
  margin-bottom: 1.5em;
  position: relative;
  z-index: 1;
}
.breadcrumb a {
  color: var(--ink-60);
  transition: color 0.25s;
}
.breadcrumb a:hover {
  color: var(--mint-dark);
}

/* ---------- Footer ---------- */
footer {
  background: var(--terminal);
  color: rgba(255, 255, 255, 0.65);
  padding: 100px 0 40px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
footer h4 {
  color: var(--white);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-links a:hover {
  color: var(--mint);
  transform: translateX(2px);
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 15px;
}
.social-row {
  display: flex;
  gap: 12px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
}
.social-row a:hover {
  background: rgba(10, 211, 168, 0.1);
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

/* ---------- WhatsApp Floating Widget ---------- */
.wa-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22D06B 0%, #0FBE5B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px -10px rgba(15, 190, 91, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 22px 40px -8px rgba(15, 190, 91, 0.65);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(15, 190, 91, 0.4);
  animation: wa-ring 2.2s infinite;
}
@keyframes wa-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 640px) {
  .wa-float { right: 20px; bottom: 20px; width: 54px; height: 54px; }
}

/* ---------- Utility Helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.gap-3 { gap: 12px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--mint-glow);
  color: var(--mint-dark);
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-dark .badge {
  background: rgba(10, 211, 168, 0.12);
  color: var(--mint);
}
