/* ── DESIGN SYSTEM & VARIABLES ────────────────────────────── */
:root {
  /* Colors */
  --brand: #28b8c4;
  --brand-dark: #27acc4;
  --brand-xdark: #25a1bb;
  --brand-light: #D6F5FB;
  --brand-xlight: #F0FBFD;
  --white: #ffffff;
  
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Typography */
  --fh: 'Sora', sans-serif;
  --fb: 'DM Sans', sans-serif;
  
  /* Spacing & Sizing */
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  /* Shadows & Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --glass: rgba(255, 255, 255, 0.8);
}

/* ── BASE STYLES ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--fb);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section.alt { background: var(--brand-light); }
.section.white { background: var(--white); }


/* ── TYPOGRAPHY UTILS ───────────────────────────────────── */
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--brand-light);
  color: var(--brand-xdark);
  margin-bottom: 20px;
}
.sec-label {
  font-family: var(--fh);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 12px;
  display: block;
}
.sec-sub { font-size: 18px; color: var(--gray-600); line-height: 1.6; max-width: 700px; }
.centered { text-align: center; }
.centered .sec-sub { margin: 0 auto; }
.sec-sub.centered { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 64px; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md);color:white; }
.btn-sm { font-size: 14px; padding: 10px 20px; }
.btn-lg { font-size: 16px; padding: 16px 36px; border-radius: var(--radius-lg); }

/* ── NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

.nav-container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  width: 100%; 
}

.logo img { height: 40px; width: auto; }

.nav-menu { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  list-style: none; 
  padding: 6px; 
  background: rgba(255,255,255,0.5); 
  border: 1px solid var(--gray-100); 
  border-radius: 100px; 
}

.nav-link { 
  font-family: var(--fh); 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--gray-600); 
  padding: 10px 20px; 
  border-radius: 100px; 
}

.nav-link:hover, .nav-link.active { 
  color: var(--brand-xdark); 
  background: var(--brand-light); 
}

.nav-btns { display: flex; gap: 12px; }
.nav-btns .btn { border-radius: 100px; padding: 10px 22px; }

.nav-item { position: relative; }
.nav-item--dropdown {
  display: flex;
  align-items: center;
}

.nav-item--dropdown .nav-arrow-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 100px;
}

.nav-item--dropdown .nav-arrow-toggle:hover {
  color: var(--brand-xdark);
  background: var(--brand-light);
}

.nav-item--dropdown .nav-arrow-toggle svg {
  transition: transform 0.25s ease;
}

.nav-item--dropdown.open .nav-arrow-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(var(--nav-height) + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  padding: 18px;
  display: grid;
  z-index: 1200;
  border: 1px solid rgba(226, 232, 240, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: top center;
  transform: translateX(-50%) translateY(-10px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  margin-top: -30px;
}
.nav-item--dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(248,250,252,0.95));
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 18px;
  padding: 14px;
  width: 479.537px;
}
.dropdown-title {
  font-weight: 800;
  color: var(--brand-xdark);
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dropdown-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.dropdown-link:hover {
  background: var(--white);
  color: var(--brand-xdark);
  transform: translateX(2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}
.dropdown-link .menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-xlight));
  color: var(--brand-xdark);
  font-size: 16px;
  flex-shrink: 0;
}

@keyframes dropdownPop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.nav-item--dropdown.open .dropdown-menu {
  animation: dropdownPop 0.18s ease-out;
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer { background: var(--gray-800); padding: 100px 0 40px; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; margin-bottom: 80px; }
.footer-info p { color: var(--gray-400); margin-top: 24px; max-width: 320px; line-height: 1.8; }
.footer-title { font-family: var(--fh); font-size: 18px; font-weight: 700; margin-bottom: 32px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-link { color: var(--gray-400); }
.footer-link:hover { color: var(--brand); transform: translateX(5px); }
.footer-bottom { padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; color: var(--gray-400); font-size: 14px; }
.footer-badges img { height: 48px; opacity: 0.8; }

/* ── WORDPRESS COMPATIBILITY CLASSES ──────────────────── */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.d-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; transition: all 0.3s ease; }
.d-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.d-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand); }
.d-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; background: var(--brand-light); color: var(--brand-xdark); margin-bottom: 16px; }

.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ben-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; transition: all 0.3s ease; }
.ben-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-light); }
.ben-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--brand); }

.func-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fc-title { font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
.fc-list { display: flex; flex-direction: column; gap: 12px; }
.fc-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--gray-50); border-radius: var(--radius-sm); border: 1px solid var(--gray-100); transition: all 0.2s ease; }
.fc-item:hover { background: var(--brand-xlight); border-color: var(--brand-light); }
.fc-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; }

.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.svc-card { background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 20px; margin-bottom: 16px; transition: all 0.3s ease; }
.svc-card:hover { box-shadow: var(--shadow-sm); transform: translateX(5px); }

.log-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.log-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.log-num { font-family: var(--fh); font-size: 40px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.log-label { font-size: 14px; color: rgba(255,255,255,0.5); }

/* Tabs */
.tab-bar { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; }
.tab-btn { cursor: pointer; }
.tab-panel { display: none; }
.tab-panel.active { display:block; }

/* Video */
.video-wrapper { max-width: 900px; margin: 0 auto; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.video-wrapper video { width: 100%; display: block; }

 .mockup-scene {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 0;
      max-width: 600px;
      margin: 0 auto;
    }
    .phone {
      width: 148px;
      height: 264px;
      border-radius: 22px;
      border: 2px solid var(--gray-200);
      background: var(--white);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 2;
      box-shadow: var(--shadow-md);
      flex-shrink: 0;
    }
    .ph-topbar {
      height: 30px;
      background: var(--brand);
      display: flex;
      align-items: center;
      padding: 0 12px;
      flex-shrink: 0;
    }
    .ph-topbar-logo {
      font-family: var(--fh);
      font-size: 9px;
      font-weight: 700;
      color: #fff;
      letter-spacing: 0.1em;
    }
    .ph-body {
      flex: 1;
      background: var(--brand-xlight);
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 7px;
    }
    .ph-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 5px;
    }
    .ph-ico {
      height: 30px;
      border-radius: 7px;
      background: var(--brand-light);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .ph-ico-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--brand-dark);
    }
    .ph-row {
      height: 24px;
      border-radius: 6px;
      background: var(--white);
      border: 1px solid var(--gray-100);
    }
    .ph-row-sm {
      height: 16px;
      border-radius: 5px;
      background: var(--brand-light);
      width: 75%;
    }
    .laptop-group {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-left: -28px;
    }
    .laptop {
      width: 310px;
      height: 196px;
      border-radius: 12px 12px 0 0;
      border: 2px solid var(--gray-200);
      background: var(--gray-50);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-md);
      z-index: 1;
    }
    .lp-topbar {
      height: 24px;
      background: var(--white);
      border-bottom: 1px solid var(--gray-100);
      display: flex;
      align-items: center;
      padding: 0 10px;
      gap: 5px;
      flex-shrink: 0;
    }
    .wdot { width: 7px; height: 7px; border-radius: 50%; }
    .wr { background: #FF5F57; }
    .wy { background: #FEBC2E; }
    .wg { background: #28C840; }
    .lp-body-inner {
      flex: 1;
      display: flex;
    }
    .lp-sidebar {
      width: 58px;
      background: var(--brand-xdark);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px 0;
      gap: 8px;
      flex-shrink: 0;
    }
    .lp-avatar {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(255,255,255,0.45);
    }
    .lp-nav-item {
      width: 30px;
      height: 6px;
      border-radius: 3px;
      background: rgba(255,255,255,0.2);
    }
    .lp-nav-item.on { background: rgba(255,255,255,0.85); }
    .lp-main {
      flex: 1;
      background: var(--gray-50);
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .lp-row { display: flex; gap: 6px; }
    .lp-card {
      flex: 1;
      height: 32px;
      border-radius: 6px;
      background: var(--white);
      border: 1px solid var(--gray-100);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .lp-bar { height: 6px; border-radius: 3px; background: var(--brand); width: 55%; }
    .lp-bar.s { width: 35%; background: var(--brand-light); }
    .lp-big {
      flex: 2;
      height: 52px;
      border-radius: 6px;
      background: var(--white);
      border: 1px solid var(--gray-100);
      padding: 8px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
    }
    .lp-accent-box {
      flex: 1;
      height: 52px;
      border-radius: 6px;
      background: var(--brand-light);
      border: 1px solid var(--brand);
    }
    .laptop-base {
      width: 350px;
      height: 12px;
      border-radius: 0 0 6px 6px;
      border: 2px solid var(--gray-200);
      border-top: none;
      background: var(--gray-100);
      margin-left: -28px;
    }

/* ── MOBILE RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .dual-grid, .ben-grid, .func-cols, .about-grid, .log-grid { grid-template-columns: 1fr; }
  
  .navbar { height: auto; min-height: var(--nav-height); }
  
  .nav-container {
    flex-wrap: wrap;
    padding: 18px 24px;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  body.menu-open .navbar {
    height: 100vh !important;
    overflow-y: auto;
    background: var(--white);
    display: block; 
  }

  body.menu-open .nav-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-bottom: 60px;
  }

  .logo { margin-bottom: 24px; }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    gap: 4px;
    border-radius: 0;
    margin-bottom: 24px;
  }
  
  body.menu-open .nav-menu {
    display: flex;
  }

  .nav-menu li { width: 100%; }
  
  .nav-menu .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 12px;
  }
  
  .navbar .nav-btns {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
    gap: 12px;
  }

  body.menu-open .navbar .nav-btns {
    display: flex;
  }

  .nav-btns .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 30px;
  }

  .mobile-toggle {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  /* Dropdown mobile tweaks */
  .nav-item--dropdown {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .nav-item--dropdown .nav-arrow-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 52px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    min-width: 100% !important;
    background: var(--gray-50) !important;
    box-shadow: none !important;
    border: 1px solid var(--gray-100) !important;
    border-radius: 16px !important;
    padding: 8px !important;
    display: none;
    margin-top: 8px;
    grid-template-columns: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-item--dropdown.open .dropdown-menu {
    display: grid;
  }

  .dropdown-group { width: 100% !important; padding: 8px !important; background: transparent !important; border: none !important; }
  .dropdown-group > div { grid-template-columns: 1fr !important; }
  .dropdown-link { padding: 12px; font-size: 14px; display: flex; align-items: center; gap: 12px; }
  .dropdown-link:hover { background: var(--white); transform: none; box-shadow: none; }
  .dropdown-link .menu-icon { width: 32px; height: 32px; flex-shrink: 0; }
}

/* ── VIDEO CARDS ────────────────────────────────────────── */
.video-card-01 {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  background: var(--gray-800);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.video-card-01:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.video-card-01__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-card-01__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-card-01:hover .video-card-01__video {
  transform: scale(1.05);
}

.video-card-01__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.647) 0%, rgba(15, 23, 42, 0.137) 40%, rgba(15, 23, 42, 0) 100%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.video-card-01__content {
  position: relative;
  z-index: 3;
  padding: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.video-card-01__header {
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card-01__title {
  font-family: var(--fh);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-top: 12px;
  margin-bottom: 0;
}

.video-card-01__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card-01:hover .video-card-01__body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 16px;
}

.video-card-01__body-inner {
  overflow: hidden;
}

.video-card-01__excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
}

.video-card-01__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--fh);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.video-card-01:hover .video-card-01__btn {
  box-shadow: 0 4px 12px rgba(12, 192, 223, 0.3);
}

.video-card-01__btn:hover {
  background: var(--brand-dark);
}

.video-card-01__link {
  position: absolute;
  inset: 0;
  z-index: 10;
}