/*
TemplateMo 622 Clearwave
https://templatemo.com/tm-622-clearwave
Free for personal and commercial use
*/

    /* ── TOKENS ── *//*
:root {
      --bg:           #E8F4F2;
      --bg-alt:       #DFF0EE;
      --surface:      #F4FAFA;
      --surface-2:    #FFFFFF;
      --accent:       #1A7A6E;
      --accent-mid:   #2A9D8F;
      --accent-light: #5BBFB5;
      --accent-ghost: rgba(26,122,110,0.08);
      --accent-border:rgba(26,122,110,0.15);
      --text-1:       #0D1E1C;
      --text-2:       #3A5C58;
      --text-3:       #6B8C88;
      --border:       rgba(13,30,28,0.08);
      --shadow-sm:    0 2px 12px rgba(13,30,28,0.06);
      --shadow-md:    0 8px 32px rgba(13,30,28,0.10);
      --shadow-lg:    0 24px 64px rgba(13,30,28,0.13);
      --silk:         cubic-bezier(0.16, 1, 0.3, 1);
      --silk-dur:     0.8s;
      --radius:       16px;
      --radius-lg:    24px;
      --scrolled:rgba(232,244,242,0.92);
    }
    [data-theme="dark"] {
      --bg:           #0B0F17;
      --bg-alt:       #111827;
      --surface:      #1F2937;
      --surface-2:    #374151;
      --accent:       #10B981;
      --accent-mid:   #34D399;
      --accent-light: #6EE7B7;
      --accent-ghost: rgba(16, 185, 129, 0.12);
      --accent-border:rgba(16, 185, 129, 0.25);
      --text-1:       #F9FAFB;
      --text-2:       #D1D5DB;
      --text-3:       #9CA3AF;
      --border:       rgba(255, 255, 255, 0.10);
      --shadow-sm:    0 2px 12px rgba(0, 0, 0, 0.30);
      --shadow-md:    0 8px 32px rgba(0, 0, 0, 0.45);
      --shadow-lg:    0 24px 64px rgba(0, 0, 0, 0.60);
        --scrolled:rgba(15,23,42,0.92);
            --footer-bg:       #0F172A; 

    }
    */
    
    :root {
  --bg:           #EBF1F5;
  --bg-alt:       #E0E8EF;
  --surface:      #F5F8FA;
  --surface-2:    #FFFFFF;
  --accent:       #1E40AF; 
  --accent-mid:   #2563EB;
  --accent-light: #60A5FA; 
  --accent-ghost: rgba(30, 64, 175, 0.08);
  --accent-border:rgba(30, 64, 175, 0.15);
  --text-1:       #0F172A; 
    --text-1-1:       #0F172A;

  --text-2:       #334155;
  --text-3:       #64748B;
  --border:       rgba(15, 23, 42, 0.08);
  --shadow-sm:    0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-md:    0 8px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg:    0 24px 64px rgba(15, 23, 42, 0.13);
  --silk:         cubic-bezier(0.16, 1, 0.3, 1);
  --silk-dur:     0.8s;
  --radius:       16px;
  --radius-lg:    24px;

  --desktop-height: 430px;
  --gap1: 360px;
  --gap2: 620px;
  --gap-hide: 900px;
              --footer-bg:       #0F172A; 
}

    /* 2. Dark Mode Overrides */
    [data-theme="dark"] {
  --bg:           #0B0F17; 
  --bg-alt:       #111827; 
  --surface:      #1E293B; 
  --surface-2:    #334155; 

  
  --accent:       #3B82F6;
  --accent-mid:   #60A5FA; 
  --accent-light: #93C5FD; 
  --accent-ghost: rgba(59, 130, 246, 0.12);
  --accent-border:rgba(96, 165, 250, 0.25);

  --text-1:       #F8FAFC; 
  --text-1-1:     #F8FAFC;
  --text-2:       #CBD5E1; 
  --text-3:       #94A3B8; 

  --border:       rgba(255, 255, 255, 0.08);
  --shadow-sm:    0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md:    0 8px 32px rgba(0, 0, 0, 0.50);
  --shadow-lg:    0 24px 64px rgba(0, 0, 0, 0.65);

  --silk:         cubic-bezier(0.16, 1, 0.3, 1);
  --silk-dur:     0.8s;
  --radius:       16px;
  --radius-lg:    24px;

  --desktop-height: 430px;
  --gap1: 360px;
  --gap2: 620px;
  --gap-hide: 900px;

  --footer-bg:    #030712;
    }
    

/* Button styling */
#theme-toggle {
  background-color: var(--surface);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
#theme-toggle:hover {
  background-color: var(--surface-2);
  color: var(--accent);
}

/* Icon visibility logic */
#theme-toggle .icon-sun { display: none; }
#theme-toggle .icon-moon { display: block; }

/* Swap icons when dark mode is active */
[data-theme="dark"] #theme-toggle .icon-sun { display: block; }
[data-theme="dark"] #theme-toggle .icon-moon { display: none; }
    /* ── RESET ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text-1);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }

    /* ── SUBTLE NOISE TEXTURE ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.022;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      background-size: 128px 128px;
    }

    /* ── UTILITY ── */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
    .section-label {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--accent);
      background: var(--accent-ghost);
      border: 1px solid var(--accent-border);
      padding: 6px 14px; border-radius: 100px;
      margin-bottom: 20px;
    }
    .section-label::before {
      content: ''; width: 6px; height: 6px;
      background: var(--accent); border-radius: 50%;
    }
    .section-title {
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700; letter-spacing: -0.03em;
      line-height: 1.15; color: var(--text-1);
    }
    .section-title em {
      font-style: italic;
      font-family: 'Playfair Display', serif;
      color: var(--accent);
    }
    .section-sub {
      font-size: 1.0625rem; line-height: 1.75;
      color: var(--text-2); max-width: 520px; margin-top: 16px;
    }

    /* ── SCROLL REVEAL ── */
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--silk), transform 0.7s var(--silk); }
    .reveal.visible { opacity: 1; transform: none; }
    .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; }

    /* ══════════════════════════════════════════
       1. NAV
    ══════════════════════════════════════════ */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      padding: 20px 0;
      transition: padding var(--silk-dur) var(--silk), background var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
    }
    .nav.scrolled {
      padding: 12px 0;
      background:var(--scrolled);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 var(--border);
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      max-width: 1160px; margin: 0 auto; padding: 0 32px;
    }
    .logo-box{
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .nav-logo {
      font-size: 1.25rem; font-weight: 700; letter-spacing: -0.04em;
      color: var(--text-1);
    }
    .nav-logo span { color: var(--accent); }
    .nav-links {
      display: flex; align-items: center; gap: 36px;
    }
    .nav-links a {
      font-size: 0.9rem; font-weight: 500; color: var(--text-2);
      position: relative; padding: 7px 16px; border-radius: 100px;
      background: transparent;
      box-shadow: inset 0 0 0 0px var(--accent-border);
      transition: color 0.4s var(--silk), background 0.4s var(--silk), box-shadow 0.4s var(--silk);
    }
    .nav-links a:hover {
      color: var(--accent);
      background: var(--accent-ghost);
      box-shadow: inset 0 0 0 1px var(--accent-border);
    }
    .nav-cta {
      display: flex; align-items: center; gap: 12px;
    }
    .btn-ghost {
      font-size: 0.875rem; font-weight: 500; color: var(--text-2);
      padding: 9px 20px; border-radius: 100px;
      transition: color 0.3s, background 0.3s;
    }
    .btn-ghost:hover { color: var(--accent); background: var(--accent-ghost); }
    .btn-primary {
      font-size: 0.875rem; font-weight: 600; color: #fff;
      background: var(--accent); padding: 10px 22px; border-radius: 100px;
      transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
      box-shadow: 0 4px 16px rgba(26,122,110,0.25);
    }
    .btn-primary:hover {
      background: var(--accent-mid);
      transform: scale(1.02);
      box-shadow: 0 6px 24px rgba(26,122,110,0.35);
    }

    /* Hamburger */
    .nav-hamburger {
      display: none; flex-direction: column; gap: 5px;
      width: 28px; padding: 4px; cursor: pointer;
    }
    .nav-hamburger span {
      display: block; height: 2px; background: var(--text-1);
      border-radius: 2px; transition: all 0.4s var(--silk);
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile Menu */
    .mobile-menu {
      position: fixed; inset: 0; z-index: 999;
      background: var(--bg);
      display: flex; flex-direction: column; align-items: center;
      justify-content: flex-start;
      gap: 0;
      opacity: 0; pointer-events: none;
      transition: opacity 0.4s var(--silk);
      overflow-y: auto;
      padding: 100px 32px 100px;
      -webkit-overflow-scrolling: touch;
    }
    .mobile-menu.open { opacity: 1; pointer-events: all; }
    .mobile-menu a {
      font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em;
      color: var(--text-1); padding: 14px 0; width: 100%; text-align: center;
      border-bottom: 1px solid var(--border);
      opacity: 0; transform: translateY(16px);
      transition: opacity 0.5s var(--silk), transform 0.5s var(--silk), color 0.3s;
    }
    .mobile-menu a:first-child { border-top: 1px solid var(--border); }
    .mobile-menu.open a { opacity: 1; transform: none; }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
    .mobile-menu a:nth-child(2) { transition-delay: 0.10s; }
    .mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
    .mobile-menu a:nth-child(4) { transition-delay: 0.20s; }
    .mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
    .mobile-menu a:nth-child(6) { transition-delay: 0.30s; }
    .mobile-menu .mobile-cta {
      margin-top: 28px;
      font-size: 0.9375rem; font-weight: 600;
      background: var(--accent); color: #fff;
      padding: 14px 40px; border-radius: 100px;
      border: none;
      opacity: 0; transform: translateY(16px);
      transition: opacity 0.5s var(--silk) 0.35s, transform 0.5s var(--silk) 0.35s, background 0.3s;
    }
    .mobile-menu.open .mobile-cta { opacity: 1; transform: none; }
    .mobile-menu .mobile-cta:hover { background: var(--accent-mid); }
/* ══════════════════════════════════════════
   CANVAS BACKGROUND STYLES
══════════════════════════════════════════ */
#hero-tech-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Allows clicks to pass through to your buttons */
}

/* Ensure the hero container and interactive elements sit above the canvas */
.hero .container {
  position: relative;
  z-index: 2;
}

    /* ══════════════════════════════════════════
       2. HERO
    ══════════════════════════════════════════ */
    
    .hero {
      min-height: 100vh;
      display: flex; align-items: center;
      padding: 120px 0 80px;
      position: relative; overflow: hidden;
    }
    /* Decorative background circles */
    .hero::before {
      content: '';
      position: absolute; top: -10%; right: -5%;
      width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
      background: radial-gradient(ellipse at center, rgba(91,191,181,0.18) 0%, rgba(42,157,143,0.06) 50%, transparent 75%);
      border-radius: 50%;
      pointer-events: none;
    }
    .hero::after {
      content: '';
      position: absolute; bottom: -15%; left: -8%;
      width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
      background: radial-gradient(ellipse at center, rgba(26,122,110,0.10) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    .hero-inner {
      position: relative; z-index: 1;
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center; gap: 64px;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--surface-2); border: 1px solid var(--accent-border);
      border-radius: 100px; padding: 6px 16px 6px 8px;
      margin-bottom: 28px; box-shadow: var(--shadow-sm);
    }
    .hero-badge-dot {
      width: 24px; height: 24px; border-radius: 50%;
      background: var(--accent); display: flex; align-items: center; justify-content: center;
      font-size: 11px; color: #fff; font-weight: 700; flex-shrink: 0;
    }
    .hero-badge span { font-size: 0.8125rem; font-weight: 500; color: var(--text-2); }
    .hero-badge strong { color: var(--accent); }
    .hero-title {
      font-size: clamp(2.6rem, 5vw, 4.2rem);
      font-weight: 700; letter-spacing: -0.04em; line-height: 1.1;
      margin-bottom: 24px;
    }
    .hero-title em {
      font-style: italic;
      font-family: 'Playfair Display', serif;
      color: var(--accent);
    }
    .hero-sub {
      font-size: 1.0625rem; line-height: 1.75;
      color: var(--text-2); max-width: 480px; margin-bottom: 40px;
    }
    .hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
    .btn-primary-lg {
      font-size: 0.9375rem; font-weight: 600; color: #fff;
      background: var(--accent); padding: 14px 32px; border-radius: 100px;
      display: flex; align-items: center; gap: 10px;
      transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
      box-shadow: 0 6px 24px rgba(26,122,110,0.30);
    }
    .btn-primary-lg:hover { background: var(--accent-mid); transform: scale(1.02); box-shadow: 0 8px 32px rgba(26,122,110,0.40); }
    .btn-primary-lg .btn-arrow { transition: transform 0.4s var(--silk); }
    .btn-primary-lg:hover .btn-arrow { transform: translateX(4px); }
    .btn-outline-lg {
      font-size: 0.9375rem; font-weight: 500; color: var(--accent);
      border: 1.5px solid var(--accent-border); padding: 13px 28px; border-radius: 100px;
      display: flex; align-items: center; gap: 8px;
      transition: background 0.4s var(--silk), border-color 0.4s var(--silk), transform var(--silk-dur) var(--silk);
    }
    .btn-outline-lg:hover { background: var(--accent-ghost); border-color: var(--accent); transform: scale(1.02); }

    /* Trust badges */
    .hero-trust {
      display: flex; align-items: center; gap: 20px;
      margin-top: 48px; flex-wrap: wrap;
    }
    .trust-item {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.8125rem; color: var(--text-3); font-weight: 500;
    }
    .trust-item svg { color: var(--accent); flex-shrink: 0; }
    .trust-divider { width: 1px; height: 20px; background: var(--border); }

    /* Hero visual */
    .hero-visual {
      position: relative; display: flex; justify-content: center; align-items: center;
    }
    .hero-dashboard {
      width: 100%; max-width: 520px;
      background: var(--surface-2);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      transition: transform var(--silk-dur) var(--silk);
    }
    .hero-dashboard:hover { transform: scale(1.01); }
    .dashboard-bar {
      background: var(--bg-alt); padding: 12px 16px;
      display: flex; align-items: center; gap: 8px;
      border-bottom: 1px solid var(--border);
    }
    .db-dot { width: 10px; height: 10px; border-radius: 50%; }
    .db-dot:nth-child(1) { background: #FF5F57; }
    .db-dot:nth-child(2) { background: #FFBD2E; }
    .db-dot:nth-child(3) { background: #28CA41; }
    .dashboard-body { padding: 24px; }
    .db-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .db-title { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
    .db-tag {
      font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--accent);
      background: var(--accent-ghost); border: 1px solid var(--accent-border);
      padding: 3px 10px; border-radius: 100px;
    }
    .db-chart {
      height: 80px; display: flex; align-items: flex-end; gap: 6px; margin-bottom: 20px;
    }
    .db-bar {
      flex: 1; border-radius: 4px 4px 0 0;
      background: var(--accent-ghost); border: 1px solid var(--accent-border);
      transition: height 1s var(--silk);
    }
    .db-bar.active { background: var(--accent); border-color: var(--accent); }
    .db-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
    .db-stat {
      background: var(--bg); border-radius: var(--radius);
      padding: 14px; border: 1px solid var(--border);
    }
    .db-stat-val { font-size: 1.25rem; font-weight: 700; color: var(--text-1); letter-spacing: -0.03em; }
    .db-stat-label { font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }
    .db-stat-change { font-size: 0.72rem; font-weight: 600; color: var(--accent); margin-top: 4px; }

    /* Floating badge on hero visual */
    .hero-float-badge {
      position: absolute; bottom: -16px; left: -24px;
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 12px 16px;
      box-shadow: var(--shadow-md);
      display: flex; align-items: center; gap: 10px;
      animation: floatBadge 4s ease-in-out infinite;
    }
    @keyframes floatBadge {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }
    .float-badge-icon {
      width: 36px; height: 36px; border-radius: 10px;
      background: var(--accent); display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 16px; flex-shrink: 0;
    }
    .float-badge-text { font-size: 0.75rem; }
    .float-badge-text strong { display: block; font-weight: 700; color: var(--text-1); }
    .float-badge-text span { color: var(--text-3); }

    .hero-float-badge-2 {
      position: absolute; top: 20px; right: -20px;
      background: var(--accent); border-radius: var(--radius);
      padding: 10px 16px; box-shadow: 0 8px 24px rgba(26,122,110,0.35);
      animation: floatBadge2 4s ease-in-out 2s infinite;
    }
    @keyframes floatBadge2 {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }
    .float-badge-2-val { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
    .float-badge-2-label { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-top: 2px; }
/* ══════════════════════════════════════════
   3. LOGO TICKER (Stacked Layout)
══════════════════════════════════════════ */
.ticker-section {
  padding: 48px 0; 
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden; 
  position: relative;
}

.ticker-label {
  text-align: center; 
  font-size: 0.75rem; 
  letter-spacing: 0.12em;
  text-transform: uppercase; 
  color: var(--text-3); 
  font-weight: 600;
  margin-bottom: 28px;
}

.ticker-track-wrap { overflow: hidden; }

.ticker-track {
  display: flex; 
  align-items: center; 
  gap: 36px;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Card Container (Side-by-side: Logo Left | Details Right) */
.ticker-item {
  display: flex; 
  align-items: center; 
  gap: 16px;
  padding: 10px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  white-space: nowrap; 
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--silk-dur) var(--silk), border-color 0.3s ease, box-shadow 0.3s ease;
}

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

/* Left Column: Big Logo (Takes full vertical height) */
.ticker-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

.ticker-logo-link img {
  height: 48px; /* Taller logo spanning title + socials */
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

/* Right Column: Stacked Title + Social Icons */
.ticker-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* Title on Top */
.ticker-brand-title {
  font-size: 0.95rem; 
  font-weight: 700; 
  letter-spacing: -0.02em;
  color: var(--text-1);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.ticker-brand-title:hover {
  color: var(--accent-mid);
}
/* Social Icons Container */
.ticker-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

/* Individual Icon Button */
.ticker-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--text-1); /* High contrast color */
  background: var(--surface); /* Solid crisp background */
  border: 1px solid var(--border); /* Distinct outline */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

/* SVG Line Weight & Sizing */
.ticker-social-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8px; /* Stronger lines */
  transition: transform 0.25s ease;
}

/* Hover States (Fills with brand color and brightens) */
.ticker-social-btn:hover {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ticker-social-btn:hover svg {
  stroke-width: 2.2px;
}

/* Brand Colors on Hover */
.ticker-social-btn.fb:hover { background: #1877F2; }
.ticker-social-btn.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ticker-social-btn.li:hover { background: #0A66C2; }
/* Separator Dot between Cards */
.ticker-dot {
  width: 6px; 
  height: 6px; 
  border-radius: 50%;
  background: var(--accent-light); 
  flex-shrink: 0; 
  opacity: 0.4;
}/* ══════════════════════════════════════════
   VIDEO PLAYER - WINDOWS 11 STYLE
══════════════════════════════════════════ */

/* Modal Overlay Backdrop */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 12, 22, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 9999;
    
    /* Start hidden */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* PC Window Container (Bottom-to-Top Animation) */
.video-modal-container {
    position: relative;
    width: min(1180px, 92vw);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;

    /* Start offscreen at the bottom */
    transform: translateY(100vh) scale(0.9);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

/* Screen Wrapper */
.video-screen {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #000;
}

.video-screen video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Close Button */
.video-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.25s ease;
}

.video-modal-close:hover {
    background: #e81123;
}

/* ==========================================
   ACTIVE STATE (Triggered via JS)
========================================== */

.video-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Slides up to center screen */
.video-modal-overlay.is-active .video-modal-container {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive */
@media(max-width: 900px) {
    .video-modal-container {
        width: 96vw;
        border-radius: 14px;
    }
}
    /* ══════════════════════════════════════════
       4. FEATURES
    ══════════════════════════════════════════ */
    .features-section { padding: 120px 0; }
    .features-header { text-align: center; margin-bottom: 80px; }
    .features-header .section-sub { margin: 16px auto 0; text-align: center; }

    .feature-row {
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center; gap: 80px; margin-bottom: 100px;
    }
    .feature-row:last-child { margin-bottom: 0; }
    .feature-row.reverse { direction: rtl; }
    .feature-row.reverse > * { direction: ltr; }

    .feature-content {}
    .feature-number {
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--accent-light);
      margin-bottom: 16px;
    }
    .feature-title {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 700; letter-spacing: -0.03em; line-height: 1.2;
      margin-bottom: 16px;
    }
    .feature-desc {
      font-size: 1rem; line-height: 1.75; color: var(--text-2); margin-bottom: 28px;
    }
    .feature-checklist { display: flex; flex-direction: column; gap: 10px; }
    .feature-check {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 0.9rem; color: var(--text-2);
    }
    .check-icon {
      width: 20px; height: 20px; border-radius: 50%;
      background: var(--accent-ghost); border: 1px solid var(--accent-border);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 1px;
      color: var(--accent); font-size: 11px; font-weight: 700;
    }

    .feature-visual {
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
      overflow: hidden;
      aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      position: relative;
      transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
    }
    .feature-visual:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }
    .feature-visual-inner {
      width: 100%; display: flex; flex-direction: column; gap: 12px;
    }
    .fv-row { display: flex; gap: 12px; }
    .fv-card {
      flex: 1; background: var(--surface-2); border-radius: var(--radius);
      border: 1px solid var(--border); padding: 16px;
      box-shadow: var(--shadow-sm);
    }
    .fv-card-label { font-size: 0.72rem; color: var(--text-3); font-weight: 500; margin-bottom: 6px; }
    .fv-card-val { font-size: 1.3rem; font-weight: 700; color: var(--text-1); letter-spacing: -0.03em; }
    .fv-card-bar {
      height: 4px; border-radius: 2px; margin-top: 10px;
      background: var(--bg); overflow: hidden;
    }
    .fv-card-bar-fill { height: 100%; border-radius: 2px; background: var(--accent); }
    .fv-wide { flex: 2; }
    .fv-list { display: flex; flex-direction: column; gap: 8px; }
    .fv-list-item {
      display: flex; align-items: center; justify-content: space-between;
      padding: 8px 12px; background: var(--bg); border-radius: 8px;
      font-size: 0.8rem;
    }
    .fv-list-name { color: var(--text-2); font-weight: 500; }
    .fv-pill {
      font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 100px;
    }
    .fv-pill.green { background: rgba(26,122,110,0.12); color: var(--accent); }
    .fv-pill.blue  { background: rgba(42,157,143,0.12); color: var(--accent-mid); }
    .fv-pill.dim   { background: var(--border); color: var(--text-3); }

 /* =====================================================
   CLEAN HIGH-TECH 3D SHOWCASE CAROUSEL (NO DESKTOP BORDERS)
===================================================== */

.carousel-section {
  display: block;
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.carousel-header {
  text-align: center;
  margin-bottom: 20px;
}

.carousel-header .section-sub {
  margin: 16px auto 0;
  text-align: center;
  max-width: 620px;
  color: var(--text-2);
}

/* ── 3D STAGE ── */
.carousel-stage {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* ── CLEAN SHOWCASE CARDS ── */
.showcase-card {
  position: absolute;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 2.1 / 1; /* Ideal aspect ratio for PC + Mobile composite graphics */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.65s var(--silk), opacity 0.65s var(--silk), filter 0.65s var(--silk);
  cursor: pointer;
  will-change: transform, opacity;
}

/* 3D Transform Positions */
.showcase-card[data-pos="center"] {
  z-index: 10;
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
  opacity: 1;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.showcase-card[data-pos="left1"] {
  z-index: 8;
  transform: translateX(-48%) translateZ(-160px) rotateY(18deg) scale(0.82);
  opacity: 0.7;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.showcase-card[data-pos="right1"] {
  z-index: 8;
  transform: translateX(48%) translateZ(-160px) rotateY(-18deg) scale(0.82);
  opacity: 0.7;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.showcase-card[data-pos="left2"] {
  z-index: 6;
  transform: translateX(-82%) translateZ(-320px) rotateY(30deg) scale(0.68);
  opacity: 0.35;
}

.showcase-card[data-pos="right2"] {
  z-index: 6;
  transform: translateX(82%) translateZ(-320px) rotateY(-30deg) scale(0.68);
  opacity: 0.35;
}

.showcase-card[data-pos="hidden-left"] {
  z-index: 4;
  transform: translateX(-120%) translateZ(-500px) rotateY(42deg) scale(0.5);
  opacity: 0;
  pointer-events: none;
}

.showcase-card[data-pos="hidden-right"] {
  z-index: 4;
  transform: translateX(120%) translateZ(-500px) rotateY(-42deg) scale(0.5);
  opacity: 0;
  pointer-events: none;
}

/* ── INNER CARD FRAMELESS CONTAINER ── */
.showcase-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(8px);
  transition: border-color 0.4s var(--silk), box-shadow 0.4s var(--silk), transform 0.4s var(--silk);
}

/* Glass Edge Glow on Active Center Hover */
.showcase-card[data-pos="center"]:hover .showcase-wrapper {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

/* Image Fit & Scale */
.showcase-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* Shows full graphic without cutting top/bottom/sides */
  object-position: center;
  transition: transform 0.5s var(--silk);
}

.showcase-card[data-pos="center"]:hover .showcase-wrapper img {
  transform: scale(1.02);
}

/* ── ZOOM & CONTROLS ── */
.carousel-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 20px;
  position: relative;
  z-index: 15;
}

.zoom-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.35s var(--silk);
  user-select: none;
}

.zoom-btn:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.zoom-pips {
  display: flex;
  gap: 6px;
  align-items: center;
}

.zoom-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s var(--silk), transform 0.3s var(--silk);
}

.zoom-pip.active {
  background: var(--accent);
  transform: scale(1.4);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-top: 10px;
  position: relative;
  z-index: 15;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  cursor: pointer;
  transition: all 0.35s var(--silk);
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}/* ══════════════════════════════════════════
   6. REALISATION SECTION (ONE CARD PER ROW - SLIM & MODERN)
══════════════════════════════════════════ */

.realisations-section {
  padding: 50px 0;
  background-color: var(--bg);
  color: var(--text-1);
  position: relative;
  transition: background-color var(--silk-dur) var(--silk), color var(--silk-dur) var(--silk);
}

.realisations-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px auto;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-mid);
  background-color: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: normal;
  color: var(--accent-mid);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* Grille Responsive (1 carte par ligne) */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px; 
}

/* Carte Réalisation - 1 par ligne, plus fluide et moins massive */
.realisation-card {
  position: relative;
  grid-column: span 12;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible; 
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Image à gauche plus équilibrée, contenu à droite */
  box-shadow: var(--shadow-sm);
  z-index: 1;
  transition: transform 0.4s var(--silk), 
              border-color 0.4s var(--silk), 
              box-shadow 0.4s var(--silk),
              z-index 0s;
}

.realisation-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  z-index: 999; 
}

/* Image et Badges */
.realisation-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background-color: var(--bg-alt);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}

.realisation-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--silk);
}

.realisation-card:hover .realisation-img {
  transform: scale(1.03);
}

.realisation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(15, 23, 42, 0.4) 100%);
}

.realisation-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 12px;
  background: var(--surface-2);
  color: var(--accent-mid);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

/* Contenu Texte optimisé (moins lourd) */
.realisation-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.realisation-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.client-name {
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.realisation-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-1);
}

.realisation-description {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 18px;
}

.realisation-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-mid);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.3s var(--silk), color 0.3s var(--silk);
}

.realisation-link:hover {
  gap: 12px;
  color: var(--accent);
}

/* ══════════════════════════════════════════
   CLEAN FLOATING DREAM BUBBLE (SLIMMER)
══════════════════════════════════════════ */
.dream-bubble-float {
  position: absolute;
  bottom: -40px;
  right: 2px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.realisation-card:hover .dream-bubble-float {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dream-trail {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 25px;
}

.dream-dot {
  background: var(--surface);
  border: 2px dashed var(--accent-border);
  border-radius: 50%;
}

.dream-dot-sm { width: 6px; height: 6px; }
.dream-dot-md { width: 11px; height: 11px; }

.dream-bubble-body {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px dashed var(--accent-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  padding: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.realisation-card:hover .dream-bubble-body {
  border-color: var(--accent);
}

.dream-bubble-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Talking Speech Bubble Overlaid */
.speech-bubble-tag {
  position: absolute;
  top: -24px;
  right: 10px;
  left: auto;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  color: var(--text-1);
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  z-index: 10;
  animation: speechBounce 2s ease-in-out infinite;
}

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

/* ══════════════════════════════════════════
   STATS & METRIC BLOCKS
══════════════════════════════════════════ */
.metric-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  transition: .3s var(--silk);
}

.metric-block strong {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.metric-block span {
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.realisation-card:hover .metric-block {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.realisation-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.realisation-stats span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.3s var(--silk);
}

.realisation-stats span:hover {
  background: var(--accent-ghost);
  border-color: var(--accent-border);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   RESPONSIVE ADAPTATIONS
══════════════════════════════════════════ */
@media (max-width: 992px) {
  .realisation-card {
    grid-template-columns: 1fr;
    margin-bottom: 60px; 
  }
  .realisation-image-wrapper {
    min-height: 240px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .dream-bubble-float {
    right: 20px;
    bottom: -35px;
  }
}

@media (max-width: 768px){
  .realisation-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .metric-block {
    align-items: flex-start;
  }
  .dream-bubble-float {
    display: none; /* Cache la bulle sur mobile pour un rendu épuré */
  }
}
   /* ══════════════════════════════════════════
   OUR TEAM
══════════════════════════════════════════ */

.team-section{
    padding:120px 0;
}

.team-header{
    text-align:center;
    margin-bottom:70px;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:34px;
}
.team-card {
    text-align: center;
    transition:
        transform .45s var(--silk),
        opacity .45s var(--silk);
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    margin-bottom: 22px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .7s var(--silk),
        filter .6s;
}

.team-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.03);
}

.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
}

.team-position {
    font-size: .9rem;
    color: var(--text-3);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px; /* Added spacing to separate from the button */
}

/* Professional LinkedIn Link Styles */
.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-2, #555);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--surface-alt, rgba(0, 0, 0, 0.03));
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
    transition: 
        color .3s ease, 
        background .3s ease, 
        border-color .3s ease, 
        transform .3s ease;
}

.team-linkedin svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: fill .3s ease;
}

.team-linkedin:hover {
    color: #0a66c2; /* Official LinkedIn Blue */
    background: rgba(10, 102, 194, 0.08);
    border-color: rgba(10, 102, 194, 0.2);
    transform: translateY(-2px);
}

@media(max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 700px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}/* ══════════════════════════════════════════
    9. TECHNOLOGIES / INTEGRATIONS
   ══════════════════════════════════════════ */
.integrations-section {
  padding: 100px 0; 
  background: var(--surface);
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border);
}
.integrations-header { 
  text-align: center; 
  margin-bottom: 40px; 
}
.integrations-header .section-sub { 
  margin: 16px auto 0; 
  text-align: center; 
  max-width: 600px;
}

/* Category Filter Navigation */
.tech-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.tech-filter-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.tech-filter-btn:hover, 
.tech-filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Grid Container */
.integrations-grid-wrapper {
  max-width: 900px;
  margin: 0 auto;
  min-height: 200px;
}

.tech-panel {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  animation: fadeIn 0.4s ease forwards;
}
.tech-panel.active {
  display: grid;
}

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

.integration-tile {
  background: var(--surface-2); 
  border-radius: 12px;
  border: 1px solid var(--border); 
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform var(--silk-dur) var(--silk), 
              box-shadow var(--silk-dur) var(--silk),
              border-color 0.4s, background 0.4s;
  cursor: default;
}
.integration-tile:hover {
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border); 
  background: var(--accent-ghost);
}
.integration-name {
  font-size: 0.875rem; 
  font-weight: 600; 
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.integration-tile:hover .integration-name { 
  color: var(--accent); 
}
      /* ══════════════════════════════════════════
        10. FAQ
      ══════════════════════════════════════════ */
      .faq-section { padding: 100px 0; }
      .faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
      .faq-sidebar { position: sticky; top: 100px; }
      .faq-sidebar .section-sub { margin-top: 16px; margin-bottom: 32px; }
      .faq-toggle-all {
        font-size: 0.875rem; font-weight: 600; color: var(--accent);
        display: flex; align-items: center; gap: 6px;
        transition: opacity 0.3s;
      }
      .faq-toggle-all:hover { opacity: 0.75; }

      .faq-list { display: flex; flex-direction: column; gap: 0; }
      .faq-item {
        border-bottom: 1px solid var(--border);
      }
      .faq-item:first-child { border-top: 1px solid var(--border); }
      .faq-question {
        display: flex; justify-content: space-between; align-items: center;
        padding: 22px 0; cursor: pointer; gap: 16px;
        font-size: 0.9375rem; font-weight: 600; color: var(--text-1);
        transition: color 0.3s;
      }
      .faq-question:hover { color: var(--accent); }
      .faq-icon {
        width: 28px; height: 28px; border-radius: 50%;
        border: 1.5px solid var(--accent-border); flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        color: var(--accent); font-size: 16px; font-weight: 300;
        transition: transform 0.5s var(--silk), background 0.4s, color 0.4s;
      }
      .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
      .faq-answer {
        display: grid; grid-template-rows: 0fr;
        transition: grid-template-rows 0.5s var(--silk);
      }
      .faq-item.open .faq-answer { grid-template-rows: 1fr; }
      .faq-answer-inner {
        overflow: hidden;
        font-size: 0.9rem; line-height: 1.75; color: var(--text-2);
        padding-bottom: 0;
        transition: padding-bottom 0.5s var(--silk);
      }
      .faq-item.open .faq-answer-inner { padding-bottom: 20px; }
  /* ══════════════════════════════════════════
    11. CTA & CONTACT SECTION (THEMED)
  ══════════════════════════════════════════ */

  .cta-section {
    padding: 80px 0;
    background-color: var(--bg);
  }

  .container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 56px;
    align-items: center;
    padding: 60px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: background-color var(--silk-dur) var(--silk), border-color var(--silk-dur) var(--silk);
  }

  /* Background Soft Ambient Glow using Theme Accent */
  .cta-inner::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-ghost), transparent 70%);
    pointer-events: none;
  }

  /* ── LEFT COLUMN ── */

  .cta-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
  }

  .cta-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--accent-ghost);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--accent-border);
  }

  .cta-title {
    margin: 0 0 14px 0;
    color: var(--text-1);
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .cta-title em {
    font-style: normal;
    color: var(--accent-mid);
  }

  .cta-sub {
    margin: 0;
    max-width: 480px;
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.6;
  }

  /* ── SLEEK HIGHLIGHT STRIP ── */

  .contact-highlights-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-2);
    font-weight: 500;
    margin-top: 4px;
  }

  .highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .highlight-item svg {
    color: var(--accent-mid);
  }

  .highlight-divider {
    color: var(--border);
  }

  /* ── FRAMELESS MAP WRAPPER ── */

  .map-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
    box-shadow: var(--shadow-sm);
    background-color: var(--surface);
  }

  .map-floating-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: var(--surface-2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-1);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse-ring 1.8s infinite;
  }

  @keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 var(--accent-ghost); }
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
  }

  .map-wrapper iframe {
    width: 100%;
    height: 200px;
    border: 0;
    filter: grayscale(25%) contrast(95%);
    transition: filter 0.4s ease;
  }

  [data-theme="dark"] .map-wrapper iframe {
    filter: grayscale(80%) invert(90%) hue-rotate(180deg) contrast(90%);
  }

  .map-wrapper:hover iframe {
    filter: grayscale(0%);
  }
/* ── RIGHT COLUMN: FORM CARD ── */

.contact-form-card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--silk-dur) var(--silk);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: var(--text-1);
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-3);
  margin: 0;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: var(--text-1);
  font-size: 0.85rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-1);
  font-size: 0.92rem;
  font-family: inherit;
  transition: all 0.2s var(--silk);
  box-sizing: border-box;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--accent-border);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--surface-2);
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 4px var(--accent-ghost);
}

/* Submit Button */
.btn-cta-primary {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  margin-top: 8px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.25s var(--silk);
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.btn-cta-primary:hover {
  background: var(--accent-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-cta-primary:hover .btn-arrow {
  transform: translateX(4px);
}
/* Checkbox Group Alignment - One Line */
.form-group-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  white-space: nowrap; /* Forces the entire group to stay on one line */
}

.form-group-checkbox label {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Spacing between checkbox and text if you place the input inside the label */
}

.form-group-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px; /* Prevents the checkbox from shrinking on smaller screens */
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}

.form-group-checkbox a {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.form-group-checkbox a:hover {
  opacity: 0.8;
}
/* Captcha Spacing */
.form-group-captcha {
  margin-top: 4px;
}
/* ══════════════════════════════════════════
   RESPONSIVE LAYOUT
══════════════════════════════════════════ */

@media (max-width: 992px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 28px;
  }
}

@media (max-width: 640px) {
  .cta-section {
    padding: 40px 0;
  }

  .cta-inner {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .contact-highlights-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .highlight-divider {
    display: none;
  }
}
    /* ══════════════════════════════════════════
       12. FOOTER
    ══════════════════════════════════════════ */
    .footer {
      background: var(--footer-bg); padding: 80px 0 40px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-grid {
      display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
      gap: 48px; margin-bottom: 64px;
    }
    .footer-brand .nav-logo { color: #fff; font-size: 1.3rem; margin-bottom: 16px; display: block; }
    .footer-brand-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 240px; }
    .footer-socials { display: flex; gap: 10px; margin-top: 24px; }
    .social-btn {
      width: 36px; height: 36px; border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.1);
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.4); font-size: 14px; font-weight: 700;
      transition: all 0.4s var(--silk);
    }
    .social-btn:hover { border-color: var(--accent-light); color: var(--accent-light); }
    .footer-col-label {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: rgba(255,255,255,0.25);
      margin-bottom: 20px;
    }
    .footer-links { display: flex; flex-direction: column; gap: 12px;color: rgba(255,255,255,0.5) }
    .footer-links a {
      font-size: 0.875rem; color: rgba(255,255,255,0.5);
      transition: color 0.3s;
    }
    .footer-links a:hover { color: var(--accent-light); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 32px;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    }
    .footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
    .footer-copy a { color: rgba(255,255,255,0.45); transition: color 0.3s; }
    .footer-copy a:hover { color: var(--accent-light); }
    .footer-legal { display: flex; gap: 24px; }
    .footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.3); transition: color 0.3s; }
    .footer-legal a:hover { color: rgba(255,255,255,0.6); }

    .footer-legal .options{font-size: 0.8125rem;
      display: flex;
      justify-content: center;
      align-items: center;
      gap : 14px;
color: rgba(255,255,255,0.45);  }
.contact-form{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form form{
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group{
    display: flex;
    flex-direction: column;
    width: 100%;
}


.form-group input,
.form-group textarea{
    width: 100%;
    box-sizing: border-box;
}


    /* ══════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .hero-inner { grid-template-columns: 1fr; gap: 56px; }
      .hero-visual { max-width: 520px; margin: 0 auto; }
      .feature-row { grid-template-columns: 1fr; gap: 40px; }
      .feature-row.reverse { direction: ltr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
      .stat-card:last-child { border-bottom: none; }
      .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

      .footer-grid { grid-template-columns: 1fr 1fr; }
      .cta-inner { flex-direction: column; padding: 56px 40px; }
      .faq-inner { grid-template-columns: 1fr; }
      .faq-sidebar { position: static; }
    }
    @media (max-width: 768px) {
      .carousel-zoom { padding: 30px 0 0; }
      .container { padding: 0 20px; }
      .nav-links, .nav-cta { display: none; }
      .nav-hamburger { display: flex; }
      .testimonials-grid { grid-template-columns: 1fr; }
      .testimonial-card.tall { grid-row: auto; }
      .footer-grid { grid-template-columns: 1fr; }
      .cta-inner { padding: 40px 24px; }
      .pricing-grid { max-width: 100%; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-float-badge-2 { right: 0; }
      /* Carousel mobile */
      .carousel-stage { height: 400px; }
      :root {
        --pw: 150px;
        --gap1: 168px;
        --gap2: 300px;
        --gap-hide: 430px;
      }
      .phone-card[data-pos="left2"],
      .phone-card[data-pos="right2"] { opacity: 0.35; }
    }
    @media (max-width: 480px) {

      .stats-grid { grid-template-columns: 1fr 1fr; }
      .hero-trust { gap: 12px; }
      .trust-divider { display: none; }
    }




/* =========================================================
       AI CHATBOT FLOATING SECTION (BOTTOM RIGHT)
       ========================================================= */

       
    .chatbot-wrapper {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 1000;
      display: inline-flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      flex-wrap: nowrap;
    }

    /* Chat Launcher Button */
    .chat-toggle {
      width: 56px;
      height: 56px;
      min-width: 56px;
      min-height: 56px;
      padding: 0;
      border-radius: 50%;
      color: #ffffff;
      border: none;
      box-shadow: var(--shadow-lg);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 56px;
      transition: transform 0.3s var(--silk), background-color 0.3s ease;
    }

    .chat-toggle {
      background-color: var(--accent);
    }


    .chat-toggle:hover {
      background-color: var(--accent-mid);
    }

    .chat-toggle .icon-close { display: none; }
    .chat-toggle.is-active .icon-chat { display: none; }
    .chat-toggle.is-active .icon-close { display: block; }

    /* Chat Window Container */
    .chat-window {
      position: absolute;
      bottom: 72px;
      right: 0;
      width: 360px;
      max-width: calc(100vw - 48px);
      height: 480px;
      max-height: calc(100vh - 120px);
      background-color: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px) scale(0.95);
      transition: opacity 0.3s var(--silk), transform 0.3s var(--silk), visibility 0.3s;
    }

    .chat-window.is-open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    /* Chat Header */
    .chat-header {
      padding: 16px;
      background-color: var(--surface-2);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--text-1);
    }

    .chat-title-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: var(--accent);
      box-shadow: 0 0 8px var(--accent);
    }

    .chat-close-btn {
      background: transparent;
      border: none;
      color: var(--text-2);
      cursor: pointer;
      padding: 4px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s, background-color 0.2s;
    }

    .chat-close-btn:hover {
      color: var(--text-1);
      background-color: var(--accent-ghost);
    }

    /* Chat Body */
    .chat-body {
      flex: 1;
      padding: 16px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
      background-color: var(--bg);
    }

    .message {
      max-width: 80%;
      padding: 10px 14px;
      border-radius: var(--radius);
      font-size: 14px;
      line-height: 1.4;
      word-break: break-word;
    }

    .message.bot {
      align-self: flex-start;
      background-color: var(--surface);
      color: var(--text-1);
      border: 1px solid var(--border);
      border-bottom-left-radius: 4px;
    }

    .message.user {
      align-self: flex-end;
      background-color: var(--accent);
      color: #ffffff;
      border-bottom-right-radius: 4px;
    }

    /* Chat Input Area */
    .chat-footer {
      padding: 12px;
      background-color: var(--surface);
      border-top: 1px solid var(--border);
      display: flex;
      gap: 8px;
    }

    .chat-footer input {
      flex: 1;
      background-color: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 10px 14px;
      color: var(--text-1);
      outline: none;
      font-size: 14px;
      transition: border-color 0.2s;
    }

    .chat-footer input::placeholder {
      color: var(--text-3);
    }

    .chat-footer input:focus {
      border-color: var(--accent);
    }

    .send-btn {
      background-color: var(--accent);
      color: #ffffff;
      border: none;
      border-radius: var(--radius);
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }

    .send-btn:hover {
      background-color: var(--accent-mid);
    }






:root {
  --win11-font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --icon-hover: rgba(255, 255, 255, 0.15);
  --icon-selected: rgba(255, 255, 255, 0.25);
  --icon-border: rgba(255, 255, 255, 0.3);
}

/* Fullscreen Popup Overlay Backdrop */
.win11-desktop-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999; /* Higher than everything else */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  font-family: var(--win11-font);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
}

/* Show Popup State */
.win11-desktop-section.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Desktop Window Container */
.win11-desktop {
  width: 100%;
  max-width: 1000px;
  height: 560px;
  margin: 0 auto;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.win11-desktop-section.is-open .win11-desktop {
  transform: scale(1) translateY(0);
}

/* Top Right Window Close Button */
.win11-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 100;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  backdrop-filter: blur(8px);
}

.win11-close-btn:hover {
  background: #e81123; /* Windows standard close red */
  border-color: #e81123;
}

.toggle-img {
  position: absolute;
  top: 12px;
  right: 55px;
  z-index: 100;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  backdrop-filter: blur(8px);
}

.toggle-img:hover {
  background: #e81123; /* Windows standard close red */
  border-color: #e81123;
}
.toggle-img .icon-sun,
.toggle-img .icon-moon{
    position:absolute;
    inset:0;
    margin:auto;

    transition:opacity .25s ease, transform .25s ease;
}

.toggle-img .icon-sun{
    opacity:1;
    transform:rotate(0deg) scale(1);
}

.toggle-img .icon-moon{
    opacity:0;
    transform:rotate(90deg) scale(.7);
}

/* Dark Mode */
.toggle-img.dark .icon-sun{
    opacity:0;
    transform:rotate(-90deg) scale(.7);
}

.toggle-img.dark .icon-moon{
    opacity:1;
    transform:rotate(0deg) scale(1);
}
/* Background Image */
.desktop-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.desktop-bg-img{
    transition: opacity .25s ease;
}

.desktop-bg-img.fade{
    opacity: 0;
}
/* Desktop Grid */
.desktop-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: repeat(auto-fill, 96px);
  grid-auto-flow: column;
  grid-auto-columns: 88px;
  gap: 12px;
  padding: 20px;
}

/* Desktop Icon Styling */
.desktop-icon {
  width: 88px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease-in-out;
  box-sizing: border-box;
  outline: none;
}

.desktop-icon:hover {
  background: var(--icon-hover);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--icon-border);
}

.desktop-icon:focus,
.desktop-icon:active {
  background: var(--icon-selected);
  border-color: rgba(255, 255, 255, 0.5);
}

.icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.folder-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.custom-icon-svg {
  width: 24px;
  height: 24px;
}

/* Custom Badges */
.file-badge {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.fig-bg { background: #ffffff; }
.pdf-bg { background: #ffffff; }

.shortcut-arrow {
  position: absolute;
  bottom: -2px;
  left: -2px;
  background: #ffffff;
  border: 1px solid #aaa;
  border-radius: 2px;
  font-size: 9px;
  line-height: 1;
  font-weight: bold;
  padding: 1px 2px;
  color: #000;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.icon-label {
  color: #ffffff;
  font-size: 11px;
  font-weight: 400;
  text-align: center;
  margin-top: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.7);
  word-break: break-word;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Taskbar Styling */
.win11-taskbar {
  position: relative;
  z-index: 2;
  height: 48px;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.taskbar-left {
  flex: 1;
}

.taskbar-center {
  display: flex;
  align-items: center;
  gap: 6px;
}

.taskbar-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.taskbar-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.taskbar-btn.active {
  background: rgba(255, 255, 255, 0.18);
}

.taskbar-btn.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 16px;
  height: 3px;
  background-color: #00ADEF;
  border-radius: 2px;
}

.taskbar-widgets {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Search Panel Overlay */
.win11-search-panel {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  background: rgba(30, 30, 30, 0.75);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.win11-search-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 10px;
  gap: 8px;
}

.search-input-wrapper:focus-within {
  border-color: #00ADEF;
  box-shadow: 0 0 0 1px #00ADEF;
}

.search-icon-inside {
  font-size: 13px;
  opacity: 0.7;
}

.search-input-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--win11-font);
  font-size: 13px;
  width: 100%;
}

.search-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  cursor: pointer;
  padding: 0 4px;
}

.search-clear-btn:hover {
  color: #ffffff;
}
/* Icon Hiding Animation for Filtering */
.desktop-icon.is-hidden {
  display: none !important;
}
.status-pill {
  font-size: 11px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.taskbar-time {
  font-size: 11px;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.2px;
}
/* ── Slide-Over Drawer Sheet ── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 30, 28, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background-color: var(--surface-2);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--silk);
  z-index: 1001;
}

.drawer-overlay.is-open .drawer-sheet {
  transform: translateX(0);
}

.drawer-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-3);
  cursor: pointer;
}

.drawer-header {
  margin-bottom: 24px;
}

.drawer-badge {
  display: inline-block;
  background-color: var(--accent-ghost);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.drawer-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.drawer-meta-row {
  font-size: 0.85rem;
  color: var(--text-3);
}

.drawer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.drawer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.drawer-section p, .drawer-section li {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}

.drawer-section ul {
  padding-left: 20px;
  margin: 0 0 16px 0;
}

/* Form Styles */
.drawer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}

.form-group input[type="text"],
.form-group input[type="email"] {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--surface);
  font-size: 0.95rem;
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent);
}

/* File Upload */
.file-drop-zone {
  position: relative;
  background-color: var(--accent-ghost);
  border: 2px dashed var(--accent-border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
}

.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.drop-zone-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}

.btn-drawer-submit {
  background-color: var(--accent);
  color: #FFFFFF;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 8px;
}

.btn-drawer-submit:hover {
  background-color: var(--accent-mid);
}

/* Responsive */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-hero {
    grid-column: span 1;
  }
}

