/* ================================================================
   SILVER KEYS — MAIN STYLESHEET
   AI-Powered Performance Marketing
   Author: MZZI Digital
   ================================================================ */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
  --silver-light: #C0C0C0;
  --silver-mid: #8A8A8A;
  --silver-dark: #4A4A4A;
  --gold-accent: #C9A96E;
  --gold-bright: #E8C97A;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --bg-primary: #0A0A0A;
  --bg-card: #111111;
  --bg-elevated: #1A1A1A;
  --text-primary: #F0F0F0;
  --text-secondary: #999999;
  --text-muted: #666666;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-gold: rgba(201, 169, 110, 0.3);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 30px rgba(201, 169, 110, 0.3);
  --success: #2ecc71;
  --error: #e74c3c;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom selection color */
::selection {
  background: var(--gold-accent);
  color: var(--bg-primary);
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea {
  outline: none;
  font-family: inherit;
}


/* ============================================
   2. KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 110, 0.15); }
  50%      { box-shadow: 0 0 40px rgba(201, 169, 110, 0.3); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); }
  70% { transform: translate(9%, 4%); }
  90% { transform: translate(-1%, 7%); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes progressBar {
  from { width: 0; }
  to   { width: 100%; }
}


/* ============================================
   3. SCROLL REVEAL SYSTEM
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth),
              transform 0.8s var(--transition-smooth);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--transition-smooth),
              transform 0.8s var(--transition-smooth);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--transition-smooth),
              transform 0.8s var(--transition-smooth);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--transition-smooth),
              transform 0.8s var(--transition-smooth);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

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


/* ============================================
   4. GRAIN OVERLAY (Texture)
   ============================================ */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}


/* ============================================
   5. PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-accent), var(--gold-bright));
  animation: progressBar 1.8s ease forwards;
}


/* ============================================
   6. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-accent);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}


/* ============================================
   7. NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 0.8rem 2rem;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .key-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 14px;
}

/* Logo Images */
.nav-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(1.1);
  transition: filter 0.3s;
}
.nav-logo-img:hover {
  filter: brightness(1.3);
}

.navbar.scrolled .nav-logo-img {
  height: 30px;
}

.preloader-logo-img {
  height: 60px;
  width: auto;
  filter: brightness(1.2);
  animation: fadeIn 0.5s ease;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0.9);
  margin-bottom: 1rem;
}


.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Active nav link indicator */
.nav-links a.active {
  color: var(--gold-accent);
}
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: transparent !important;
  border: 1px solid var(--gold-accent) !important;
  color: var(--gold-accent) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--gold-accent) !important;
  color: var(--bg-primary) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  display: block;
}

/* Hamburger open state → X */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================
   8. HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    ellipse 60% 50% at 50% 30%,
    rgba(201, 169, 110, 0.06) 0%,
    rgba(201, 169, 110, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Subtle grid */
.hero::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: 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 2rem;
  animation: fadeUp 1s ease forwards;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold-accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  animation: fadeUp 1s ease 0.15s forwards;
  opacity: 0;
}

.hero h1 .shimmer {
  background: linear-gradient(
    90deg,
    var(--silver-light) 0%,
    var(--gold-bright) 25%,
    var(--silver-light) 50%,
    var(--gold-accent) 75%,
    var(--silver-light) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-sub {
  max-width: 560px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
  animation: fadeUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.45s forwards;
  opacity: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 1s ease 1.5s forwards, float 3s ease-in-out 2s infinite;
  opacity: 0;
  cursor: pointer;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-accent), transparent);
}


/* ============================================
   9. BUTTONS (Reusable)
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-bright));
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}


/* ============================================
   10. SECTION COMMON
   ============================================ */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  position: relative;
}
.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--border-gold);
}
.section-label::before { right: calc(100% + 12px); }
.section-label::after  { left: calc(100% + 12px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-desc {
  max-width: 560px;
  margin: 1rem auto 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}


/* ============================================
   11. SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid var(--gold-dim);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}


/* ============================================
   12. PROCESS / HOW IT WORKS
   ============================================ */
.process-section {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--border-gold) 20%,
    var(--border-gold) 80%,
    transparent
  );
}

.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--bg-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-accent);
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.process-step:hover .step-number {
  background: var(--gold-accent);
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.3);
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}


/* ============================================
   13. STATS BAND
   ============================================ */
.stats-band {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.04), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold-accent);
  line-height: 1;
}

.stat-item p {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}


/* ============================================
   14. AI CAPABILITIES
   ============================================ */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ai-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.ai-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 169, 110, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.2);
}
.ai-card:hover::after {
  opacity: 1;
}

.ai-card .ai-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.ai-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.ai-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
  position: relative;
  z-index: 1;
}


/* ============================================
   15. FULL SERVICES LIST
   ============================================ */
.services-list-section {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.service-list-item {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.3s;
  cursor: default;
}
.service-list-item:hover {
  color: var(--text-primary);
  padding-left: 2.5rem;
  background: rgba(201, 169, 110, 0.03);
}
.service-list-item .item-arrow {
  color: var(--gold-accent);
  font-size: 0.9rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.service-list-item:hover .item-arrow {
  transform: translateX(4px);
}


/* ============================================
   16. TESTIMONIALS / SOCIAL PROOF
   ============================================ */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 2rem;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg-primary);
}

.testimonial-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Testimonial nav dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.testimonial-dots .dot.active {
  background: var(--gold-accent);
  transform: scale(1.2);
}


/* ============================================
   17. FAQ ACCORDION
   ============================================ */
.faq-section {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}
.faq-question:hover {
  color: var(--gold-accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--gold-accent);
  transition: all 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-accent);
  color: var(--bg-primary);
  border-color: var(--gold-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}


/* ============================================
   18. CONTACT / CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-form {
  max-width: 480px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.form-input::placeholder {
  color: var(--text-muted);
}
.form-input:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08);
}

/* Validation states */
.form-input.valid {
  border-color: var(--success);
}
.form-input.invalid {
  border-color: var(--error);
  animation: shake 0.4s ease;
}

.form-error {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.3rem;
  display: none;
}
.form-group.has-error .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-bright));
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Loading spinner inside button */
.form-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--bg-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}
.form-submit.loading .spinner {
  display: inline-block;
}
.form-submit.loading .btn-text {
  display: none;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fadeUp 0.5s ease;
}
.form-success.show {
  display: block;
}
.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}


/* ============================================
   19. FOOTER
   ============================================ */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.3s;
}
.footer-col a:hover {
  color: var(--gold-accent);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-line {
  width: 40px;
  height: 1px;
  background: var(--gold-accent);
  margin: 0 auto 1rem;
  opacity: 0.4;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ============================================
   20. TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 1rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-accent);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
  animation: slideInRight 0.4s ease;
  max-width: 350px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--error); }

.toast.fade-out {
  animation: fadeIn 0.3s ease reverse forwards;
}


/* ============================================
   21. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 968px) {
  .services-grid,
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .process-track::before { display: none; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links.active a {
    font-size: 1.2rem;
  }
  .hamburger {
    display: flex;
  }

  .services-grid,
  .ai-grid {
    grid-template-columns: 1fr;
  }
  .process-track {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .services-list {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 5rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .testimonial-card {
    flex: 0 0 300px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .testimonial-card {
    flex: 0 0 85vw;
  }
}
