/* ===========================
   AINTAROK — Custom Styles v2
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Mulish:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --primary:       #0d1117;
  --primary-soft:  #161b22;
  --surface:       #1c2333;
  --accent:        #10d9a8;
  --accent-dim:    rgba(16,217,168,0.10);
  --accent-border: rgba(16,217,168,0.28);
  --amber:         #f59e0b;
  --amber-dim:     rgba(245,158,11,0.10);
  --white:         #ffffff;
  --off-white:     #f5f7fa;
  --text:          #e0e6f0;
  --text-muted:    #8b95a6;
  --text-dim:      #4b5563;
  --border:        rgba(255,255,255,0.07);
  --border-light:  #e5e8ef;
  --shadow:        0 4px 24px rgba(0,0,0,0.30);
  --shadow-glow:   0 0 40px rgba(16,217,168,0.18);
  --radius:        6px;
  --radius-lg:     14px;
  --radius-xl:     22px;
  --transition:    0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--primary);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { font-size: 17px; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ---- UTILITY ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.divider-accent {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  border-radius: 2px;
  margin: 16px 0 28px;
}
.divider-accent.mx-auto { margin-left: auto; margin-right: auto; }

section { padding: 90px 0; }

/* ---- BUTTONS ---- */
.btn-accent {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-accent:hover {
  background: #12f0bc;
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(16,217,168,0.40);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ---- NAVBAR ---- */
#mainNavbar {
  background: transparent;
  padding: 20px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
}
#mainNavbar.scrolled {
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.navbar-brand {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--white) !important;
  letter-spacing: 0.02em;
}
.navbar-brand span { color: var(--accent); }
.nav-link {
  color: rgba(255,255,255,0.60) !important;
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 6px 14px !important;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.navbar-toggler { border-color: rgba(255,255,255,0.25); }
.navbar-toggler-icon { filter: brightness(0) invert(1); }

/* Mobile dropdown — solid background */
@media (max-width: 991px) {
  #mainNavbar {
    background: rgba(13,17,23,0.98);
    backdrop-filter: blur(14px);
  }
  .navbar-collapse {
    background: #0d1117;
    border-top: 1px solid rgba(16,217,168,0.18);
    margin-top: 12px;
    padding: 16px 8px 20px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .nav-link {
    padding: 10px 16px !important;
    border-radius: var(--radius);
    font-size: 13px;
  }
  .nav-link:hover {
    background: var(--accent-dim);
  }
  .navbar-nav .nav-item:last-child {
    margin-top: 8px;
    padding: 0 8px;
  }
  .navbar-nav .btn-accent {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

/* ---- HERO ---- */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover; background-position: center;
  opacity: 0.08;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,17,23,0.99) 55%, rgba(13,17,23,0.70) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16,217,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,217,168,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(16,217,168,0.10) 0%, transparent 65%);
  top: -150px; right: -150px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 40px;
  margin-bottom: 28px;
}
.hero-title { color: var(--white); margin-bottom: 24px; }
.hero-title em { color: var(--accent); font-style: normal; }
.hero-desc {
  color: rgba(255,255,255,0.50);
  font-size: 18px; max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { margin-top: 70px; }
.hero-stat-item { text-align: center; }
.hero-stat-item .number {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.hero-stat-item .label {
  font-size: 11px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35); margin-top: 6px;
  text-transform: uppercase;
}
.hero-stat-divider { width: 1px; background: var(--border); margin: 0 auto; }

/* ---- ABOUT (LIGHT) ---- */
.about-section { background: var(--off-white); }
.about-section h2,
.about-section h5 { color: #0d1117; }
.about-section > .container > .row > .col-lg-7 > p { color: #4b5563; }
.about-section .about-feature {
  background: #ffffff;
  border-color: #e5e8ef;
}
.about-section .about-feature:hover { border-color: var(--accent); }
.about-section .about-feature h5 { color: #0d1117; }
.about-section .about-feature p { color: #6b7280; }
.about-section .section-label { color: var(--accent); }
.about-section .section-label::before { background: var(--accent); }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%; height: 460px; object-fit: cover;
}
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,17,23,0.88) 100%);
}
.about-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.about-img-caption .cap-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.about-img-caption .cap-text {
  font-size: 13px; color: rgba(255,255,255,0.60);
  font-weight: 500; letter-spacing: 0.06em;
}
.about-feature {
  position: relative;
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 20px 20px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.about-feature:hover { border-color: var(--accent-border); }
.about-feature-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px;
}
.about-feature h5 { font-size: 16px; color: var(--white); margin-bottom: 4px; }
.about-feature p { font-size: 15px; margin: 0; }

/* ---- SERVICES ---- */
.services-section { background: var(--primary); }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(16,217,168,0.06), transparent 60%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 8px 40px rgba(16,217,168,0.10);
  transform: translateY(-4px);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 54px; height: 54px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 20px;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { font-size: 15px; margin: 0; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  margin-top: 22px;
  transition: var(--transition);
}
.service-card:hover .service-arrow { gap: 10px; }

/* ---- AI TECH ---- */
.ai-section { background: var(--primary-soft); }
.ai-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ai-metric {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: var(--transition);
}
.ai-metric:hover { border-color: var(--accent-border); }
.ai-metric-icon {
  width: 38px; height: 38px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px; margin-bottom: 14px;
}
.ai-metric .val {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1;
}
.ai-metric .desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.ai-metric.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(16,217,168,0.08), rgba(245,158,11,0.06));
  border-color: var(--accent-border);
  display: flex; align-items: center; gap: 20px;
}
.ai-metric.featured .val { font-size: 2.2rem; color: var(--accent); }

.ai-feature {
  display: flex; gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.ai-feature:last-child { border-bottom: none; }
.ai-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  color: var(--accent-border); line-height: 1; min-width: 36px;
}
.ai-feature h4 { font-size: 16px; color: var(--white); margin-bottom: 4px; }
.ai-feature p { font-size: 15px; margin: 0; }

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(135deg, var(--accent) 0%, #0ec4a0 50%, var(--amber) 100%);
}
.stat-item { text-align: center; padding: 28px 16px; }
.stat-item .stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.stat-item .stat-label {
  font-size: 12px; font-weight: 700;
  color: rgba(13,17,23,0.60); margin-top: 8px;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.stat-divider { width: 1px; background: rgba(13,17,23,0.15); }

/* ---- TEAM ---- */
.team-section { background: var(--primary); }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 8px 40px rgba(16,217,168,0.10);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px; height: 80px;
  background: var(--accent-dim);
  border: 2px solid var(--accent-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px; color: var(--accent);
  transition: var(--transition);
}
.team-card:hover .team-avatar {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.team-card h4 { margin-bottom: 4px; font-size: 17px; }
.team-role {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.team-card p { font-size: 14px; margin-top: 12px; line-height: 1.7; }
.team-socials { margin-top: 16px; display: flex; justify-content: center; gap: 10px; }
.team-socials a {
  width: 34px; height: 34px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px;
  transition: var(--transition);
}
.team-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ---- TESTIMONIALS (LIGHT) ---- */
.testimonials-section { background: #f0f4f8; }
.testimonials-section h2 { color: #0d1117; }
.testimonials-section .section-label { color: var(--accent); }
.testimonials-section .section-label::before { background: var(--accent); }
.testimonials-section > .container > .row.mb-5 p { color: #6b7280; }
.testi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px; height: 100%;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.testi-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(16,217,168,0.12); }
.testi-quote-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px;
  margin-bottom: 20px;
}
.testi-text {
  font-size: 16px; color: #374151;
  font-style: italic; line-height: 1.85; margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px; min-width: 46px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px;
}
.testi-name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #0d1117; }
.testi-company { font-size: 13px; color: #9ca3af; }
.testi-stars { color: var(--amber); font-size: 13px; margin-bottom: 6px; }

/* ---- NEWS (LIGHT) ---- */
.news-section { background: var(--off-white); }
.news-section h2 { color: #0d1117; }
.news-section .section-label { color: var(--accent); }
.news-section .section-label::before { background: var(--accent); }
.news-section > .container > .row.mb-5 p { color: #6b7280; }
.news-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden; height: 100%;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.news-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16,217,168,0.12);
}
.news-icon-header {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--accent);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0fdf4 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative; overflow: hidden;
}
.news-icon-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16,217,168,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,217,168,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.news-body { padding: 24px; }
.news-cat {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.news-body h4 { font-size: 1.05rem; margin-bottom: 10px; color: #0d1117; }
.news-body p { font-size: 14px; margin-bottom: 16px; color: #6b7280; }
.news-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid #e5e7eb;
  font-size: 13px; color: #9ca3af;
}
.news-footer a { color: var(--accent); font-weight: 600; }

/* ---- CTA CONTACT ---- */
.contact-cta { background: var(--primary-soft); }
.cta-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.cta-form-wrap label {
  color: var(--text-muted); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cta-form-wrap .form-control,
.cta-form-wrap .form-select {
  background: var(--primary);
  border: 1px solid var(--border);
  color: var(--white); font-size: 16px;
  border-radius: var(--radius); padding: 12px 16px;
}
.cta-form-wrap .form-control::placeholder { color: rgba(255,255,255,0.22); }
.cta-form-wrap .form-control:focus,
.cta-form-wrap .form-select:focus {
  background: var(--primary);
  border-color: var(--accent); color: var(--white);
  box-shadow: 0 0 0 3px rgba(16,217,168,0.14);
}
.cta-form-wrap .form-select option { background: var(--primary-soft); }

/* ---- FOOTER ---- */
.site-footer { background: #070b10; padding: 70px 0 0; }
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--white);
}
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 14px; color: var(--text-muted); max-width: 270px; margin: 14px 0 22px; line-height: 1.75; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-title {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-size: 14px; color: var(--text-muted);
}
.footer-contact-item i { color: var(--accent); width: 16px; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0; margin-top: 50px;
  font-size: 13px; color: var(--text-muted);
}

/* ---- COOKIE BANNER ---- */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary-soft);
  border-top: 1px solid var(--accent-border);
  padding: 20px 0; z-index: 9999;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
#cookieBanner.show { transform: translateY(0); }
#cookieBanner p { color: var(--text-muted); font-size: 15px; margin: 0; }
#cookieBanner a { color: var(--accent); }
#cookieBanner .btn-accept {
  background: var(--accent); color: var(--primary);
  border: none; padding: 10px 26px; border-radius: var(--radius);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
#cookieBanner .btn-decline {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); padding: 10px 20px;
  border-radius: var(--radius); font-size: 14px; cursor: pointer;
}

/* ---- SUCCESS POPUP ---- */
.success-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.80); backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.success-popup-overlay.active { opacity: 1; pointer-events: all; }
.success-popup {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px; max-width: 440px; width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-glow);
}
.success-popup-overlay.active .success-popup { transform: scale(1) translateY(0); }
.popup-icon {
  width: 72px; height: 72px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 28px; color: var(--accent);
}
.success-popup h3 { margin-bottom: 10px; }
.success-popup p { font-size: 16px; margin-bottom: 28px; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--primary-soft);
  padding: 130px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.breadcrumb-item { font-size: 13px; color: var(--text-muted); }
.breadcrumb-item a { color: var(--accent); }
.breadcrumb-item.active { color: rgba(255,255,255,0.65); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-dim); }

/* ---- CONTACT PAGE ---- */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px; height: 100%;
}
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px;
}
.contact-info-item h5 { color: var(--white); font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); font-size: 14px; margin: 0; }

.contact-form-card {
  background: var(--off-white);
  border-radius: var(--radius-xl); padding: 44px;
}
.contact-form-card h3 { color: var(--primary); }
.contact-form-card .section-label { color: #0891b2; }
.contact-form-card .section-label::before { background: #0891b2; }
.contact-form-card p { color: #6b7280; }
.contact-form-card label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #374151; }
.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1px solid #e5e7eb; border-radius: var(--radius);
  font-size: 16px; padding: 12px 16px; color: #111827; background: white;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,217,168,0.15);
}

/* ---- POLICY PAGES ---- */
.policy-content { background: var(--off-white); padding: 70px 0; }
.policy-content h2 { font-size: 1.6rem; margin-top: 40px; margin-bottom: 14px; color: var(--primary); }
.policy-content h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 10px; color: var(--primary); }
.policy-content p, .policy-content li { font-size: 16px; color: #374151; line-height: 1.85; }
.policy-content ul { padding-left: 20px; }
.policy-content li { margin-bottom: 8px; }
.policy-content a { color: #0891b2; }
.policy-update {
  background: #ecfdf5; border-left: 3px solid var(--accent);
  padding: 14px 20px; border-radius: 0 6px 6px 0;
  margin-bottom: 34px; font-size: 15px; color: #374151;
}

/* ---- RESPONSIVE ---- */
html { overflow-x: hidden; }
*, *::before, *::after { min-width: 0; }

/* Fix Bootstrap negative margins on mobile causing overflow */
@media (max-width: 575px) {
  .row { --bs-gutter-x: 1rem; }
  .container, .container-fluid { padding-left: 16px; padding-right: 16px; }
  .g-5 { --bs-gutter-x: 1rem; --bs-gutter-y: 1.5rem; }
}

@media (max-width: 991px) {
  section { padding: 70px 0; }
  .ai-visual { grid-template-columns: 1fr; }
  .ai-metric.featured { grid-column: span 1; display: block; }
  .contact-form-card { padding: 32px 24px; }
  .contact-info-card { padding: 32px 24px; }
}

@media (max-width: 767px) {
  section { padding: 56px 0; }
  .cta-form-wrap { padding: 24px 16px; }
  .contact-form-card { padding: 24px 16px; }
  .contact-info-card { padding: 24px 16px; }
  .about-img-wrap img { height: 280px; }
  .form-control, .form-select, textarea { max-width: 100%; width: 100%; }
  .accordion-button { font-size: 15px !important; padding: 14px 16px; word-break: break-word; }
  .accordion-body { padding: 14px 16px; }
  .hero-stat-item .number { font-size: 1.8rem; }
  .news-icon-header { height: 120px; font-size: 38px; }
  .ai-visual { padding: 24px 16px; gap: 10px; }
  .ai-metric { padding: 16px 14px; }
  .ai-metric .val { font-size: 1.5rem; }
  .page-hero { padding: 100px 0 40px; }
  .page-hero h1 { font-size: 1.7rem; }
  .site-footer { padding: 50px 0 0; }
  #cookieBanner p { font-size: 14px; }
  .success-popup { padding: 36px 24px; }
}
