/* =============================================
       CSS VARIABLES & THEME
    ============================================= */
    :root {
      --font-primary: 'Plus Jakarta Sans', sans-serif;
      --font-display: 'Space Grotesk', sans-serif;
      --font-mono: 'Fira Code', monospace;

      --accent: #3B82F6;
      --accent-light: #60A5FA;
      --accent-dark: #1D4ED8;
      --accent-glow: rgba(59,130,246,0.18);

      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --radius-xl: 24px;

      --transition: 0.25s ease;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
      --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
      --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
    }

    [data-theme="dark"] {
      --bg-body: #0A0E1A;
      --bg-surface: #0F1526;
      --bg-card: #141B2E;
      --bg-card-hover: #192135;
      --bg-input: #1a2238;
      --border: rgba(255,255,255,0.08);
      --border-strong: rgba(255,255,255,0.14);
      --text-primary: #F1F5FD;
      --text-secondary: #9BAACB;
      --text-muted: #5A6A8A;
      --tag-bg: rgba(59,130,246,0.12);
      --tag-text: #60A5FA;
      --topbar-bg: #070B14;
      --header-bg: rgba(10,14,26,0.96);
      --footer-bg: #070B14;
      --stat-bg: rgba(59,130,246,0.08);
      --why-icon-bg: rgba(59,130,246,0.1);
      --process-num: rgba(59,130,246,0.15);
    }

    [data-theme="light"] {
      --bg-body: #F4F7FF;
      --bg-surface: #FFFFFF;
      --bg-card: #FFFFFF;
      --bg-card-hover: #F0F4FF;
      --bg-input: #F4F7FF;
      --border: rgba(0,0,0,0.08);
      --border-strong: rgba(0,0,0,0.14);
      --text-primary: #0D1733;
      --text-secondary: #4A5568;
      --text-muted: #9AA5BB;
      --tag-bg: rgba(59,130,246,0.1);
      --tag-text: #1D4ED8;
      --topbar-bg: #0D1733;
      --header-bg: rgba(244,247,255,0.97);
      --footer-bg: #0D1733;
      --stat-bg: rgba(59,130,246,0.06);
      --why-icon-bg: rgba(59,130,246,0.08);
      --process-num: rgba(59,130,246,0.1);
    }

    /* =============================================
       RESET & BASE
    ============================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

    a { color: inherit; text-decoration: none; }
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
      outline: 3px solid rgba(59,130,246,0.7);
      outline-offset: 3px;
    }
    img { max-width: 100%; display: block; }
    ul { list-style: none; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

    section { padding: 96px 0; }

    /* =============================================
       TYPOGRAPHY
    ============================================= */
    h1, h2, h3, h4 {
      font-family: var(--font-display);
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-primary);
      overflow-wrap: break-word;
    }

    h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
    h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
    h3 { font-size: 1.15rem; font-weight: 600; }
    p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; }

    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent-light);
      background: var(--tag-bg);
      border: 1px solid rgba(59,130,246,0.2);
      border-radius: 100px;
      padding: 5px 14px;
      margin-bottom: 16px;
    }

    .section-title {
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 14px;
    }

    .section-sub {
      font-size: 1.05rem;
      color: var(--text-secondary);
      max-width: 580px;
      line-height: 1.7;
      margin-bottom: 0;
    }

    /* =============================================
       BUTTONS
    ============================================= */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent);
      color: #fff;
      font-family: var(--font-primary);
      font-size: 0.9rem;
      font-weight: 600;
      padding: 12px 26px;
      border-radius: var(--radius-md);
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
      border: 1.5px solid var(--accent);
      letter-spacing: 0.01em;
    }
    .btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--text-primary);
      font-family: var(--font-primary);
      font-size: 0.9rem;
      font-weight: 600;
      padding: 12px 26px;
      border-radius: var(--radius-md);
      border: 1.5px solid var(--border-strong);
      transition: border-color var(--transition), background var(--transition);
    }
    .btn-outline:hover { border-color: var(--accent); background: var(--accent-glow); }

    /* =============================================
       TOPBAR
    ============================================= */
    .topbar {
      background: var(--topbar-bg);
      padding: 9px 0;
      font-size: 0.82rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    [data-theme="light"] .topbar { background: #0D1733; }

    .topbar .container { display: flex; justify-content: space-between; align-items: center; }

    .topbar-contact { display: flex; gap: 24px; }
    .topbar-contact a {
      display: flex;
      align-items: center;
      gap: 6px;
      color: rgba(255,255,255,0.65);
      font-size: 0.82rem;
      transition: color var(--transition);
    }
    .topbar-contact a:hover { color: #fff; }
    .topbar-contact a i { font-size: 13px; }

    .topbar-right { display: flex; align-items: center; gap: 20px; }

    .topbar-social { display: flex; gap: 14px; }
    .topbar-social a {
      color: rgba(255,255,255,0.5);
      font-size: 14px;
      transition: color var(--transition);
    }
    .topbar-social a:hover { color: var(--accent-light); }

    /* =============================================
       THEME TOGGLE
    ============================================= */
    .theme-toggle {
      width: 44px;
      height: 24px;
      background: rgba(255,255,255,0.1);
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.15);
      position: relative;
      cursor: pointer;
      transition: background var(--transition);
      display: flex;
      align-items: center;
      padding: 3px;
      flex-shrink: 0;
    }
    .theme-toggle::before {
      content: '';
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #fff;
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }
    [data-theme="light"] .theme-toggle::before { transform: translateX(20px); }
    [data-theme="light"] .theme-toggle { background: rgba(59,130,246,0.3); }

    .theme-toggle-label {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.55);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .theme-toggle-label i { font-size: 13px; }

    /* =============================================
       HEADER / NAV
    ============================================= */
    #header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--header-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      transition: background var(--transition), box-shadow var(--transition);
    }
    #header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.2); }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .logo-icon {
      width: 36px;
      height: 36px;
      background: var(--accent);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .logo-icon svg { width: 20px; height: 20px; }
    .logo-text {
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.02em;
    }
    .logo-text span { color: var(--accent); }

    /* Main Nav */
    #navmenu { display: flex; align-items: center; }
    #navmenu > ul {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    #navmenu > ul > li { position: relative; }
    #navmenu > ul > li > a {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 8px 14px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      border-radius: var(--radius-sm);
      transition: color var(--transition), background var(--transition);
      white-space: nowrap;
    }
    #navmenu > ul > li > a:hover,
    #navmenu > ul > li > a.active {
      color: var(--text-primary);
      background: rgba(255,255,255,0.06);
    }
    [data-theme="light"] #navmenu > ul > li > a:hover,
    [data-theme="light"] #navmenu > ul > li > a.active {
      background: rgba(0,0,0,0.05);
    }
    #navmenu > ul > li > a.active { color: var(--accent); }

    /* MEGA MENU */
    .mega-menu-wrap { position: relative; }
    .mega-menu-wrap::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      height: 14px;
      display: block;
      pointer-events: none;
      z-index: 1999;
    }
    .mega-menu-wrap:hover::after,
    .mega-menu-wrap:focus-within::after {
      pointer-events: auto;
    }
    .mega-menu {
      position: absolute;
      top: calc(100% + 6px);
      left: 50%;
      transform: translateX(-50%) translateY(8px);
      width: 720px;
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      padding: 24px;
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr;
      gap: 0;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      z-index: 2000;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }
    .mega-menu-wrap:hover .mega-menu,
    .mega-menu-wrap:focus-within .mega-menu,
    .mega-menu-wrap.mega-open .mega-menu,
    .mega-menu:hover {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }

    .mega-col { padding: 0 20px; }
    .mega-col:first-child { padding-left: 0; border-right: 1px solid var(--border); }
    .mega-col:nth-child(2) { border-right: 1px solid var(--border); }
    .mega-col:last-child { padding-right: 0; }

    .mega-col-title {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .mega-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 10px 10px;
      border-radius: var(--radius-sm);
      transition: background var(--transition);
      margin-bottom: 2px;
    }
    .mega-item:hover { background: rgba(59,130,246,0.08); }
    .mega-item-icon {
      width: 34px;
      height: 34px;
      border-radius: var(--radius-sm);
      background: var(--why-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--accent-light);
      font-size: 15px;
    }
    .mega-item-text h4 {
      font-family: var(--font-primary);
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 2px;
    }
    .mega-item-text p {
      font-size: 0.75rem;
      color: var(--text-muted);
      line-height: 1.4;
      margin: 0;
    }

    .mega-cta {
      grid-column: 1 / -1;
      border-top: 1px solid var(--border);
      margin-top: 16px;
      padding-top: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .mega-cta p { font-size: 0.83rem; margin: 0; color: var(--text-secondary); }
    .mega-cta a {
      font-size: 0.83rem;
      font-weight: 600;
      color: var(--accent-light);
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .mega-cta a:hover { text-decoration: underline; }

    .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .cta-header-btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--accent);
      color: #fff;
      font-size: 0.85rem;
      font-weight: 600;
      padding: 9px 20px;
      border-radius: var(--radius-md);
      border: 1.5px solid var(--accent);
      transition: background var(--transition), transform var(--transition);
      white-space: nowrap;
    }
    .cta-header-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

    .customer-mobile-profile,
    .customer-mobile-only {
      display: none;
    }

    .customer-profile-menu {
      position: relative;
      z-index: 2200;
    }

    .customer-profile-trigger {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 44px;
      max-width: 250px;
      padding: 5px 10px 5px 6px;
      color: var(--text-primary);
      background: rgba(255,255,255,0.055);
      border: 1px solid var(--border-strong);
      border-radius: 999px;
      box-shadow: 0 10px 24px rgba(15,23,42,0.12);
      transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
    }

    [data-theme="light"] .customer-profile-trigger {
      background: rgba(255,255,255,0.82);
      box-shadow: 0 10px 28px rgba(15,23,42,0.08);
    }

    .customer-profile-trigger:hover,
    .customer-profile-menu.is-open .customer-profile-trigger {
      transform: translateY(-1px);
      border-color: rgba(96,165,250,0.55);
      background: rgba(59,130,246,0.11);
      box-shadow: 0 14px 34px rgba(37,99,235,0.18);
    }

    .customer-avatar {
      display: inline-grid;
      place-items: center;
      width: 34px;
      height: 34px;
      flex: 0 0 34px;
      color: #fff;
      background: linear-gradient(135deg, #2563eb 0%, #06b6d4 52%, #22c55e 100%);
      border: 1px solid rgba(255,255,255,0.26);
      border-radius: 50%;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.26), 0 8px 20px rgba(37,99,235,0.26);
      font-size: 0.88rem;
      font-weight: 900;
      line-height: 1;
      text-transform: uppercase;
    }

    .customer-avatar.large {
      width: 46px;
      height: 46px;
      flex-basis: 46px;
      font-size: 1.05rem;
    }

    .customer-trigger-copy {
      display: grid;
      min-width: 0;
      text-align: left;
      line-height: 1.15;
    }

    .customer-trigger-copy strong {
      max-width: 135px;
      overflow: hidden;
      color: var(--text-primary);
      font-size: 0.82rem;
      font-weight: 800;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .customer-trigger-copy small {
      max-width: 135px;
      overflow: hidden;
      color: var(--text-muted);
      font-size: 0.68rem;
      font-weight: 700;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .customer-dropdown-arrow {
      color: var(--text-muted);
      font-size: 0.76rem;
      transition: transform var(--transition), color var(--transition);
    }

    .customer-profile-menu.is-open .customer-dropdown-arrow {
      color: var(--accent-light);
      transform: rotate(180deg);
    }

    .customer-dropdown {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      width: min(336px, calc(100vw - 24px));
      overflow: hidden;
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: 16px;
      box-shadow: 0 24px 70px rgba(0,0,0,0.28);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(8px) scale(0.98);
      transform-origin: top right;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .customer-profile-menu.is-open .customer-dropdown {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }

    .customer-dropdown-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
      padding: 18px;
      background:
        linear-gradient(135deg, rgba(37,99,235,0.18), rgba(34,197,94,0.08)),
        var(--bg-card);
      border-bottom: 1px solid var(--border);
    }

    .customer-dropdown-head strong,
    .customer-mobile-card strong {
      display: block;
      overflow: hidden;
      color: var(--text-primary);
      font-size: 0.94rem;
      font-weight: 900;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .customer-dropdown-head span,
    .customer-mobile-card span {
      display: block;
      overflow: hidden;
      color: var(--text-secondary);
      font-size: 0.78rem;
      line-height: 1.35;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .customer-dropdown-head em {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin-top: 7px;
      padding: 4px 8px;
      color: #86efac;
      background: rgba(34,197,94,0.13);
      border: 1px solid rgba(34,197,94,0.24);
      border-radius: 999px;
      font-size: 0.66rem;
      font-style: normal;
      font-weight: 900;
      line-height: 1;
      text-transform: uppercase;
    }

    [data-theme="light"] .customer-dropdown-head em {
      color: #15803d;
      background: rgba(34,197,94,0.12);
    }

    .customer-signout-link {
      color: var(--accent-light);
      font-size: 0.72rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .customer-signout-link:hover {
      color: var(--text-primary);
    }

    .customer-dropdown-links {
      display: grid;
      gap: 3px;
      padding: 8px;
    }

    .customer-dropdown-links a {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 42px;
      padding: 10px 11px;
      color: var(--text-secondary);
      border-radius: 10px;
      font-size: 0.86rem;
      font-weight: 700;
      transition: color var(--transition), background var(--transition), transform var(--transition);
    }

    .customer-dropdown-links a:hover {
      color: var(--text-primary);
      background: rgba(59,130,246,0.1);
      transform: translateX(2px);
    }

    .customer-dropdown-links i {
      display: inline-grid;
      place-items: center;
      width: 26px;
      height: 26px;
      flex: 0 0 26px;
      color: var(--accent-light);
      background: var(--why-icon-bg);
      border-radius: 8px;
      font-size: 0.9rem;
    }

    /* Mobile nav toggle */
    .mobile-toggle {
      display: none;
      background: none;
      border: 1.5px solid var(--border-strong);
      color: var(--text-primary);
      font-size: 18px;
      width: 44px;
      height: 44px;
      border-radius: var(--radius-sm);
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      z-index: 1002;
    }

    /* =============================================
       HERO
    ============================================= */
    .hero-section {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: var(--bg-surface);
      position: relative;
      overflow: hidden;
      padding: 120px 0 80px;
    }

    /* Animated grid background */
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    .hero-glow {
      position: absolute;
      width: 700px;
      height: 700px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
      top: -100px;
      right: -100px;
      pointer-events: none;
    }
    .hero-glow-2 {
      position: absolute;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
      bottom: 100px;
      left: -50px;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent-light);
      background: rgba(59,130,246,0.1);
      border: 1px solid rgba(59,130,246,0.25);
      border-radius: 100px;
      padding: 6px 16px;
      margin-bottom: 20px;
    }
    .hero-badge::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-light);
      animation: pulse-dot 2s ease infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.8); }
    }

    .hero-title {
      font-size: clamp(2.4rem, 5vw, 3.8rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
      color: var(--text-primary);
    }
    .hero-title .accent { color: var(--accent); }
    .hero-title .accent-2 { 
      background: linear-gradient(135deg, #3B82F6, #8B5CF6);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-desc {
      font-size: 1.1rem;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 36px;
      max-width: 500px;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 48px;
      flex-wrap: wrap;
    }

    .hero-stats {
      display: flex;
      gap: 32px;
      padding-top: 32px;
      border-top: 1px solid var(--border);
    }
    .hero-stat strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1;
      margin-bottom: 4px;
    }
    .hero-stat span {
      font-size: 0.8rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Hero right visual */
    .hero-visual { position: relative; }

    .hero-terminal {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    .terminal-header {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      background: rgba(0,0,0,0.2);
      border-bottom: 1px solid var(--border);
    }
    .t-dot { width: 10px; height: 10px; border-radius: 50%; }
    .t-dot.red { background: #FF5F57; }
    .t-dot.yellow { background: #FEBC2E; }
    .t-dot.green { background: #28C840; }
    .t-path {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-left: 4px;
    }

    .terminal-body {
      padding: 20px 20px 24px;
    }
    .t-line {
      font-family: var(--font-mono);
      font-size: 0.82rem;
      line-height: 1.9;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .t-check { color: #28C840; }
    .t-key { color: #60A5FA; }
    .t-val { color: var(--text-secondary); }
    .t-purple { color: #A78BFA; }
    .t-yellow { color: #FBBF24; }
    .t-green { color: #34D399; }
    .cursor {
      display: inline-block;
      width: 8px;
      height: 14px;
      background: var(--accent-light);
      animation: blink 1s step-end infinite;
      vertical-align: middle;
      border-radius: 1px;
    }
    @keyframes blink { 50% { opacity: 0; } }

    .hero-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 14px;
    }
    .hero-mini-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 14px 16px;
    }
    .hero-mini-card .label {
      font-size: 0.72rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 6px;
    }
    .hero-mini-card .value {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1;
      margin-bottom: 4px;
    }
    .hero-mini-card .trend {
      font-size: 0.75rem;
      color: #34D399;
      display: flex;
      align-items: center;
      gap: 3px;
    }
    .hero-mini-card .trend i { font-size: 11px; }

    /* =============================================
       MARQUEE / TRUST STRIP
    ============================================= */
    .marquee-section {
      padding: 28px 0;
      background: var(--bg-body);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }
    .marquee-label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 16px;
    }
    .marquee-track {
      display: flex;
      gap: 0;
      animation: marquee-scroll 30s linear infinite;
      width: max-content;
    }
    .marquee-track:hover { animation-play-state: paused; }
    .marquee-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0 32px;
      font-size: 0.83rem;
      font-weight: 600;
      color: var(--text-muted);
      white-space: nowrap;
    }
    .marquee-item::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }
    @keyframes marquee-scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* =============================================
       WHY / INTRO SECTION
    ============================================= */
    .why-intro-section {
      background: var(--bg-body);
    }
    .why-intro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 2px;
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
    }
    .why-intro-card {
      padding: 40px 32px;
      background: var(--bg-card);
      transition: background var(--transition);
      border-right: 1px solid var(--border);
    }
    .why-intro-card:last-child { border-right: none; }
    .why-intro-card:hover { background: var(--bg-card-hover); }
    .why-intro-card .wic-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      background: var(--why-icon-bg);
      border: 1px solid rgba(59,130,246,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--accent-light);
      margin-bottom: 20px;
    }
    .why-intro-card h3 {
      font-size: 1.1rem;
      margin-bottom: 10px;
      color: var(--text-primary);
    }
    .why-intro-card p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

    /* =============================================
       ABOUT SECTION
    ============================================= */
    .about-section { background: var(--bg-surface); }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .about-visual {
      position: relative;
    }
    .about-card-main {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-xl);
      padding: 40px;
      position: relative;
    }
    .about-card-main .acm-icon {
      width: 56px;
      height: 56px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.2));
      border: 1px solid rgba(59,130,246,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      color: var(--accent-light);
      margin-bottom: 20px;
    }
    .about-card-main h3 {
      font-size: 1.25rem;
      margin-bottom: 10px;
    }
    .about-card-main p { font-size: 0.9rem; margin: 0; }

    .about-float {
      position: absolute;
      bottom: -20px;
      right: -20px;
      background: var(--accent);
      color: #fff;
      border-radius: var(--radius-lg);
      padding: 16px 24px;
      text-align: center;
      box-shadow: 0 8px 30px rgba(59,130,246,0.4);
    }
    .about-float strong {
      display: block;
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 800;
      line-height: 1;
    }
    .about-float small { font-size: 0.75rem; opacity: 0.85; }

    .about-features { margin: 28px 0; }
    .about-features li {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
    }
    .about-features li:last-child { border-bottom: none; }
    .about-features li .feat-icon {
      width: 38px;
      height: 38px;
      border-radius: var(--radius-sm);
      background: var(--why-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      color: var(--accent-light);
      flex-shrink: 0;
      margin-top: 2px;
    }
    .about-features li h4 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; }
    .about-features li p { font-size: 0.85rem; margin: 0; }

    /* =============================================
       STATS SECTION
    ============================================= */
    .stats-section {
      background: var(--bg-card);
      padding: 60px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
    }
    .stat-item {
      background: var(--bg-surface);
      text-align: center;
      padding: 40px 24px;
      transition: background var(--transition);
    }
    .stat-item:hover { background: var(--bg-card-hover); }
    .stat-item .si-icon {
      font-size: 24px;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .stat-item .si-num {
      font-family: var(--font-display);
      font-size: 2.8rem;
      font-weight: 800;
      color: var(--text-primary);
      line-height: 1;
      margin-bottom: 8px;
    }
    .stat-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

    /* =============================================
       SERVICES SECTION
    ============================================= */
    .services-section { background: var(--bg-body); }
    .services-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 56px;
    }
    .services-header-left { max-width: 520px; }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
    }
    .service-card {
      background: var(--bg-card);
      padding: 36px 32px;
      display: block;
      transition: background var(--transition);
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 3px;
      height: 0;
      background: var(--accent);
      transition: height 0.35s ease;
    }
    .service-card:hover { background: var(--bg-card-hover); }
    .service-card:hover::before { height: 100%; }

    .sc-icon {
      width: 52px;
      height: 52px;
      border-radius: var(--radius-md);
      background: var(--why-icon-bg);
      border: 1px solid rgba(59,130,246,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      color: var(--accent-light);
      margin-bottom: 20px;
      transition: background var(--transition), color var(--transition);
    }
    .service-card:hover .sc-icon { background: var(--accent); color: #fff; border-color: var(--accent); }

    .service-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text-primary); }
    .service-card p { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: 20px; }
    .sc-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--accent-light);
      transition: gap var(--transition);
    }
    .service-card:hover .sc-link { gap: 10px; }

    /* =============================================
       WHY CHOOSE US
    ============================================= */
    .why-section { background: var(--bg-surface); }
    .why-header { margin-bottom: 56px; }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .why-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px 28px;
      transition: border-color var(--transition), box-shadow var(--transition);
    }
    .why-card:hover {
      border-color: rgba(59,130,246,0.3);
      box-shadow: 0 4px 24px rgba(59,130,246,0.08);
    }
    .wc-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      background: var(--why-icon-bg);
      border: 1px solid rgba(59,130,246,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--accent-light);
      margin-bottom: 18px;
    }
    .why-card h3 { font-size: 1rem; margin-bottom: 10px; }
    .why-card p { font-size: 0.87rem; color: var(--text-secondary); margin: 0; line-height: 1.65; }

    /* =============================================
       PROCESS SECTION
    ============================================= */
    .process-section { background: var(--bg-body); }
    .process-header { text-align: center; margin-bottom: 64px; }
    .process-header .section-sub { margin: 0 auto; }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 0;
      position: relative;
    }
    .process-grid::before {
      content: '';
      position: absolute;
      top: 32px;
      left: calc(100%/12);
      right: calc(100%/12);
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
      z-index: 0;
    }

    .process-step {
      text-align: center;
      padding: 0 16px;
      position: relative;
      z-index: 1;
    }
    .ps-icon-wrap {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      position: relative;
      transition: border-color var(--transition), background var(--transition);
    }
    .ps-icon-wrap:hover { border-color: var(--accent); background: var(--accent-glow); }
    .ps-num {
      position: absolute;
      top: -8px;
      right: -8px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .ps-icon-wrap i {
      font-size: 24px;
      color: var(--accent-light);
    }
    .process-step h3 { font-size: 0.9rem; margin-bottom: 6px; }
    .process-step p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

    /* =============================================
       PORTFOLIO SECTION
    ============================================= */
    .portfolio-section { background: var(--bg-surface); }
    .portfolio-header { margin-bottom: 40px; }

    .pf-filters {
      display: flex;
      gap: 8px;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }
    .pf-btn {
      padding: 8px 18px;
      border-radius: 100px;
      font-size: 0.83rem;
      font-weight: 600;
      border: 1.5px solid var(--border-strong);
      color: var(--text-secondary);
      background: transparent;
      transition: all var(--transition);
    }
    .pf-btn.active, .pf-btn:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .pf-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color var(--transition), transform var(--transition);
    }
    .pf-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-4px); }

    .pf-preview {
      height: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .pf-preview.ecommerce { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
    .pf-preview.crm { background: linear-gradient(135deg, #0d1117 0%, #1a2d1a 50%, #2d4a1e 100%); }
    .pf-preview.business { background: linear-gradient(135deg, #2d1a3e 0%, #3d1a5e 50%, #4a2080 100%); }

    /* Browser mockup inside portfolio */
    .pf-browser {
      width: 85%;
      background: rgba(255,255,255,0.07);
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.1);
    }
    .pf-browser-bar {
      display: flex;
      gap: 5px;
      padding: 7px 10px;
      background: rgba(0,0,0,0.2);
      align-items: center;
    }
    .pf-browser-bar span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
    }
    .pf-browser-bar span:nth-child(1) { background: #FF5F57; }
    .pf-browser-bar span:nth-child(2) { background: #FEBC2E; }
    .pf-browser-bar span:nth-child(3) { background: #28C840; }
    .pf-browser-content { padding: 12px; }
    .pf-browser-line { height: 7px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 6px; }
    .pf-browser-line.short { width: 60%; }
    .pf-browser-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; margin-top: 8px; }
    .pf-browser-grid span { height: 30px; background: rgba(255,255,255,0.1); border-radius: 4px; }

    /* Dashboard mockup */
    .pf-dashboard {
      width: 85%;
      background: rgba(0,0,0,0.3);
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.1);
      display: flex;
    }
    .pf-dash-sidebar { width: 28%; background: rgba(0,0,0,0.3); padding: 8px; }
    .pf-dash-sidebar span { display: block; height: 5px; background: rgba(255,255,255,0.15); border-radius: 2px; margin-bottom: 5px; }
    .pf-dash-main { flex: 1; padding: 10px; }
    .pf-dash-bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
    .pf-dash-bars span { flex: 1; border-radius: 2px 2px 0 0; background: rgba(52,211,153,0.6); }

    /* Phone mockup */
    .pf-phone {
      width: 55px;
      height: 100px;
      background: rgba(255,255,255,0.08);
      border-radius: 10px;
      border: 1.5px solid rgba(255,255,255,0.15);
      padding: 8px 6px;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .pf-phone-notch { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; width: 40%; margin: 0 auto 4px; }
    .pf-phone-lines span { display: block; height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; margin-bottom: 4px; }
    .pf-phone-lines span.short { width: 60%; }

    .pf-body { padding: 20px 22px; }
    .pf-tags { display: flex; gap: 6px; margin-bottom: 10px; }
    .pf-tag {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--accent-light);
      background: var(--tag-bg);
      border: 1px solid rgba(59,130,246,0.2);
      padding: 3px 10px;
      border-radius: 100px;
    }
    .pf-body h3 { font-size: 0.95rem; margin-bottom: 6px; }
    .pf-body p { font-size: 0.82rem; margin: 0; }

    /* =============================================
       INDUSTRIES SECTION
    ============================================= */
    .industries-section { background: var(--bg-body); }
    .industries-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
      margin-top: 56px;
    }
    .industry-card {
      background: var(--bg-card);
      padding: 32px 28px;
      transition: background var(--transition);
    }
    .industry-card:hover { background: var(--bg-card-hover); }
    .ind-icon {
      font-size: 28px;
      color: var(--accent-light);
      margin-bottom: 14px;
      display: block;
    }
    .industry-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
    .industry-card p { font-size: 0.83rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

    /* =============================================
       TECH SECTION
    ============================================= */
    .tech-section { background: var(--bg-surface); }
    .tech-header { margin-bottom: 48px; }

    .tech-categories { display: flex; flex-direction: column; gap: 28px; }
    .tech-row { }
    .tech-row-label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 12px;
    }
    .tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
    .tech-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 0.83rem;
      font-weight: 500;
      color: var(--text-secondary);
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-sm);
      padding: 7px 14px;
      transition: border-color var(--transition), color var(--transition), background var(--transition);
    }
    .tech-pill:hover { border-color: var(--accent); color: var(--text-primary); background: var(--accent-glow); }
    .tech-pill i { font-size: 15px; color: var(--accent-light); }

    /* =============================================
       TESTIMONIALS
    ============================================= */
    .testimonials-section { background: var(--bg-body); }
    .testimonials-header { text-align: center; margin-bottom: 56px; }
    .testimonials-header .section-sub { margin: 0 auto; }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .testimonial-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px;
      position: relative;
      transition: border-color var(--transition);
    }
    .testimonial-card:hover { border-color: rgba(59,130,246,0.25); }

    .testi-quote {
      position: absolute;
      top: 20px;
      right: 24px;
      font-size: 48px;
      color: rgba(59,130,246,0.12);
      font-family: Georgia, serif;
      line-height: 1;
    }

    .stars { display: flex; gap: 3px; margin-bottom: 16px; }
    .stars i { font-size: 14px; color: #FBBF24; }

    .testimonial-card p.quote {
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--text-secondary);
      margin-bottom: 24px;
      font-style: italic;
    }

    .client-info { display: flex; align-items: center; gap: 12px; }
    .client-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), #8B5CF6);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 700;
      color: #fff;
      flex-shrink: 0;
    }
    .client-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
    .client-info small { font-size: 0.78rem; color: var(--text-muted); }

    /* =============================================
       CTA SECTION
    ============================================= */
    .cta-section {
      background: var(--bg-surface);
      padding: 80px 0;
    }
    .cta-panel {
      background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 40%, #7C3AED 100%);
      border-radius: var(--radius-xl);
      padding: 64px 72px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 40px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .cta-panel::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: rgba(255,255,255,0.05);
      top: -100px;
      right: -100px;
      pointer-events: none;
    }
    .cta-panel::after {
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
      bottom: -50px;
      left: 200px;
    }

    .cta-kicker {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.65);
      margin-bottom: 12px;
    }
    .cta-panel h2 {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      color: #fff;
      margin-bottom: 10px;
    }
    .cta-panel p { color: rgba(255,255,255,0.75); font-size: 1rem; margin: 0; max-width: 480px; }
    .cta-buttons {
      display: flex;
      gap: 12px;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }
    .cta-btn-white {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      color: #1D4ED8;
      font-size: 0.9rem;
      font-weight: 700;
      padding: 13px 28px;
      border-radius: var(--radius-md);
      transition: transform var(--transition), box-shadow var(--transition);
      white-space: nowrap;
    }
    .cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

    .cta-btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: #fff;
      font-size: 0.9rem;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: var(--radius-md);
      border: 1.5px solid rgba(255,255,255,0.3);
      transition: background var(--transition);
      white-space: nowrap;
    }
    .cta-btn-ghost:hover { background: rgba(255,255,255,0.1); }

    /* =============================================
       FOOTER
    ============================================= */
    .footer {
      background: var(--footer-bg);
      padding: 80px 0 0;
      border-top: 1px solid var(--border);
    }
    [data-theme="light"] .footer { background: #0D1733; }

    .footer-grid {
      display: grid;
      grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(150px, 1fr));
      gap: 34px;
      margin-bottom: 64px;
      align-items: start;
    }

    .footer-brand .logo-text { color: #fff; }
    .footer-brand,
    .footer-col {
      min-width: 0;
    }
    .footer-brand p {
      font-size: 0.87rem;
      color: rgba(255,255,255,0.5);
      line-height: 1.7;
      margin: 16px 0 24px;
    }
    .footer-contact-info p {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.45);
      margin-bottom: 6px;
      line-height: 1.5;
    }
    .footer-contact-info a {
      color: rgba(255,255,255,0.55);
      transition: color var(--transition);
    }
    .footer-contact-info a:hover { color: var(--accent-light); }

    .footer-social {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
    .footer-social a {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.5);
      font-size: 14px;
      transition: background var(--transition), color var(--transition);
    }
    .footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

    .footer-col h4 {
      font-family: var(--font-primary);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #fff;
      margin-bottom: 18px;
    }
    .footer-col ul {
      display: grid;
      gap: 11px;
      margin: 0;
      padding: 0;
    }
    .footer-col ul li {
      margin: 0;
      line-height: 1.45;
    }
    .footer-col ul li a {
      display: inline-flex;
      align-items: center;
      font-size: 0.87rem;
      color: rgba(255,255,255,0.55);
      transition: color var(--transition), transform var(--transition);
    }
    .footer-col ul li a:hover {
      color: #fff;
      transform: translateX(4px);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 24px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-bottom p {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.35);
      margin: 0;
    }

    .footer-legal {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 12px;
      max-width: 620px;
    }

    .footer-legal p {
      line-height: 1.55;
    }

    /* =============================================
       SCROLL TO TOP
    ============================================= */
    #scroll-top {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 44px;
      height: 44px;
      background: var(--accent);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      box-shadow: 0 4px 16px rgba(59,130,246,0.4);
      opacity: 0;
      transform: translateY(16px);
      transition: opacity var(--transition), transform var(--transition);
      z-index: 900;
      pointer-events: none;
    }
    #scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
    #scroll-top:hover { background: var(--accent-dark); }

    /* =============================================
       PRELOADER
    ============================================= */
    #preloader {
      position: fixed;
      inset: 0;
      background: var(--bg-body);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.4s ease;
    }
    #preloader.done { opacity: 0; pointer-events: none; }
    .preloader-ring {
      width: 44px;
      height: 44px;
      border: 3px solid var(--border-strong);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* =============================================
       AOS (reveal animations)
    ============================================= */
    [data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
    [data-aos].in-view { opacity: 1; transform: translateY(0); }
    [data-aos][data-delay="100"] { transition-delay: 0.1s; }
    [data-aos][data-delay="200"] { transition-delay: 0.2s; }
    [data-aos][data-delay="300"] { transition-delay: 0.3s; }

    /* =============================================
       RESPONSIVE
    ============================================= */
    @media (max-width: 1199px) {
      .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 36px 30px;
      }
      .footer-brand {
        grid-column: 1 / -1;
        max-width: 760px;
      }
    }

    @media (max-width: 1024px) {
      .hero-content { grid-template-columns: 1fr; gap: 48px; }
      .hero-visual { display: none; }
      .about-grid { grid-template-columns: 1fr; gap: 48px; }
      .about-visual { order: 2; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .why-grid { grid-template-columns: repeat(2, 1fr); }
      .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 32px; }
      .process-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
      .process-grid::before { display: none; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .cta-panel { grid-template-columns: 1fr; gap: 24px; padding: 48px; }
      .industries-grid { grid-template-columns: repeat(2, 1fr); }
      .testimonials-grid { grid-template-columns: 1fr; }
      .why-intro-grid { grid-template-columns: 1fr; }
      .mega-menu { width: 360px; grid-template-columns: 1fr; left: 0; transform: translateY(8px); }
      .mega-menu-wrap:hover .mega-menu,
      .mega-menu-wrap:focus-within .mega-menu,
      .mega-menu-wrap.mega-open .mega-menu,
      .mega-menu:hover { transform: translateY(0); }
    }

    @media (max-width: 1100px) {
      section { padding: 72px 0; }
      #navmenu > ul { display: none; }
      body.mobile-menu-lock {
        overflow: hidden;
        touch-action: none;
      }
      body.mobile-menu-lock::before {
        content: '';
        position: fixed;
        top: var(--mobile-menu-top, 68px);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.45);
        z-index: 998;
      }
      #navmenu > ul.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--mobile-menu-top, 68px);
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: calc(100vh - var(--mobile-menu-top, 68px) - 12px);
        height: calc(100dvh - var(--mobile-menu-top, 68px) - 12px);
        background: var(--bg-surface);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-md);
        padding: 12px;
        z-index: 999;
        gap: 4px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        box-shadow: var(--shadow-lg);
      }
      #navmenu > ul.mobile-open > li {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
      }
      #navmenu > ul.mobile-open li a {
        min-height: 44px;
        padding: 11px 12px;
        font-size: 1rem;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
      }
      #navmenu > ul.mobile-open .customer-mobile-only {
        display: flex;
      }
      #navmenu > ul.mobile-open .mega-menu-wrap::after { display: none; }
      #navmenu > ul.mobile-open .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        max-height: 0;
        padding: 0 12px;
        margin-top: 0;
        overflow: hidden;
        grid-template-columns: 1fr;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        border-width: 0;
        border-radius: var(--radius-md);
        box-shadow: none;
        transition: max-height 0.25s ease, padding 0.25s ease, border-width 0.25s ease;
      }
      #navmenu > ul.mobile-open .mega-menu-wrap:hover .mega-menu,
      #navmenu > ul.mobile-open .mega-menu-wrap:focus-within .mega-menu,
      #navmenu > ul.mobile-open .mega-menu:hover {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        pointer-events: none;
        transform: none;
      }
      #navmenu > ul.mobile-open .mega-menu-wrap.mega-open .mega-menu {
        max-height: min(72vh, 980px);
        padding: 12px;
        border-width: 1px;
        overflow-y: auto;
        pointer-events: auto;
      }
      #navmenu > ul.mobile-open .mega-menu-wrap.mega-open > a .nav-chevron {
        transform: rotate(180deg);
      }
      #navmenu > ul.mobile-open .mega-col { padding: 0; border-right: 0; }
      #navmenu > ul.mobile-open .mega-item { min-height: 56px; padding: 10px 8px; }
      #navmenu > ul.mobile-open .mega-item-text h4,
      #navmenu > ul.mobile-open .mega-item-text p { overflow-wrap: anywhere; }
      #navmenu > ul.mobile-open .mega-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }
      .mobile-toggle { display: flex; }
      .customer-profile-trigger {
        max-width: 188px;
      }
      .customer-trigger-copy {
        display: none;
      }
      .customer-profile-trigger {
        padding-right: 9px;
      }
      .customer-dropdown {
        position: fixed;
        top: var(--mobile-menu-top, 78px);
        right: 12px;
        max-width: calc(100vw - 24px);
      }
      .topbar-contact a span { display: none; }
      .topbar-contact { gap: 12px; }
      .hero-section { min-height: auto; padding: 92px 0 64px; }
      .services-grid { grid-template-columns: 1fr; }
      .why-grid { grid-template-columns: 1fr; }
      .industries-grid { grid-template-columns: 1fr; }
      .testimonials-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
      }
      .portfolio-grid { grid-template-columns: 1fr; }
      .process-grid { grid-template-columns: repeat(2, 1fr); }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-stats { gap: 16px; flex-wrap: wrap; }
      .hero-stat { flex: 1 1 calc(50% - 16px); min-width: 136px; }
      .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
      .pf-filters { overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
      .pf-btn { flex: 0 0 auto; }
      .cta-panel { padding: 36px 28px; }
      .cta-buttons { flex-direction: column; }
      .cta-btn-white,
      .cta-btn-ghost { justify-content: center; width: 100%; }
    }

    @media (max-width: 576px) {
      .topbar {
        display: none;
      }

      .header-inner {
        height: 70px;
        gap: 12px;
      }

      .header-right {
        display: none;
      }

      #navmenu > ul.mobile-open .customer-mobile-profile {
        display: grid;
        gap: 4px;
        padding: 6px 0 10px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 4px;
      }

      #navmenu > ul.mobile-open .customer-mobile-profile > a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-secondary);
        border-radius: var(--radius-sm);
      }

      #navmenu > ul.mobile-open .customer-mobile-profile > a:hover,
      #navmenu > ul.mobile-open .customer-mobile-profile > a.active {
        color: var(--text-primary);
        background: rgba(59,130,246,0.1);
      }

      #navmenu > ul.mobile-open .customer-mobile-profile > a i {
        width: 20px;
        color: var(--accent-light);
      }

      #navmenu > ul.mobile-open .customer-mobile-card {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        margin-bottom: 6px;
        padding: 12px;
        background: rgba(59,130,246,0.08);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
      }

      #navmenu > ul.mobile-open .customer-mobile-card > div {
        min-width: 0;
      }

      .logo-text {
        font-size: 1.02rem;
      }

      .hero-title {
        font-size: clamp(2.15rem, 12vw, 2.85rem);
        overflow-wrap: anywhere;
      }

      .hero-desc,
      .section-sub {
        overflow-wrap: anywhere;
      }

      .hero-actions,
      .hero-actions a,
      .services-header .btn-outline {
        width: 100%;
      }

      .hero-actions a,
      .services-header .btn-outline,
      .utility-center-top .btn-primary {
        justify-content: center;
      }

      .process-grid,
      .stats-grid {
        grid-template-columns: 1fr;
      }

      .marquee-item {
        padding: 0 18px;
        font-size: 0.84rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .marquee-track,
      .hero-badge::before,
      .cursor {
        animation: none;
      }
      [data-aos] {
        opacity: 1;
        transform: none;
      }
    }
/* =============================================
   SHARED PAGE THEME & COMPATIBILITY
============================================= */
html:not([data-theme]) {
  color-scheme: dark;
}

body.site-page {
  background:
    radial-gradient(circle at 12% 8%, var(--accent-glow), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(96,165,250,0.09), transparent 26rem),
    var(--bg-body);
}

body.site-page .header,
header.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.site-page .branding {
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

body.site-page .branding .container {
  min-height: 76px;
}

body.site-page .brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

body.site-page .brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

body.site-page .brand-tagline {
  margin-top: 5px;
  max-width: 280px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

body.site-page .contact-info,
body.site-page .social-links {
  gap: 16px;
}

body.site-page .contact-info i,
body.site-page .contact-info a,
body.site-page .contact-info span,
body.site-page .social-links a {
  color: rgba(255,255,255,0.66);
  font-style: normal;
  font-size: 0.82rem;
}

body.site-page .contact-info i {
  gap: 6px;
}

body.site-page .social-links a:hover,
body.site-page .contact-info a:hover {
  color: #fff;
}

body.site-page .navmenu > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

body.site-page .navmenu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

body.site-page .navmenu a:hover,
body.site-page .navmenu a.active {
  color: var(--text-primary);
  background: var(--accent-glow);
}

body.site-page .navmenu .dropdown {
  position: relative;
}

body.site-page .navmenu .dropdown > ul {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 4px;
  width: min(320px, 92vw);
  padding: 10px;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

body.site-page .navmenu .dropdown:hover > ul,
body.site-page .navmenu .dropdown:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.site-page .navmenu .dropdown > ul a {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  font-size: 0.86rem;
}

body.site-page .navmenu .dropdown > ul i {
  color: var(--accent-light);
}

body.site-page .cta-btn,
body.site-page .btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 11px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 34px rgba(59,130,246,0.22);
}

body.site-page .cta-btn:hover,
body.site-page .btn-primary-gradient:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(59,130,246,0.32);
}

body.site-page .inner-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 82px;
  background:
    linear-gradient(135deg, rgba(59,130,246,0.13), transparent 44%),
    linear-gradient(180deg, var(--bg-surface), var(--bg-body));
  border-bottom: 1px solid var(--border);
}

body.site-page .inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 72% 72% at 50% 30%, black 8%, transparent 76%);
}

body.site-page .inner-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

body.site-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.site-page .inner-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

body.site-page .inner-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 1.1rem;
}

body.site-page .light-background,
body.site-page .section {
  background: transparent;
}

body.site-page .section-title {
  max-width: 760px;
  margin-bottom: 36px;
}

body.site-page .section-title.text-center,
body.site-page .container.section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body.site-page .container.section-title p {
  margin-left: auto;
  margin-right: auto;
}

body.site-page .service-item,
body.site-page .choice-card,
body.site-page .project-card,
body.site-page .blog-card,
body.site-page .info-item,
body.site-page .about-main-card,
body.site-page .value-card,
body.site-page .feature-card,
body.site-page .process-card {
  height: 100%;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

body.site-page .service-item:hover,
body.site-page .choice-card:hover,
body.site-page .project-card:hover,
body.site-page .blog-card:hover,
body.site-page .info-item:hover,
body.site-page .feature-card:hover,
body.site-page .process-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(59,130,246,0.28);
  box-shadow: var(--shadow-md);
}

body.site-page .service-item .icon,
body.site-page .choice-card > i,
body.site-page .info-item > i,
body.site-page .about-main-card > i,
body.site-page .feature-card > i,
body.site-page .process-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  color: var(--accent-light);
  background: var(--why-icon-bg);
  font-size: 1.35rem;
}

body.site-page .service-item h2,
body.site-page .choice-card h3,
body.site-page .info-item h2,
body.site-page .blog-card h2,
body.site-page .project-card h2,
body.site-page .feature-card h3,
body.site-page .process-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

body.site-page .service-item p,
body.site-page .choice-card p,
body.site-page .info-item p,
body.site-page .blog-card p,
body.site-page .project-card p,
body.site-page .feature-card p,
body.site-page .process-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

body.site-page .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.9rem;
}

body.site-page .about-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

body.site-page .about-floating-card {
  position: absolute;
  right: 8%;
  bottom: 8%;
  display: grid;
  gap: 3px;
  max-width: 180px;
  padding: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

body.site-page .about-floating-card span,
body.site-page .stats-item span {
  display: block;
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

body.site-page .about-floating-card small {
  color: rgba(255,255,255,0.84);
  line-height: 1.35;
}

body.site-page .stats .row > div {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

body.site-page .stats .row {
  row-gap: 24px;
}

body.site-page .stats i {
  margin-bottom: 14px;
  color: var(--accent-light);
  font-size: 2rem;
}

body.site-page .stats-item p {
  margin: 8px 0 0;
}

body.site-page .cta-panel,
body.site-page .footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(96,165,250,0.08));
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: var(--radius-xl);
}

body.site-page .cta-panel h2,
body.site-page .footer-newsletter h3 {
  margin-bottom: 8px;
}

body.site-page .contact .php-email-form,
body.site-page .php-email-form {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

body.site-page .form-control,
body.site-page input,
body.site-page textarea,
body.site-page select {
  min-height: 48px;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

body.site-page textarea.form-control {
  min-height: 150px;
}

body.site-page .form-control:focus,
body.site-page input:focus,
body.site-page textarea:focus,
body.site-page select:focus {
  color: var(--text-primary);
  background: var(--bg-input);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

body.site-page .map-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  margin-top: 24px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

body.site-page .map-placeholder i {
  color: var(--accent-light);
  font-size: 2rem;
}

body.site-page .footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.78);
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.site-page .footer .footer-top {
  padding-top: 72px;
}

body.site-page .footer h4,
body.site-page .footer h3,
body.site-page .footer .sitename {
  color: #fff;
}

body.site-page .footer p,
body.site-page .footer a,
body.site-page .footer span,
body.site-page .footer .credits {
  color: rgba(255,255,255,0.66);
}

body.site-page .footer a:hover {
  color: var(--accent-light);
}

body.site-page .footer-links ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
}

body.site-page .footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}

.utility-center { text-align: center; }
.utility-center-block { text-align: center; margin-bottom: 48px; }
.utility-center-top { text-align: center; margin-top: 48px; }
.utility-overflow-hidden { overflow: hidden; }
.utility-sub-center { margin-left: auto; margin-right: auto; }
.utility-sub-spaced { margin-bottom: 32px; }
.utility-btn-offset { margin-top: 32px; }
.theme-toggle-label { cursor: pointer; }
.nav-chevron { font-size: 10px; }
.t-line-launch { margin-top: 10px; }
.about-metrics { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-metric { text-align: center; padding: 16px; background: var(--bg-body); border-radius: var(--radius-md); }
.about-metric-value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.about-metric-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.pf-bar-45 { height: 45%; }
.pf-bar-78 { height: 78%; }
.pf-bar-60 { height: 60%; }
.pf-bar-92 { height: 92%; }
.pf-bar-55 { height: 55%; }
.pf-device-row { display: flex; gap: 14px; align-items: center; }
.pf-browser-narrow { width: 60%; }
.logo-icon-sm { width: 32px; height: 32px; }
.footer-muted-label { color: rgba(255,255,255,0.6); }

@media (max-width: 1199px) {
  body.site-page .mobile-toggle {
    display: flex;
  }

  body.site-page .mobile-nav-toggle {
    display: block;
  }

  body.site-page .navmenu > ul {
    position: fixed;
    inset: 114px 16px auto 16px;
    display: none;
    max-height: calc(100vh - 132px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  body.site-page #navmenu > ul {
    display: none;
  }

  body.site-page #navmenu > ul.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--mobile-menu-top, 68px);
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: calc(100vh - var(--mobile-menu-top, 68px) - 12px);
    height: calc(100dvh - var(--mobile-menu-top, 68px) - 12px);
    max-height: none;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 999;
  }

  body.site-page #navmenu > ul.mobile-open > li,
  body.site-page #navmenu > ul.mobile-open > li > a {
    display: flex;
    width: 100%;
    opacity: 1;
    visibility: visible;
  }

  body.site-page #navmenu > ul.mobile-open > li {
    flex-direction: column;
    align-items: stretch;
  }

  body.mobile-nav-active.site-page .navmenu > ul {
    display: flex;
  }

  body.mobile-nav-active.site-page #navmenu > ul {
    display: flex;
  }

  body.site-page .navmenu a {
    width: 100%;
    justify-content: space-between;
  }

  body.site-page .navmenu .dropdown > ul {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    border-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.03);
  }

  body.site-page .navmenu .dropdown > a.active + ul,
  body.site-page .navmenu .dropdown > ul.dropdown-active {
    max-height: 700px;
    padding: 10px;
    border-width: 1px;
  }
}

@media (max-width: 768px) {
  body.site-page .topbar .container,
  .topbar .container {
    justify-content: center;
  }

  body.site-page .topbar .social-links,
  .topbar-social {
    display: none;
  }

  body.site-page .inner-hero {
    padding: 90px 0 58px;
  }

  body.site-page .service-item,
  body.site-page .choice-card,
  body.site-page .project-card,
  body.site-page .blog-card,
  body.site-page .info-item,
  body.site-page .contact .php-email-form {
    padding: 22px;
  }

  body.site-page .cta-panel,
  .home-final-cta .cta-panel,
  body.site-page .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  body.site-page,
  body.site-page .container,
  body.site-page .row,
  body.site-page [class*="col-"],
  body.site-page .info-item > div {
    min-width: 0;
  }

  body.site-page h1,
  body.site-page h2,
  body.site-page h3,
  body.site-page p,
  body.site-page li,
  body.site-page a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.site-page .topbar {
    display: none !important;
  }

  body.site-page .branding .container {
    min-height: 74px;
  }

  body.site-page .inner-hero h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
    line-height: 1.12;
  }

  body.site-page .inner-hero p,
  body.site-page .section-title p {
    font-size: 1rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  body.site-page .navmenu > ul {
    inset: 84px 12px auto 12px;
    max-height: calc(100vh - 104px);
  }
}

/* =============================================
   PORTFOLIO, BLOG & DETAIL CONTENT
============================================= */
body.site-page .portfolio-card {
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

body.site-page .portfolio-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(59,130,246,0.28);
  box-shadow: var(--shadow-md);
}

body.site-page .portfolio-visual {
  display: grid;
  place-items: center;
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(59,130,246,0.2), rgba(96,165,250,0.06)),
    var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

body.site-page .portfolio-visual i {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: var(--accent-light);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: var(--radius-lg);
  font-size: 1.8rem;
}

body.site-page .portfolio-card h2,
body.site-page .portfolio-card p,
body.site-page .portfolio-card a {
  margin-left: 26px;
  margin-right: 26px;
}

body.site-page .portfolio-card h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.16rem;
}

body.site-page .portfolio-card p {
  font-size: 0.94rem;
}

body.site-page .portfolio-card > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 26px;
  color: var(--accent-light);
  font-weight: 700;
}

body.site-page .blog-card > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.site-page .article-body {
  max-width: 860px;
}

body.site-page .article-body h2,
body.site-page .service-detail h2 {
  margin-top: 34px;
  margin-bottom: 12px;
}

body.site-page .article-body h2:first-child,
body.site-page .service-detail h2:first-child {
  margin-top: 0;
}

body.site-page .article-body p,
body.site-page .service-detail p {
  margin-bottom: 18px;
}

body.site-page .article-body a,
body.site-page .service-detail a:not(.btn-primary-gradient) {
  color: var(--accent-light);
  font-weight: 700;
}

body.site-page .check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 28px;
  padding: 0;
}

body.site-page .check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
}

body.site-page .check-list li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-light);
  font-family: "bootstrap-icons";
}

body.site-page .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 30px;
}

body.site-page .tech-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--text-primary);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

/* =============================================
   DATABASE PROVIDER MODULE
============================================= */
body.database-provider-page .database-hero .container {
  max-width: 900px;
}

body.database-provider-page .database-provider .section {
  padding: 46px 0;
}

body.database-provider-page .database-hero {
  padding: 78px 0 48px;
}

body.database-provider-page .database-hero .eyebrow {
  margin-bottom: 12px;
}

body.database-provider-page .database-hero h1 {
  margin-bottom: 14px;
}

body.database-provider-page .database-hero p {
  max-width: 780px;
}

body.database-provider-page .database-hero-cta {
  margin-top: 20px;
}

body.database-provider-page .database-breadcrumb,
body.blog-page .database-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

body.database-provider-page .database-breadcrumb a,
body.blog-page .database-breadcrumb a {
  color: var(--accent);
  font-weight: 700;
}

body.database-provider-page .database-breadcrumb span:not(:last-child)::after,
body.database-provider-page .database-breadcrumb a::after,
body.blog-page .database-breadcrumb span:not(:last-child)::after,
body.blog-page .database-breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-muted);
  font-weight: 500;
}

body.database-provider-page .database-intent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

body.database-provider-page .database-intent-copy,
body.database-provider-page .database-intent-panel {
  height: 100%;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .database-intent-copy h2 {
  margin: 0 0 12px;
}

body.database-provider-page .database-intent-copy p:last-child,
body.database-provider-page .database-intent-panel .check-list {
  margin-bottom: 0;
}

body.database-provider-page .database-intent-panel h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

body.database-provider-page .database-intro h2,
body.database-provider-page .database-order-copy h2,
body.database-provider-page .database-payment-card h2 {
  margin-top: 0;
}

body.database-provider-page .database-use-card,
body.database-provider-page .database-plan-card,
body.database-provider-page .database-order-wrap,
body.database-provider-page .database-payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .database-use-card {
  height: 100%;
  padding: 22px;
}

body.database-provider-page .database-use-card h2,
body.database-provider-page .database-use-card h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.35;
}

body.database-provider-page .database-use-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

body.database-provider-page .database-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.database-provider-page .database-tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.database-provider-page .database-tag-grid span,
body.database-provider-page .database-link-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .database-tag-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.database-provider-page .database-benefit-grid,
body.database-provider-page .database-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.database-provider-page .database-benefit-card,
body.database-provider-page .database-testimonial-card {
  height: 100%;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .database-benefit-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(59,130,246,0.12);
  font-size: 1.2rem;
}

body.database-provider-page .database-benefit-card h3,
body.database-provider-page .database-testimonial-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

body.database-provider-page .database-testimonial-card p {
  margin: 10px 0 14px;
  font-size: 0.94rem;
}

body.database-provider-page .database-testimonial-card span,
body.database-provider-page .database-rating {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

body.database-provider-page .database-rating {
  color: #f59e0b;
}

body.database-provider-page .database-links-card {
  max-width: 980px;
  margin: 0 auto;
}

body.database-provider-page .database-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

body.database-provider-page .database-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .database-comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

body.database-provider-page .database-comparison-table th,
body.database-provider-page .database-comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

body.database-provider-page .database-comparison-table th {
  color: var(--text);
  background: rgba(59,130,246,0.10);
  font-weight: 900;
}

body.database-provider-page .database-comparison-table td:first-child {
  color: var(--text);
  font-weight: 800;
}

body.database-provider-page .database-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.database-provider-page .database-step-card {
  height: 100%;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .database-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-weight: 900;
}

body.database-provider-page .database-step-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

body.database-provider-page .database-step-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

body.database-provider-page .database-final-cta {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

body.database-provider-page .database-final-cta h2 {
  margin-bottom: 10px;
}

body.database-provider-page .database-final-cta p {
  max-width: 760px;
  margin: 0 auto 18px;
}

body.database-provider-page .database-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

body.database-provider-page .database-mobile-sticky-cta {
  display: none;
}

/* Blog module */
body.blog-page .blog-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 22px;
}

body.blog-page .blog-search-bar input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

body.blog-page .blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

body.blog-page .blog-category-strip {
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.blog-page .blog-category-strip h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

body.blog-page .blog-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.blog-page .blog-category-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--text);
  background: rgba(15,23,42,0.34);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

body.blog-page .blog-category-chips a:hover,
body.blog-page .blog-category-chips a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border-color: rgba(125,211,252,0.45);
  transform: translateY(-1px);
}

body.blog-page .blog-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}

body.blog-page .blog-side-links {
  display: grid;
  gap: 10px;
}

body.blog-page .blog-side-links a {
  color: var(--text);
  font-weight: 800;
}

body.blog-page .blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

body.blog-page .blog-card-media,
body.blog-page .blog-card-media img,
body.blog-page .blog-card-placeholder {
  width: 100%;
  height: 190px;
}

body.blog-page .blog-card-media img {
  display: block;
  object-fit: cover;
}

body.blog-page .blog-card-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  color: #bfdbfe;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(14,165,233,0.12));
  border-bottom: 1px solid var(--border);
  font-weight: 900;
}

body.blog-page .blog-card-placeholder i {
  font-size: 2rem;
}

body.blog-page .blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

body.blog-page .blog-card-body > span {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.blog-page .blog-card-body .read-more {
  margin-top: auto;
  padding-top: 14px;
}

body.blog-page .blog-card-meta {
  margin: 10px 0 0;
  color: var(--text-muted);
}

body.blog-page .blog-sidebar-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.blog-page .blog-sidebar-card h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

body.blog-page .blog-recent-list {
  display: grid;
  gap: 12px;
}

body.blog-page .blog-recent-list article {
  padding: 13px;
  background: rgba(15,23,42,0.28);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

body.blog-page .blog-recent-list h3 {
  margin-bottom: 6px;
  font-size: 0.96rem;
  line-height: 1.35;
}

body.blog-page .blog-recent-list h3 a {
  color: var(--text);
}

body.blog-page .blog-recent-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

body.blog-page .blog-mini-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 900;
}

body.blog-page .blog-resource-card {
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(14,165,233,0.08));
}

body.blog-page .blog-hero-meta,
body.blog-page .blog-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.blog-page .blog-hero-meta span,
body.blog-page .blog-share a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
}

body.blog-page .blog-toc,
body.blog-page .blog-inline-cta,
body.blog-page .blog-author-box,
body.blog-page .blog-faq article {
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.blog-page .blog-toc a {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
}

body.blog-page .blog-toc .toc-level-3 {
  margin-left: 16px;
  font-size: 0.95rem;
}

body.blog-page .blog-inline-cta {
  display: grid;
  gap: 10px;
}

body.blog-page .blog-faq article h3,
body.blog-page .blog-related h3 {
  font-size: 1rem;
}

body.database-provider-page .database-plans-section {
  padding-top: 42px;
}

body.database-provider-page .section-title {
  margin-bottom: 26px;
}

body.database-provider-page .section-title .eyebrow {
  margin-bottom: 10px;
}

body.database-provider-page .section-title p {
  margin-bottom: 0;
}

body.database-provider-page .database-plan-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

body.database-provider-page .database-plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.34);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

body.database-provider-page .database-plan-card.is-popular {
  border-color: rgba(245,158,11,0.55);
}

body.database-provider-page .popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  color: #111827;
  background: #fbbf24;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

body.database-provider-page .best-value-badge {
  color: #eff6ff;
  background: #2563eb;
}

body.database-provider-page .database-plan-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 22px 20px 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14,165,233,0.16), rgba(34,211,238,0.08)),
    var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

body.database-provider-page .database-plan-card.plan-silver .database-plan-media {
  background:
    linear-gradient(135deg, rgba(79,70,229,0.17), rgba(147,51,234,0.09)),
    var(--bg-surface);
}

body.database-provider-page .database-plan-card.plan-gold .database-plan-media {
  background:
    linear-gradient(135deg, rgba(245,158,11,0.18), rgba(15,23,42,0.08)),
    var(--bg-surface);
}

body.database-provider-page .database-plan-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 14px);
  opacity: 0.42;
}

body.database-provider-page .database-plan-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #22d3ee;
}

body.database-provider-page .database-plan-card.plan-silver .database-plan-media::after {
  background: #8b5cf6;
}

body.database-provider-page .database-plan-card.plan-gold .database-plan-media::after {
  background: #f59e0b;
}

body.database-provider-page .poster-icon-box,
body.database-provider-page .poster-dot {
  position: relative;
  z-index: 1;
}

body.database-provider-page .poster-icon-box {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  color: #0891b2;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(14,165,233,0.12);
}

body.database-provider-page .poster-icon-box i {
  color: currentColor;
  font-size: 1.55rem;
}

body.database-provider-page .database-plan-card.plan-silver .poster-icon-box {
  color: #7c3aed;
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.2);
  box-shadow: 0 12px 28px rgba(124,58,237,0.12);
}

body.database-provider-page .database-plan-card.plan-gold .poster-icon-box {
  color: #d97706;
  background: rgba(245,158,11,0.14);
  border-color: rgba(245,158,11,0.24);
  box-shadow: 0 12px 28px rgba(245,158,11,0.12);
}

body.database-provider-page .poster-dot {
  position: absolute;
  border-radius: 999px;
  background: rgba(14,165,233,0.22);
}

body.database-provider-page .database-plan-card.plan-silver .poster-dot {
  background: rgba(124,58,237,0.22);
}

body.database-provider-page .database-plan-card.plan-gold .poster-dot {
  background: rgba(245,158,11,0.26);
}

body.database-provider-page .poster-dot-one {
  left: 22px;
  bottom: 18px;
  width: 9px;
  height: 9px;
}

body.database-provider-page .poster-dot-two {
  left: 40px;
  bottom: 34px;
  width: 5px;
  height: 5px;
}

body.database-provider-page .database-plan-body {
  display: flex;
  flex-direction: column;
  min-height: 530px;
  padding: 22px;
}

body.database-provider-page .database-plan-body h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

body.database-provider-page .database-plan-body p {
  margin-bottom: 18px;
}

body.database-provider-page .database-plan-quantity {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

body.database-provider-page .database-plan-body .check-list {
  gap: 8px;
  margin: 12px 0 18px;
}

body.database-provider-page .database-plan-body .check-list li {
  padding-left: 26px;
  font-size: 0.91rem;
  line-height: 1.45;
}

body.database-provider-page .database-plan-price-wrap {
  margin-top: auto;
  margin-bottom: 18px;
}

body.database-provider-page .database-original-price {
  display: inline-flex;
  margin-right: 10px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: line-through;
}

body.database-provider-page .database-discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #bbf7d0;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

body.database-provider-page .database-plan-price {
  margin-bottom: 12px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 2.24rem;
  line-height: 1.05;
  font-weight: 800;
}

body.database-provider-page .database-order-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  padding: 34px;
}

body.database-provider-page .database-order-copy {
  padding: 4px 0;
}

body.database-provider-page .database-order-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

body.database-provider-page .database-order-form input,
body.database-provider-page .database-order-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

body.database-provider-page .database-order-form textarea {
  resize: vertical;
}

body.database-provider-page .database-order-form input:focus,
body.database-provider-page .database-order-form textarea:focus {
  border-color: rgba(59,130,246,0.58);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

body.database-provider-page .database-order-form input[readonly] {
  color: var(--accent-light);
  font-weight: 800;
  cursor: default;
}

body.database-provider-page .database-form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #fecaca;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.28);
  border-radius: var(--radius-sm);
}

body.database-provider-page .database-form-alert p {
  margin: 0;
}

body.database-provider-page .database-form-alert p + p {
  margin-top: 6px;
}

body.database-provider-page .database-form-note {
  color: #fde68a;
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.28);
}

body.database-provider-page .database-payment-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
}

body.database-provider-page .database-payment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

body.database-provider-page .database-payment-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  color: #fbbf24;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.28);
  border-radius: 999px;
  font-weight: 800;
}

body.database-provider-page .database-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

body.database-provider-page .database-summary-grid div {
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

body.database-provider-page .database-summary-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.database-provider-page .database-summary-grid strong {
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

body.database-provider-page .database-summary-address {
  grid-column: 1 / -1;
}

body.database-provider-page .database-payment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

body.database-provider-page .database-secondary-link {
  color: var(--accent-light);
  font-weight: 800;
}

body.database-provider-page .database-faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
  margin: 0 auto;
}

body.database-provider-page .database-faq-item {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .database-faq-item h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

body.database-provider-page .database-faq-item p {
  margin-bottom: 0;
}

body.database-provider-page .customer-dashboard-hero {
  padding-top: 96px;
}

body.database-provider-page .customer-dashboard-top,
body.database-provider-page .customer-files-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .customer-dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
}

body.database-provider-page .customer-dashboard-top h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

body.database-provider-page .customer-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

body.database-provider-page .customer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.database-provider-page .customer-badge.plan {
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.24);
}

body.database-provider-page .customer-badge.success {
  color: #bbf7d0;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.28);
}

body.database-provider-page .customer-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

body.database-provider-page .customer-stat-card {
  min-height: 142px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

body.database-provider-page .customer-stat-card i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--accent-light);
  background: var(--why-icon-bg);
  border-radius: var(--radius-md);
  font-size: 1.15rem;
}

body.database-provider-page .customer-stat-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.database-provider-page .customer-stat-card strong {
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

body.database-provider-page .customer-filter-wrap {
  align-items: center;
}

body.database-provider-page .customer-files-card {
  padding: 28px;
}

body.database-provider-page .customer-files-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

body.database-provider-page .customer-files-header h2 {
  margin: 0 0 8px;
}

body.database-provider-page .customer-files-header p {
  margin: 0;
}

body.database-provider-page .customer-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

body.database-provider-page .customer-data-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

body.database-provider-page .customer-data-table th,
body.database-provider-page .customer-data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  vertical-align: middle;
}

body.database-provider-page .customer-data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--text-primary);
  background: var(--bg-surface);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.database-provider-page .customer-data-table tbody tr:hover {
  background: rgba(59,130,246,0.06);
}

body.database-provider-page .customer-data-table tr:last-child td {
  border-bottom: 0;
}

body.database-provider-page .file-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
}

body.database-provider-page .file-title i {
  color: var(--accent-light);
}

body.database-provider-page .file-download-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff !important;
  background: var(--accent);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), background var(--transition);
}

body.database-provider-page .file-download-btn:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

body.database-provider-page .customer-empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 30px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

body.database-provider-page .customer-empty-state i {
  margin-bottom: 14px;
  color: var(--accent-light);
  font-size: 2rem;
}

body.customer-portal-page {
  background: #07111f;
}

body.customer-portal-page .customer-portal {
  color: #e5eefc;
  background:
    linear-gradient(135deg, rgba(37,99,235,0.18), rgba(15,23,42,0) 34%),
    linear-gradient(180deg, #07111f 0%, #0b1220 48%, #101827 100%);
}

body.customer-portal-page .customer-portal-shell,
body.customer-portal-page .portal-auth-shell {
  padding: 96px 0 76px;
}

body.customer-portal-page .portal-hero,
body.customer-portal-page .portal-summary-card,
body.customer-portal-page .portal-action-panel,
body.customer-portal-page .portal-filter-card,
body.customer-portal-page .portal-files-card,
body.customer-portal-page .portal-auth-card {
  background: rgba(15,23,42,0.74);
  border: 1px solid rgba(148,163,184,0.18);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

body.customer-portal-page .portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  padding: 34px;
  border-radius: 20px;
  overflow: hidden;
}

body.customer-portal-page .portal-hero-content h1,
body.customer-portal-page .portal-auth-copy h1 {
  margin: 12px 0 12px;
  color: #f8fafc;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.05;
}

body.customer-portal-page .portal-hero-content p,
body.customer-portal-page .portal-auth-copy p,
body.customer-portal-page .portal-section-head p,
body.customer-portal-page .portal-security-card p,
body.customer-portal-page .portal-action-panel p,
body.customer-portal-page .portal-auth-card p {
  color: #a9b8d0;
}

body.customer-portal-page .portal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.customer-portal-page .portal-status-row,
body.customer-portal-page .portal-hero-actions,
body.customer-portal-page .portal-filter-actions,
body.customer-portal-page .portal-auth-links,
body.customer-portal-page .portal-auth-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.customer-portal-page .portal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

body.customer-portal-page .portal-status.active {
  color: #bfdbfe;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(96,165,250,0.26);
}

body.customer-portal-page .portal-status.verified {
  color: #bbf7d0;
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(74,222,128,0.26);
}

body.customer-portal-page .portal-hero-actions {
  margin-top: 24px;
}

body.customer-portal-page .portal-btn,
body.customer-portal-page .portal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid rgba(148,163,184,0.18);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

body.customer-portal-page .portal-btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border-color: rgba(125,211,252,0.34);
  box-shadow: 0 14px 32px rgba(37,99,235,0.28);
}

body.customer-portal-page .portal-btn-soft,
body.customer-portal-page .portal-action-btn {
  color: #dbeafe !important;
  background: rgba(15,23,42,0.72);
}

body.customer-portal-page .portal-action-btn.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(37,99,235,0.92), rgba(14,165,233,0.86));
  border-color: rgba(125,211,252,0.36);
  box-shadow: 0 14px 32px rgba(37,99,235,0.22);
}

body.customer-portal-page .portal-btn:hover,
body.customer-portal-page .portal-action-btn:hover,
body.customer-portal-page .file-download-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(147,197,253,0.5);
}

body.customer-portal-page .portal-security-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(145deg, rgba(37,99,235,0.22), rgba(15,23,42,0.88));
  border: 1px solid rgba(147,197,253,0.24);
  border-radius: 18px;
}

body.customer-portal-page .portal-security-icon,
body.customer-portal-page .portal-summary-card i,
body.customer-portal-page .portal-auth-brand i {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #bae6fd;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(125,211,252,0.24);
  border-radius: 14px;
  font-size: 1.2rem;
}

body.customer-portal-page .portal-security-card span,
body.customer-portal-page .portal-summary-card span {
  display: block;
  margin-top: 16px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.customer-portal-page .portal-security-card strong,
body.customer-portal-page .portal-summary-card strong {
  margin-top: 6px;
  color: #f8fafc;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

body.customer-portal-page .portal-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

body.customer-portal-page .portal-summary-card {
  min-height: 150px;
  padding: 22px;
  border-radius: 18px;
}

body.customer-portal-page .portal-main-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

body.customer-portal-page .portal-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

body.customer-portal-page .portal-profile-hero {
  grid-template-columns: minmax(0, 1fr) 300px;
}

body.customer-portal-page .portal-action-panel,
body.customer-portal-page .portal-filter-card,
body.customer-portal-page .portal-files-card,
body.customer-portal-page .portal-auth-card {
  border-radius: 18px;
  padding: 24px;
}

body.customer-portal-page .portal-action-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

body.customer-portal-page .portal-action-panel h2,
body.customer-portal-page .portal-section-head h2,
body.customer-portal-page .portal-auth-card h2 {
  margin: 8px 0 8px;
  color: #f8fafc;
  font-size: 1.35rem;
}

body.customer-portal-page .portal-content-stack {
  display: grid;
  gap: 20px;
}

body.customer-portal-page .portal-detail-list {
  display: grid;
  gap: 12px;
}

body.customer-portal-page .portal-detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 16px;
  background: rgba(15,23,42,0.62);
  border: 1px solid rgba(148,163,184,0.14);
  border-radius: 12px;
}

body.customer-portal-page .portal-detail-list span {
  color: #9fb0ca;
  font-size: 0.82rem;
  font-weight: 800;
}

body.customer-portal-page .portal-detail-list strong {
  min-width: 0;
  color: #f8fbff;
  font-size: 0.92rem;
  text-align: right;
  overflow-wrap: anywhere;
}

body.customer-portal-page .portal-section-head,
body.customer-portal-page .portal-files-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

body.customer-portal-page .portal-filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.customer-portal-page .portal-filter-actions {
  grid-column: 1 / -1;
}

body.customer-portal-page .portal-field label,
body.customer-portal-page .portal-filter-form label {
  display: block;
  margin-bottom: 7px;
  color: #dbeafe;
  font-size: 0.86rem;
  font-weight: 800;
}

body.customer-portal-page .portal-field input,
body.customer-portal-page .portal-filter-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: #f8fafc;
  background: rgba(2,6,23,0.38);
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: 12px;
  outline: 0;
}

body.customer-portal-page .portal-field input:focus,
body.customer-portal-page .portal-filter-form input:focus {
  border-color: rgba(96,165,250,0.68);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.16);
}

body.customer-portal-page .portal-field input:disabled {
  color: #94a3b8;
  background: rgba(15,23,42,0.5);
  cursor: not-allowed;
}

body.customer-portal-page .profile-meta-list {
  margin-top: 18px;
}

body.customer-portal-page .portal-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 16px;
}

body.customer-portal-page .portal-data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
}

body.customer-portal-page .portal-download-table {
  min-width: 620px;
}

body.customer-portal-page .portal-checkbox-col {
  width: 72px;
  text-align: center;
}

body.customer-portal-page .portal-checkbox-col input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

body.customer-portal-page .portal-data-table th,
body.customer-portal-page .portal-data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(148,163,184,0.15);
  color: #cbd5e1;
  font-size: 0.9rem;
  vertical-align: middle;
}

body.customer-portal-page .portal-data-table th {
  color: #e2e8f0;
  background: rgba(15,23,42,0.9);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.customer-portal-page .portal-data-table tbody tr {
  background: rgba(15,23,42,0.36);
}

body.customer-portal-page .portal-data-table tbody tr:hover {
  background: rgba(37,99,235,0.13);
}

body.customer-portal-page .file-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fafc;
  font-weight: 900;
  overflow-wrap: anywhere;
}

body.customer-portal-page .file-title i {
  flex: 0 0 auto;
  color: #93c5fd;
}

body.customer-portal-page .portal-file-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  color: #bfdbfe;
  background: rgba(37,99,235,0.14);
  border: 1px solid rgba(96,165,250,0.22);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

body.customer-portal-page .file-download-btn {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border: 1px solid rgba(125,211,252,0.3);
  border-radius: 12px;
}

body.customer-portal-page .customer-empty-state {
  color: #cbd5e1;
  background: rgba(2,6,23,0.25);
  border-color: rgba(148,163,184,0.25);
}

body.customer-portal-page .portal-auth-shell {
  min-height: 680px;
  display: grid;
  align-items: center;
}

body.customer-portal-page .portal-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 28px;
  align-items: center;
}

body.customer-portal-page .portal-auth-grid.compact {
  grid-template-columns: minmax(0, 0.9fr) 460px;
}

body.customer-portal-page .portal-auth-copy {
  max-width: 660px;
}

body.customer-portal-page .portal-auth-points {
  margin-top: 22px;
}

body.customer-portal-page .portal-auth-points span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #cbd5e1;
  padding: 8px 11px;
  background: rgba(15,23,42,0.66);
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: 999px;
  font-weight: 800;
}

body.customer-portal-page .portal-auth-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

body.customer-portal-page .portal-auth-brand img {
  width: 170px;
  height: auto;
  padding: 8px 10px;
  background: #ffffff;
  border-radius: 12px;
}

body.customer-portal-page .portal-auth-brand span {
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.customer-portal-page .portal-auth-card .portal-field {
  margin-top: 16px;
}

body.customer-portal-page .portal-btn-full {
  width: 100%;
  margin-top: 18px;
}

body.customer-portal-page .portal-auth-links {
  justify-content: space-between;
  margin-top: 18px;
}

body.customer-portal-page .portal-auth-links.single {
  justify-content: center;
}

body.customer-portal-page .portal-auth-links a {
  color: #93c5fd;
  font-weight: 800;
}

body.customer-portal-page .database-form-alert {
  color: #fecaca;
  background: rgba(239,68,68,0.14);
  border-color: rgba(248,113,113,0.28);
}

body.customer-portal-page .database-form-note {
  color: #fde68a;
  background: rgba(245,158,11,0.14);
  border-color: rgba(251,191,36,0.28);
}

@media (max-width: 1199px) {
  body.customer-portal-page .portal-summary-grid,
  body.customer-portal-page .portal-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  body.customer-portal-page .portal-hero,
  body.customer-portal-page .portal-main-grid,
  body.customer-portal-page .portal-profile-grid,
  body.customer-portal-page .portal-auth-grid,
  body.customer-portal-page .portal-auth-grid.compact {
    grid-template-columns: 1fr;
  }

  body.customer-portal-page .portal-action-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  body.customer-portal-page .customer-portal-shell,
  body.customer-portal-page .portal-auth-shell {
    padding: 76px 0 54px;
  }

  body.customer-portal-page .portal-hero,
  body.customer-portal-page .portal-action-panel,
  body.customer-portal-page .portal-filter-card,
  body.customer-portal-page .portal-files-card,
  body.customer-portal-page .portal-auth-card {
    padding: 20px;
    border-radius: 16px;
  }

  body.customer-portal-page .portal-detail-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  body.customer-portal-page .portal-detail-list strong {
    text-align: left;
  }

  body.customer-portal-page .portal-summary-grid,
  body.customer-portal-page .portal-filter-form {
    grid-template-columns: 1fr;
  }

  body.customer-portal-page .portal-files-head,
  body.customer-portal-page .portal-section-head {
    flex-direction: column;
  }

  body.customer-portal-page .portal-files-head .portal-btn,
  body.customer-portal-page .portal-filter-actions .portal-btn,
  body.customer-portal-page .portal-filter-actions a,
  body.customer-portal-page .portal-hero-actions .portal-btn {
    width: 100%;
  }

  body.customer-portal-page .portal-table-wrap {
    overflow: visible;
    border: 0;
  }

  body.customer-portal-page .portal-data-table,
  body.customer-portal-page .portal-data-table thead,
  body.customer-portal-page .portal-data-table tbody,
  body.customer-portal-page .portal-data-table tr,
  body.customer-portal-page .portal-data-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body.customer-portal-page .portal-data-table thead {
    display: none;
  }

  body.customer-portal-page .portal-data-table tr {
    margin-bottom: 14px;
    padding: 14px;
    background: rgba(15,23,42,0.72);
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 16px;
  }

  body.customer-portal-page .portal-data-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148,163,184,0.12);
    text-align: right;
  }

  body.customer-portal-page .portal-data-table td::before {
    content: attr(data-label);
    color: #94a3b8;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: left;
  }

  body.customer-portal-page .portal-data-table td:last-child {
    border-bottom: 0;
  }

  body.customer-portal-page .file-title {
    justify-content: flex-end;
  }
}

@media (max-width: 992px) {
  body.database-provider-page .database-provider .section {
    padding: 40px 0;
  }

  body.database-provider-page .database-hero {
    padding: 64px 0 42px;
  }

  body.database-provider-page .database-order-wrap {
    grid-template-columns: 1fr;
  }

  body.database-provider-page .database-intent-grid,
  body.database-provider-page .database-fields-grid,
  body.database-provider-page .database-tag-grid,
  body.database-provider-page .database-tag-grid-compact,
  body.database-provider-page .database-benefit-grid,
  body.database-provider-page .database-testimonial-grid,
  body.database-provider-page .database-step-grid,
  body.database-provider-page .database-link-list {
    grid-template-columns: 1fr;
  }

  body.database-provider-page .database-plan-body {
    min-height: 0;
  }

  body.blog-page .blog-layout {
    grid-template-columns: 1fr;
  }

  body.blog-page .blog-sidebar {
    position: static;
  }
}

@media (max-width: 576px) {
  body.database-provider-page .database-use-card,
  body.database-provider-page .database-intent-copy,
  body.database-provider-page .database-intent-panel,
  body.database-provider-page .database-step-card,
  body.database-provider-page .database-final-cta,
  body.database-provider-page .database-order-wrap,
  body.database-provider-page .database-payment-card {
    padding: 18px;
  }

  body.database-provider-page {
    padding-bottom: 74px;
  }

  body.database-provider-page .database-mobile-sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border: 1px solid rgba(125,211,252,0.38);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(15,23,42,0.28);
    font-weight: 900;
  }

  body.blog-page .blog-search-bar {
    grid-template-columns: 1fr;
  }

  body.blog-page .blog-share a,
  body.blog-page .blog-hero-meta span {
    width: 100%;
    justify-content: center;
  }

  body.database-provider-page .database-provider .section {
    padding: 34px 0;
  }

  body.database-provider-page .database-hero {
    padding: 52px 0 34px;
  }

  body.database-provider-page .database-plan-body {
    padding: 20px;
  }

  body.database-provider-page .database-plan-media {
    min-height: 98px;
    padding: 20px 18px 16px;
  }

  body.database-provider-page .poster-icon-box {
    width: 52px;
    height: 52px;
  }

  body.database-provider-page .database-summary-grid {
    grid-template-columns: 1fr;
  }

  body.database-provider-page .database-payment-header,
  body.database-provider-page .database-payment-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.database-provider-page .customer-dashboard-top,
  body.database-provider-page .customer-files-header {
    flex-direction: column;
  }

  body.database-provider-page .customer-dashboard-actions {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  body.database-provider-page .customer-stat-grid {
    grid-template-columns: 1fr;
  }

  body.database-provider-page .customer-files-card {
    padding: 20px;
  }
}

body.site-page .php-email-form button[type="submit"],
body.site-page .contact button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  color: #fff;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

body.site-page .php-email-form button[type="submit"]:hover,
body.site-page .contact button[type="submit"]:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(59,130,246,0.28);
}

body.site-page .php-email-form .loading,
body.site-page .php-email-form .error-message,
body.site-page .php-email-form .sent-message {
  display: none;
  margin-bottom: 14px;
}

body.site-page .php-email-form .error-message {
  color: #fecaca;
}

body.site-page .php-email-form .sent-message {
  color: #bbf7d0;
}

/* =============================================
   CONTACT PAGE
============================================= */
body.contact-page .contact-hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 88px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

body.contact-page .contact-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

body.contact-page .contact-hero-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  right: -180px;
  top: -170px;
  background: radial-gradient(circle, rgba(59,130,246,0.16), transparent 68%);
  pointer-events: none;
}

body.contact-page .contact-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  align-items: center;
}

body.contact-page .contact-hero-content h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
}

body.contact-page .contact-hero-content p {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: 1.12rem;
}

body.contact-page .contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body.contact-page .contact-hero-panel,
body.contact-page .contact-form-card,
body.contact-page .contact-form-aside,
body.contact-page .contact-info-card,
body.contact-page .contact-map-panel {
  background: rgba(20,27,46,0.86);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

[data-theme="light"] body.contact-page .contact-hero-panel,
[data-theme="light"] body.contact-page .contact-form-card,
[data-theme="light"] body.contact-page .contact-form-aside,
[data-theme="light"] body.contact-page .contact-info-card,
[data-theme="light"] body.contact-page .contact-map-panel {
  background: rgba(255,255,255,0.9);
}

body.contact-page .contact-hero-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

body.contact-page .contact-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 4px;
  padding: 7px 12px;
  color: #34D399;
  background: rgba(52,211,153,0.09);
  border: 1px solid rgba(52,211,153,0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

body.contact-page .contact-panel-status span {
  width: 7px;
  height: 7px;
  background: #34D399;
  border-radius: 50%;
}

body.contact-page .contact-panel-row {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

body.contact-page .contact-panel-row strong {
  color: var(--text-primary);
  font-family: var(--font-display);
}

body.contact-page .contact-panel-row span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

body.contact-page .contact-info-section,
body.contact-page .contact-form-section,
body.contact-page .contact-map-section {
  padding: 86px 0;
}

body.contact-page .contact-section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

body.contact-page .contact-section-heading h2,
body.contact-page .contact-form-aside h2,
body.contact-page .contact-map-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

body.contact-page .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.contact-page .contact-info-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

body.contact-page .contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.32);
  background: var(--bg-card-hover);
}

body.contact-page .contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--accent-light);
  background: var(--why-icon-bg);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

body.contact-page .contact-info-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

body.contact-page .contact-info-card p {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

body.contact-page .contact-info-card a,
body.contact-page .contact-info-card span {
  margin-top: auto;
  color: var(--accent-light);
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.contact-page .contact-business-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.035);
}

body.contact-page .contact-business-card h3 {
  margin: 10px 0 0;
  font-size: 1.16rem;
}

body.contact-page .contact-business-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

body.contact-page .contact-business-card div {
  min-width: 0;
}

body.contact-page .contact-business-card dt {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.contact-page .contact-business-card dd {
  margin: 0;
  color: var(--text-primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.contact-page .contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  align-items: stretch;
}

body.contact-page .contact-form-aside {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-xl);
}

body.contact-page .contact-form-aside::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
  pointer-events: none;
}

body.contact-page .contact-check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 30px;
  padding: 0;
}

body.contact-page .contact-check-list li {
  display: flex;
  gap: 10px;
  color: var(--text-secondary);
  line-height: 1.55;
}

body.contact-page .contact-check-list i {
  color: #34D399;
  margin-top: 2px;
  flex-shrink: 0;
}

body.contact-page .contact-social {
  display: flex;
  gap: 10px;
}

body.contact-page .contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

body.contact-page .contact-social a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

body.contact-page .contact-form-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

body.contact-page .contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.contact-page .contact-field {
  display: grid;
  gap: 9px;
  min-width: 0;
}

body.contact-page .contact-field-full {
  grid-column: 1 / -1;
}

body.contact-page .contact-field label {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

body.contact-page .contact-form-card .form-control {
  min-height: 54px;
  padding: 13px 15px;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

body.contact-page .contact-form-card textarea.form-control {
  min-height: 164px;
  resize: vertical;
}

body.contact-page .contact-form-card .form-control::placeholder {
  color: var(--text-muted);
}

body.contact-page .contact-form-card .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  outline: none;
}

body.contact-page .contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.contact-page .contact-form-card button[type="submit"] {
  min-height: 52px;
  padding: 13px 28px;
  gap: 8px;
  white-space: nowrap;
}

body.contact-page .contact-map-section {
  padding-top: 0;
}

body.contact-page .contact-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
}

body.contact-page .contact-map-panel p {
  max-width: 640px;
  margin: 0;
}

body.contact-page .contact-map-placeholder {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 24px;
  text-align: center;
  color: var(--text-secondary);
  background:
    linear-gradient(rgba(59,130,246,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.08) 1px, transparent 1px),
    var(--bg-body);
  background-size: 28px 28px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

body.contact-page .contact-map-placeholder i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  color: var(--accent-light);
  background: var(--why-icon-bg);
  border-radius: var(--radius-md);
  font-size: 1.6rem;
}

body.contact-page .contact-map-placeholder strong {
  color: var(--text-primary);
  font-family: var(--font-display);
}

body.contact-page .contact-final-cta {
  padding-top: 0;
}

/* =============================================
   ABOUT PAGE
============================================= */
body.about-page .about-hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 88px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

body.about-page .about-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

body.about-page .about-hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -210px;
  top: -180px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 68%);
  pointer-events: none;
}

body.about-page .about-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
}

body.about-page .about-hero-copy h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
}

body.about-page .about-hero-copy p {
  max-width: 700px;
  margin-bottom: 34px;
  font-size: 1.12rem;
}

body.about-page .about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body.about-page .about-hero-card,
body.about-page .about-mission-panel,
body.about-page .about-capability-card,
body.about-page .about-process-panel,
body.about-page .about-stat-card {
  background: rgba(20,27,46,0.86);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

[data-theme="light"] body.about-page .about-hero-card,
[data-theme="light"] body.about-page .about-mission-panel,
[data-theme="light"] body.about-page .about-capability-card,
[data-theme="light"] body.about-page .about-process-panel,
[data-theme="light"] body.about-page .about-stat-card {
  background: rgba(255,255,255,0.9);
}

body.about-page .about-hero-card {
  display: grid;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-xl);
}

body.about-page .about-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

body.about-page .about-card-icon,
body.about-page .about-mission-icon,
body.about-page .about-capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--accent-light);
  background: var(--why-icon-bg);
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  flex-shrink: 0;
}

body.about-page .about-card-top strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

body.about-page .about-card-top span {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

body.about-page .about-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.about-page .about-card-metrics div {
  padding: 16px 12px;
  text-align: center;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

body.about-page .about-card-metrics strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

body.about-page .about-card-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.about-page .about-card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.about-page .about-card-stack span {
  padding: 7px 11px;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

body.about-page .about-story-section,
body.about-page .about-capabilities-section,
body.about-page .about-process-section {
  padding: 88px 0;
}

body.about-page .about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
}

body.about-page .about-story-copy h2,
body.about-page .about-section-heading h2,
body.about-page .about-process-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

body.about-page .about-story-copy p {
  max-width: 720px;
}

body.about-page .about-mission-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
}

body.about-page .about-mission-panel h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
}

body.about-page .about-mission-panel ul {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

body.about-page .about-mission-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

body.about-page .about-mission-panel li i {
  color: #34D399;
}

body.about-page .about-stats-section {
  padding: 58px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

body.about-page .about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.about-page .about-stat-card {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 28px 18px;
  text-align: center;
  border-radius: var(--radius-lg);
}

body.about-page .about-stat-card i {
  color: var(--accent-light);
  font-size: 1.8rem;
}

body.about-page .about-stat-card strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}

body.about-page .about-stat-card span {
  color: var(--text-secondary);
  font-weight: 700;
}

body.about-page .about-section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

body.about-page .about-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.about-page .about-capability-card {
  min-height: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

body.about-page .about-capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.32);
  background: var(--bg-card-hover);
}

body.about-page .about-capability-card h3 {
  margin: 20px 0 10px;
}

body.about-page .about-capability-card p {
  margin: 0;
}

body.about-page .about-process-section {
  padding-top: 0;
}

body.about-page .about-process-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: start;
  padding: 38px;
  border-radius: var(--radius-xl);
}

body.about-page .about-process-panel > div:first-child p {
  margin: 0;
}

body.about-page .about-process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.about-page .about-process-list div {
  padding: 20px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

body.about-page .about-process-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-light);
  font-family: var(--font-display);
  font-weight: 800;
}

body.about-page .about-process-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-family: var(--font-display);
}

body.about-page .about-process-list p {
  margin: 0;
  font-size: 0.92rem;
}

body.about-page .about-final-cta {
  padding-top: 0;
}

.home-final-cta {
  padding-top: 0;
}

.home-final-cta .cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(96,165,250,0.08));
  border: 1px solid rgba(59,130,246,0.22);
}

.home-final-cta .cta-panel h2 {
  margin-bottom: 8px;
}

/* =============================================
   INFO / LEGAL PAGES
============================================= */
body.info-page .info-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 82px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

body.info-page .info-hero.compact {
  padding-bottom: 72px;
}

body.info-page .info-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

body.info-page .info-hero-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  right: -190px;
  top: -190px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 68%);
  pointer-events: none;
}

body.info-page .info-hero .container {
  position: relative;
  z-index: 1;
}

body.info-page .info-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
}

body.info-page .info-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.1rem;
}

body.info-page .info-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

body.info-page .info-section,
body.info-page .legal-content-section {
  padding: 84px 0;
}

body.info-page .info-section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

body.info-page .info-section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

body.info-page .info-section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

body.info-page .info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.info-page .info-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.info-page .info-feature-card,
body.info-page .position-card,
body.info-page .legal-content-card {
  background: rgba(20,27,46,0.86);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

[data-theme="light"] body.info-page .info-feature-card,
[data-theme="light"] body.info-page .position-card,
[data-theme="light"] body.info-page .legal-content-card {
  background: rgba(255,255,255,0.92);
}

body.info-page .info-feature-card {
  min-height: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

body.info-page .info-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.32);
  background: var(--bg-card-hover);
}

body.info-page .info-feature-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--accent-light);
  background: var(--why-icon-bg);
  border-radius: var(--radius-md);
  font-size: 1.35rem;
}

body.info-page .info-feature-card h3 {
  margin-bottom: 10px;
}

body.info-page .info-feature-card p {
  margin: 0;
}

body.info-page .position-list {
  display: grid;
  gap: 16px;
}

body.info-page .position-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
}

body.info-page .position-card h3 {
  margin-bottom: 6px;
}

body.info-page .position-card p {
  margin: 0;
}

body.info-page .position-card span {
  display: inline-flex;
  flex-shrink: 0;
  padding: 7px 12px;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

body.info-page .info-final-cta {
  padding-top: 0;
}

body.legal-page .legal-content-section .container {
  max-width: 920px;
}

body.legal-page .legal-content-card {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-xl);
}

body.legal-page .legal-updated {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 12px;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

body.legal-page .legal-business-note {
  margin-bottom: 28px;
  padding: 16px 18px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
}

body.legal-page .legal-content-card h2 {
  margin: 30px 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

body.legal-page .legal-content-card h2:first-of-type {
  margin-top: 0;
}

body.legal-page .legal-content-card p {
  margin-bottom: 0;
}

body.legal-page .legal-content-card a {
  color: var(--accent-light);
  font-weight: 800;
}

@media (max-width: 1024px) {
  body.contact-page .contact-hero .container,
  body.contact-page .contact-layout,
  body.contact-page .contact-map-panel {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.contact-page .contact-business-card {
    grid-template-columns: 1fr;
  }

  body.about-page .about-hero .container,
  body.about-page .about-story-grid,
  body.about-page .about-process-panel {
    grid-template-columns: 1fr;
  }

  body.about-page .about-stats-grid,
  body.about-page .about-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.info-page .info-card-grid,
  body.info-page .info-card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.contact-page .contact-hero {
    padding: 92px 0 66px;
  }

  body.contact-page .contact-hero .container {
    gap: 32px;
  }

  body.contact-page .contact-info-section,
  body.contact-page .contact-form-section,
  body.contact-page .contact-map-section {
    padding: 66px 0;
  }

  body.contact-page .contact-map-section,
  body.contact-page .contact-final-cta {
    padding-top: 0;
  }

  body.contact-page .contact-form-grid,
  body.contact-page .contact-info-grid {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-business-card dl {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  body.contact-page .contact-form-card button[type="submit"],
  body.contact-page .contact-hero-actions a {
    justify-content: center;
    width: 100%;
  }

  body.about-page .about-hero {
    padding: 92px 0 66px;
  }

  body.about-page .about-story-section,
  body.about-page .about-capabilities-section,
  body.about-page .about-process-section {
    padding: 66px 0;
  }

  body.about-page .about-process-section,
  body.about-page .about-final-cta {
    padding-top: 0;
  }

  body.about-page .about-card-metrics,
  body.about-page .about-stats-grid,
  body.about-page .about-capability-grid,
  body.about-page .about-process-list {
    grid-template-columns: 1fr;
  }

  body.about-page .about-hero-actions a {
    justify-content: center;
    width: 100%;
  }

  body.info-page .info-hero {
    padding: 92px 0 66px;
  }

  body.info-page .info-section,
  body.info-page .legal-content-section {
    padding: 66px 0;
  }

  body.info-page .info-card-grid,
  body.info-page .info-card-grid.four {
    grid-template-columns: 1fr;
  }

  body.info-page .position-card {
    align-items: flex-start;
    flex-direction: column;
  }

  body.info-page .info-hero-actions a {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 576px) {
  body.contact-page .contact-hero-panel,
  body.contact-page .contact-form-card,
  body.contact-page .contact-form-aside,
  body.contact-page .contact-info-card,
  body.contact-page .contact-business-card,
  body.contact-page .contact-map-panel {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  body.contact-page .contact-hero-content h1 {
    font-size: clamp(2.1rem, 12vw, 2.75rem);
  }

  body.contact-page .contact-map-placeholder {
    min-height: 190px;
  }

  body.about-page .about-hero-card,
  body.about-page .about-mission-panel,
  body.about-page .about-capability-card,
  body.about-page .about-process-panel,
  body.about-page .about-stat-card {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  body.about-page .about-hero-copy h1 {
    font-size: clamp(2.1rem, 12vw, 2.75rem);
  }

  body.info-page .info-feature-card,
  body.info-page .position-card,
  body.info-page .legal-content-card {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  body.info-page .info-hero h1 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }
}

@media (max-width: 576px) {
body.site-page .portfolio-card h2,
  body.site-page .portfolio-card p,
  body.site-page .portfolio-card a {
    margin-left: 22px;
    margin-right: 22px;
  }
}

.header-brand {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  min-width: 190px !important;
}

.header-logo {
  display: none !important;
  width: auto !important;
  height: 42px !important;
  max-width: 210px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.header-logo-light {
  display: none !important;
}

/* Default dark theme */
.header-logo-dark {
  display: block !important;
}

html[data-theme="dark"] .header-logo-dark {
  display: block !important;
}

html[data-theme="dark"] .header-logo-light {
  display: none !important;
}

html[data-theme="light"] .header-logo-dark {
  display: none !important;
}

html[data-theme="light"] .header-logo-light {
  display: block !important;
}

/* Light theme selectors */
body.light-theme .header-logo-dark,
html.light-theme .header-logo-dark,
[data-theme="light"] .header-logo-dark,
[data-bs-theme="light"] .header-logo-dark,
.theme-light .header-logo-dark {
  display: none !important;
}

body.light-theme .header-logo-light,
html.light-theme .header-logo-light,
[data-theme="light"] .header-logo-light,
[data-bs-theme="light"] .header-logo-light,
.theme-light .header-logo-light {
  display: block !important;
}

/* Dark theme selectors */
body.dark-theme .header-logo-dark,
html.dark-theme .header-logo-dark,
[data-theme="dark"] .header-logo-dark,
[data-bs-theme="dark"] .header-logo-dark,
.theme-dark .header-logo-dark {
  display: block !important;
}

body.dark-theme .header-logo-light,
html.dark-theme .header-logo-light,
[data-theme="dark"] .header-logo-light,
[data-bs-theme="dark"] .header-logo-light,
.theme-dark .header-logo-light {
  display: none !important;
}

@media (max-width: 767px) {
  .header-brand {
    min-width: 160px !important;
  }

  .header-logo {
    height: 36px !important;
    max-width: 178px !important;
  }
}

.footer-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin-bottom: 18px !important;
  text-decoration: none !important;
}

.footer-brand-logo img {
  display: block !important;
  width: auto !important;
  height: 48px !important;
  max-width: 240px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  .footer-brand-logo img {
    height: 42px !important;
    max-width: 210px !important;
  }
}

/* LIGHT THEME TEXT FIX */
[data-theme="light"] {
  --heading-color: #081326;
  --body-color: #334155;
  --muted-color: #64748b;
  --text-primary: #081326;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
}

[data-theme="light"] body {
  color: #334155 !important;
}

[data-theme="light"] main h1,
[data-theme="light"] main h2,
[data-theme="light"] main h3,
[data-theme="light"] main h4,
[data-theme="light"] main h5,
[data-theme="light"] main h6 {
  color: #081326 !important;
}

[data-theme="light"] main p,
[data-theme="light"] main li,
[data-theme="light"] main span:not(.section-tag):not(.hero-title .accent):not(.hero-title .accent-2):not(.tag),
[data-theme="light"] main small {
  color: #334155 !important;
}

[data-theme="light"] main a:not(.btn-primary):not(.btn-outline):not(.btn-primary-gradient):not(.cta-btn-white):not(.cta-btn-ghost):not(.cta-header-btn) {
  color: #0d5bff !important;
}

[data-theme="light"] .section-title,
[data-theme="light"] .hero-title,
[data-theme="light"] .cta-title,
[data-theme="light"] .cta-panel h2,
[data-theme="light"] .home-final-cta .cta-panel h2,
[data-theme="light"] body.site-page .cta-panel h2,
[data-theme="light"] body.site-page .footer-newsletter h3 {
  color: #081326 !important;
}

[data-theme="light"] .section-sub,
[data-theme="light"] .section-description,
[data-theme="light"] .hero-desc,
[data-theme="light"] .hero-description,
[data-theme="light"] .cta-description,
[data-theme="light"] .cta-panel p,
[data-theme="light"] .home-final-cta .cta-panel p,
[data-theme="light"] body.site-page .container.section-title p {
  color: #475569 !important;
}

[data-theme="light"] .cta-panel,
[data-theme="light"] .home-final-cta .cta-panel,
[data-theme="light"] body.site-page .cta-panel,
[data-theme="light"] body.site-page .footer-newsletter {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .choice-card,
[data-theme="light"] .project-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .service-card,
[data-theme="light"] .why-card,
[data-theme="light"] .why-intro-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .process-step,
[data-theme="light"] .about-card-main,
[data-theme="light"] .hero-mini-card,
[data-theme="light"] .pf-card,
[data-theme="light"] .portfolio-card,
[data-theme="light"] .about-hero-card,
[data-theme="light"] .about-mission-panel,
[data-theme="light"] .about-capability-card,
[data-theme="light"] .about-process-panel,
[data-theme="light"] .about-stat-card,
[data-theme="light"] .contact-form-card,
[data-theme="light"] .contact-form-aside,
[data-theme="light"] .contact-info-card,
[data-theme="light"] .contact-map-panel,
[data-theme="light"] .info-feature-card,
[data-theme="light"] .position-card,
[data-theme="light"] .legal-content-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .choice-card h3,
[data-theme="light"] .project-card h2,
[data-theme="light"] .blog-card h2,
[data-theme="light"] .service-card h3,
[data-theme="light"] .why-card h3,
[data-theme="light"] .why-intro-card h3,
[data-theme="light"] .industry-card h3,
[data-theme="light"] .process-step h3,
[data-theme="light"] .about-card-main h3,
[data-theme="light"] .portfolio-card h2,
[data-theme="light"] .about-capability-card h3,
[data-theme="light"] .contact-info-card h3,
[data-theme="light"] .info-feature-card h3,
[data-theme="light"] .position-card h3,
[data-theme="light"] .legal-content-card h2 {
  color: #081326 !important;
}

[data-theme="light"] .choice-card p,
[data-theme="light"] .project-card p,
[data-theme="light"] .blog-card p,
[data-theme="light"] .service-card p,
[data-theme="light"] .why-card p,
[data-theme="light"] .why-intro-card p,
[data-theme="light"] .industry-card p,
[data-theme="light"] .testimonial-card p,
[data-theme="light"] .testimonial-card p.quote,
[data-theme="light"] .process-step p,
[data-theme="light"] .about-card-main p,
[data-theme="light"] .portfolio-card p,
[data-theme="light"] .about-capability-card p,
[data-theme="light"] .about-process-list p,
[data-theme="light"] .contact-info-card p,
[data-theme="light"] .info-feature-card p,
[data-theme="light"] .position-card p,
[data-theme="light"] .legal-content-card p {
  color: #475569 !important;
}

[data-theme="light"] .about-stat-card strong,
[data-theme="light"] .about-card-metrics strong,
[data-theme="light"] .about-process-list strong,
[data-theme="light"] .stat-item strong,
[data-theme="light"] .stats-item span,
[data-theme="light"] .hero-mini-card .value {
  color: #081326 !important;
}

[data-theme="light"] .about-stat-card span,
[data-theme="light"] .about-card-metrics span,
[data-theme="light"] .about-card-stack span,
[data-theme="light"] .contact-info-card span,
[data-theme="light"] .position-card span,
[data-theme="light"] .hero-mini-card .label {
  color: #64748b !important;
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .cta-header-btn {
  color: #ffffff !important;
}

[data-theme="light"] .cta-btn-white {
  background: #0d5bff !important;
  color: #ffffff !important;
  border: 1.5px solid #0d5bff !important;
  box-shadow: 0 10px 24px rgba(13,91,255,0.18) !important;
}

[data-theme="light"] .btn-outline,
[data-theme="light"] .cta-btn-ghost {
  color: #081326 !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .hero-title .accent,
[data-theme="light"] .section-tag,
[data-theme="light"] .tag,
[data-theme="light"] .sc-link,
[data-theme="light"] .read-more,
[data-theme="light"] .portfolio-card > a,
[data-theme="light"] .blog-card > span {
  color: #0d5bff !important;
}

[data-theme="light"] .footer,
[data-theme="light"] body.site-page .footer {
  background: #081326 !important;
  color: rgba(255,255,255,0.78) !important;
}

[data-theme="light"] .footer h1,
[data-theme="light"] .footer h2,
[data-theme="light"] .footer h3,
[data-theme="light"] .footer h4,
[data-theme="light"] .footer h5,
[data-theme="light"] .footer h6,
[data-theme="light"] .footer .logo-text,
[data-theme="light"] .footer .sitename {
  color: #ffffff !important;
}

[data-theme="light"] .footer p,
[data-theme="light"] .footer li,
[data-theme="light"] .footer span,
[data-theme="light"] .footer a,
[data-theme="light"] .footer .credits {
  color: rgba(255,255,255,0.66) !important;
}

[data-theme="light"] .footer a:hover {
  color: #60a5fa !important;
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-primary *,
[data-theme="light"] .btn-primary-gradient,
[data-theme="light"] .btn-primary-gradient *,
[data-theme="light"] .cta-header-btn,
[data-theme="light"] .cta-header-btn *,
[data-theme="light"] button[type="submit"],
[data-theme="light"] button[type="submit"] *,
[data-theme="light"] .contact-form-card button[type="submit"],
[data-theme="light"] .contact-form-card button[type="submit"] * {
  color: #ffffff !important;
}

[data-theme="light"] .btn-primary-gradient {
  background: linear-gradient(135deg, #0d5bff, #8a2eff) !important;
  border-color: transparent !important;
}

[data-theme="light"] .cta-btn-white:hover {
  background: #004ddb !important;
  color: #ffffff !important;
}

[data-theme="light"] .cta-btn-ghost {
  background: #ffffff !important;
  color: #081326 !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .cta-btn-ghost:hover {
  background: #f8fafc !important;
  color: #0d5bff !important;
  border-color: #0d5bff !important;
}

.about-float {
  position: static !important;
  display: inline-block !important;
  margin-top: 18px !important;
  margin-left: 0 !important;
  max-width: 100% !important;
  z-index: 2;
}

@media (max-width: 767px) {
  .about-float {
    position: static !important;
    display: inline-block;
    margin-top: 16px;
    max-width: 100%;
  }
}

/* Project-wide responsive hardening */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

img,
video {
  height: auto;
}

.container,
.container-fluid,
.row,
[class*="col-"] {
  min-width: 0;
}

.table-responsive,
.dataTables_scrollBody {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  max-width: 100%;
}

input,
select,
textarea,
.form-control,
.form-select,
.select2-container {
  max-width: 100%;
}

.modal-dialog {
  max-width: min(96vw, var(--bs-modal-width, 500px));
  margin-left: auto;
  margin-right: auto;
}

.modal-body {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.btn,
button,
input[type="submit"] {
  max-width: 100%;
}

.portfolio-card,
.project-card,
.blog-card,
.service-card,
.why-card,
.industry-card,
.testimonial-card,
.process-step,
.contact-form-card,
.contact-info-card,
.legal-content-card,
.position-card,
.choice-card,
.admin-card {
  min-width: 0;
}

.portal-auth-grid,
.contact-hero-grid,
.about-hero-grid,
.about-mission-grid,
.about-capability-grid,
.portfolio-grid,
.services-grid,
.blog-grid,
.project-grid,
.why-grid,
.industry-grid,
.process-grid,
.stats-grid,
.dashboard-grid {
  min-width: 0;
}

@media (max-width: 1024px) {
  .portal-auth-grid,
  .contact-hero-grid,
  .about-hero-grid,
  .about-mission-grid,
  .about-capability-grid,
  .service-detail-grid,
  .database-provider-grid,
  .portfolio-feature-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-content,
  .hero-copy,
  .section-title,
  .container.section-title {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .container-fluid {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .row > * {
    padding-left: 8px;
    padding-right: 8px;
  }

  .section,
  .section-padding,
  .home-section,
  .about-section,
  .contact-section,
  .portfolio-section,
  .service-section,
  .blog-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-title,
  .section-title h1,
  .section-title h2,
  .container.section-title h1,
  .container.section-title h2 {
    font-size: clamp(28px, 8vw, 42px) !important;
    line-height: 1.12 !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-desc,
  .hero-description,
  .section-description,
  .section-sub,
  .cta-description {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .btn-row,
  .hero-actions,
  .cta-actions,
  .form-actions,
  .filter-row,
  .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .portal-auth-card,
  .contact-form-card,
  .contact-info-card,
  .legal-content-card,
  .service-card,
  .project-card,
  .blog-card,
  .portfolio-card,
  .choice-card,
  .why-card,
  .industry-card,
  .testimonial-card,
  .process-step {
    padding: 20px !important;
  }

  .table-responsive table,
  .dataTables_scrollBody table {
    min-width: 680px;
  }

  .dataTables_wrapper .row {
    row-gap: 10px;
  }

  .dataTables_filter label,
  .dataTables_length label {
    width: 100%;
  }

  .dataTables_filter input,
  .dataTables_length select,
  .select2-container {
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .container,
  .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .btn-row .btn,
  .hero-actions .btn,
  .cta-actions .btn,
  .form-actions .btn,
  .filter-row .btn,
  .table-actions .btn,
  button[type="submit"],
  input[type="submit"] {
    width: 100%;
    justify-content: center;
  }

  .modal-dialog {
    max-width: calc(100vw - 18px);
    margin: 9px auto;
  }

  .modal-content {
    border-radius: 14px;
  }

  .table-responsive table,
  .dataTables_scrollBody table {
    min-width: 620px;
  }
}

@media (max-width: 390px) {
  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section,
  .section-padding,
  .home-section,
  .about-section,
  .contact-section,
  .portfolio-section,
  .service-section,
  .blog-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .hero-title,
  .section-title h1,
  .section-title h2,
  .container.section-title h1,
  .container.section-title h2 {
    font-size: clamp(25px, 9vw, 34px) !important;
  }

  .table-responsive table,
  .dataTables_scrollBody table {
    min-width: 560px;
  }
}
