:root {
      --bg: #080a0f;
      --surface: #0e1018;
      --surface2: #141720;
      --surface3: #1c2030;
      --accent: #00c8ff;
      --accent2: #0055ff;
      --accent-soft: rgba(0, 200, 255, 0.12);
      --accent-mid: rgba(0, 200, 255, 0.25);
      --text: #eef0f8;
      --muted: #6b7390;
      --border: rgba(0, 200, 255, 0.12);
      --border2: rgba(0, 200, 255, 0.3);
      --gradient: linear-gradient(135deg, #00c8ff 0%, #0055ff 100%);
      --grad-soft: linear-gradient(135deg, rgba(0, 200, 255, 0.15) 0%, rgba(0, 85, 255, 0.15) 100%);
      --red: #ff4444;
      --green: #00e676;
      --radius: 10px;
    }

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

    html {
      scroll-behavior: smooth;
      background: var(--bg); /* Fallback */
    }

    body {
      background: transparent;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      overflow-x: hidden;
      min-height: 100vh;
    }

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

    button {
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
    }

    input,
    select,
    textarea {
      font-family: 'DM Sans', sans-serif;
    }

    /* SCROLLBAR */
    ::-webkit-scrollbar {
      width: 5px;
    }

    ::-webkit-scrollbar-track {
      background: var(--surface);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--accent2);
      border-radius: 3px;
    }

    /* SCROLL PROGRESS */
    #scroll-line {
      position: fixed;
      top: 0;
      left: 0;
      height: 2px;
      background: var(--gradient);
      z-index: 1001;
      width: 0;
      transition: width 0.1s;
    }

    /* ===== NAV ===== */
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 100;
      padding: 0 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 68px;
      background: rgba(8, 10, 15, 0.95);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      transition: all 0.3s;
    }

    nav.scrolled {
      height: 58px;
      background: rgba(8, 10, 15, 0.98);
    }

    .logo {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 26px;
      letter-spacing: 4px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      line-height: 1;
    }

    .logo-sub {
      font-size: 8px;
      letter-spacing: 3px;
      color: var(--muted);
      -webkit-text-fill-color: var(--muted);
      font-family: 'DM Sans', sans-serif;
      font-weight: 500;
      text-transform: uppercase;
      margin-top: 1px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
    }

    .nav-links a {
      color: var(--muted);
      font-size: 13px;
      letter-spacing: 0.5px;
      transition: color 0.2s;
      font-weight: 400;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--text);
    }

    .nav-cta {
      background: var(--gradient);
      color: #000 !important;
      padding: 8px 18px;
      border-radius: 6px;
      font-weight: 600 !important;
      font-size: 12px !important;
      letter-spacing: 1px;
      transition: opacity 0.2s !important;
    }

    .nav-cta:hover {
      opacity: 0.85;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 5px;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text);
      transition: all 0.3s;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 68px;
      left: 0;
      right: 0;
      background: rgba(8, 10, 15, 0.98);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 20px 5%;
      flex-direction: column;
      gap: 16px;
      z-index: 99;
    }

    .mobile-menu.open {
      display: flex;
    }

    .mobile-menu a {
      color: var(--muted);
      font-size: 15px;
      padding: 8px 0;
      border-bottom: 1px solid var(--border);
    }

    /* ===== PAGES ===== */
    .page {
      display: none;
      padding-top: 68px;
      min-height: 100vh;
    }

    .page.active {
      display: block;
    }

    /* ===== HOME PAGE ===== */
    .hero {
      min-height: calc(100vh - 68px);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding: 0 5%;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0, 85, 255, 0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 200, 255, 0.05) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-grid {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(0, 200, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 200, 255, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 620px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent-soft);
      border: 1px solid var(--border2);
      border-radius: 50px;
      padding: 6px 16px;
      font-size: 11px;
      letter-spacing: 2px;
      color: var(--accent);
      text-transform: uppercase;
      margin-bottom: 28px;
    }

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

    @keyframes pulse-dot {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.5;
        transform: scale(0.7);
      }
    }

    .hero h1 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(52px, 7vw, 88px);
      line-height: 0.9;
      letter-spacing: 2px;
      margin-bottom: 24px;
    }

    .hero h1 span {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.7;
      max-width: 480px;
      margin-bottom: 36px;
    }

    .hero-btns {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--gradient);
      color: #000;
      padding: 13px 28px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      letter-spacing: 0.5px;
      border: none;
      transition: opacity 0.2s, transform 0.2s;
    }

    .btn-primary:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      color: var(--text);
      padding: 13px 28px;
      border-radius: 8px;
      font-weight: 400;
      font-size: 14px;
      border: 1px solid var(--border2);
      transition: all 0.2s;
    }

    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .hero-stats {
      display: flex;
      gap: 40px;
      margin-top: 52px;
      padding-top: 40px;
      border-top: 1px solid var(--border);
    }

    .stat-num {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 36px;
      letter-spacing: 2px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .stat-label {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-top: 2px;
    }

    .hero-visual {
      position: absolute;
      right: 5%;
      top: 50%;
      transform: translateY(-50%);
      width: 400px;
      height: 400px;
      pointer-events: none;
    }

    .hero-ring {
      position: absolute;
      border-radius: 50%;
      border: 1px solid;
    }

    .ring1 {
      width: 100%;
      height: 100%;
      border-color: rgba(0, 200, 255, 0.08);
      animation: rotate 20s linear infinite;
    }

    .ring2 {
      width: 75%;
      height: 75%;
      top: 12.5%;
      left: 12.5%;
      border-color: rgba(0, 85, 255, 0.12);
      animation: rotate 14s linear infinite reverse;
    }

    .ring3 {
      width: 50%;
      height: 50%;
      top: 25%;
      left: 25%;
      border-color: rgba(0, 200, 255, 0.2);
      animation: rotate 9s linear infinite;
    }

    .hero-dot {
      position: absolute;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      top: 0;
      left: 50%;
      transform: translateX(-50%);
    }

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

      to {
        transform: rotate(360deg);
      }
    }

    .hero-cam-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 80px;
      opacity: 0.06;
    }

    /* FEATURES */
    .section {
      padding: 90px 5%;
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-tag {
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 12px;
    }

    .section-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(36px, 4vw, 52px);
      letter-spacing: 2px;
      margin-bottom: 16px;
    }

    .section-sub {
      font-size: 15px;
      color: var(--muted);
      max-width: 500px;
      margin: 0 auto;
      line-height: 1.7;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
    }

    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--gradient);
      transform: scaleX(0);
      transition: transform 0.3s;
      transform-origin: left;
    }

    .feature-card:hover {
      border-color: var(--border2);
      transform: translateY(-3px);
    }

    .feature-card:hover::before {
      transform: scaleX(1);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      background: var(--grad-soft);
      border: 1px solid var(--border2);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 20px;
    }

    .feature-card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
      letter-spacing: 0.3px;
    }

    .feature-card p {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* BRANDS */
    .brands-section {
      padding: 60px 5%;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .brands-label {
      text-align: center;
      font-size: 11px;
      letter-spacing: 3px;
      color: var(--muted);
      text-transform: uppercase;
      margin-bottom: 36px;
    }

    .brands-row {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 50px;
      flex-wrap: wrap;
    }

    .brand-item {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 22px;
      letter-spacing: 3px;
      color: var(--muted);
      transition: color 0.3s;
      cursor: default;
    }

    .brand-item:hover {
      color: var(--accent);
    }

    /* CAT CARDS */
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .cat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 20px;
      position: relative;
    }

    .cat-card:hover {
      border-color: var(--border2);
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .cat-card-img {
      width: 110px;
      height: 110px;
      flex-shrink: 0;
      background: #ffffff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px;
    }

    .cat-card-img img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      transition: transform 0.3s;
    }

    .cat-card:hover .cat-card-img img {
      transform: scale(1.1);
    }

    .cat-card-body {
      flex: 1;
    }

    .cat-card-body h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text);
    }

    .cat-card-body p {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.4;
    }

    .cat-card-count {
      margin-top: 12px;
      font-size: 12px;
      color: var(--accent);
      font-weight: 500;
    }

    .cat-card-count .count {
      background: var(--surface2);
      padding: 2px 8px;
      border-radius: 50px;
      margin-right: 6px;
    }

    /* PACKAGES */
    .packages-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .pkg-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 36px;
      position: relative;
      transition: all 0.3s;
    }

    .pkg-card.featured {
      border-color: var(--accent);
      background: linear-gradient(135deg, rgba(0, 200, 255, 0.05), rgba(0, 85, 255, 0.05));
    }

    .pkg-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--gradient);
      color: #000;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      padding: 4px 16px;
      border-radius: 50px;
      text-transform: uppercase;
    }

    .pkg-name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 28px;
      letter-spacing: 2px;
      margin-bottom: 4px;
    }

    .pkg-desc {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 24px;
    }

    .pkg-price {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 48px;
      letter-spacing: 2px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1;
    }

    .pkg-price span {
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: var(--muted);
      -webkit-text-fill-color: var(--muted);
    }

    .pkg-features {
      list-style: none;
      margin: 24px 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .pkg-features li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--muted);
    }

    .pkg-features li::before {
      content: '✓';
      color: var(--accent);
      font-weight: 700;
      flex-shrink: 0;
    }

    .pkg-btn {
      width: 100%;
      padding: 13px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      border: none;
      transition: all 0.2s;
      margin-top: 10px;
    }

    .pkg-btn.primary {
      background: var(--gradient);
      color: #000;
    }

    .pkg-btn.outline {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border2);
    }

    .pkg-btn:hover {
      opacity: 0.85;
      transform: translateY(-1px);
    }

    /* CTA BANNER */
    .cta-banner {
      background: linear-gradient(135deg, rgba(0, 200, 255, 0.08), rgba(0, 85, 255, 0.08));
      border: 1px solid var(--border2);
      border-radius: 16px;
      padding: 60px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-banner h2 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(32px, 4vw, 52px);
      letter-spacing: 2px;
      margin-bottom: 16px;
    }

    .cta-banner p {
      font-size: 15px;
      color: var(--muted);
      margin-bottom: 32px;
    }

    .cta-btns {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* ===== PRODUCTS PAGE ===== */
    .products-header {
      padding: 40px 5% 30px;
      border-bottom: 1px solid var(--border);
    }

    .products-header h1 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(36px, 4vw, 48px);
      letter-spacing: 3px;
      margin-bottom: 8px;
    }

    .products-header p {
      color: var(--muted);
      font-size: 14px;
    }

    .products-controls {
      padding: 24px 5%;
      display: flex;
      gap: 14px;
      align-items: center;
      flex-wrap: wrap;
      border-bottom: 1px solid var(--border);
    }

    .search-wrap {
      flex: 1;
      min-width: 220px;
      position: relative;
    }

    .search-wrap input {
      width: 100%;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 10px 16px 10px 40px;
      color: var(--text);
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
    }

    .search-wrap input:focus {
      border-color: var(--border2);
    }

    .search-wrap::before {
      content: '🔍';
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 13px;
    }

    .filter-select {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 10px 14px;
      color: var(--text);
      font-size: 13px;
      outline: none;
      cursor: pointer;
      transition: border-color 0.2s;
    }

    .filter-select:focus {
      border-color: var(--border2);
    }

    .sort-select {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 10px 14px;
      color: var(--text);
      font-size: 13px;
      outline: none;
      cursor: pointer;
    }

    .products-layout {
      display: flex;
      min-height: calc(100vh - 260px);
    }

    .sidebar {
      width: 240px;
      flex-shrink: 0;
      border-right: 1px solid var(--border);
      padding: 24px 20px;
    }

    .sidebar-title {
      font-size: 11px;
      letter-spacing: 2px;
      color: var(--muted);
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .cat-filter-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .cat-filter-item {
      padding: 9px 12px;
      border-radius: 7px;
      cursor: pointer;
      font-size: 13px;
      color: var(--muted);
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.2s;
    }

    .cat-filter-item:hover {
      background: var(--surface2);
      color: var(--text);
    }

    .cat-filter-item.active {
      background: var(--accent-soft);
      color: var(--accent);
      border-left: 2px solid var(--accent);
    }

    .cat-filter-item .count {
      font-size: 11px;
      background: var(--surface3);
      border-radius: 50px;
      padding: 1px 7px;
    }

    .price-range {
      margin-top: 24px;
    }

    .price-inputs {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }

    .price-inputs input {
      width: 100%;
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 7px 10px;
      color: var(--text);
      font-size: 12px;
      outline: none;
    }

    .brand-filters {
      margin-top: 24px;
    }

    .brand-checkbox {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 0;
      cursor: pointer;
      font-size: 13px;
      color: var(--muted);
    }

    .brand-checkbox input {
      accent-color: var(--accent);
    }

    .brand-checkbox:hover {
      color: var(--text);
    }

    .products-main {
      flex: 1;
      padding: 24px 28px;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 18px;
    }

    .product-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      transition: all 0.25s;
      position: relative;
    }

    .product-card:hover {
      border-color: var(--border2);
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0, 200, 255, 0.06);
    }

    .product-img {
      height: 160px;
      background: var(--surface2);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }

    .product-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 10px;
      transition: transform 0.3s;
    }

    .product-card:hover .product-img img {
      transform: scale(1.05);
    }

    .product-cat-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: rgba(0, 0, 0, 0.7);
      border: 1px solid var(--border);
      border-radius: 50px;
      padding: 2px 8px;
      font-size: 10px;
      color: var(--accent);
      z-index: 2;
    }

    .product-hover-desc {
      position: absolute;
      inset: 0;
      background: rgba(14, 16, 24, 0.85);
      backdrop-filter: blur(4px);
      padding: 20px 14px;
      font-size: 11px;
      line-height: 1.6;
      color: var(--text);
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s;
      pointer-events: none;
      overflow-y: auto;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    .product-img:hover .product-hover-desc {
      opacity: 1;
      transform: translateY(0);
    }

    .product-body {
      padding: 14px;
    }

    .product-name {
      font-size: 12px;
      font-weight: 500;
      line-height: 1.5;
      margin-bottom: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      height: 36px;
      transition: color 0.2s;
    }

    .product-name:hover {
      color: var(--accent);
    }

    .product-short-desc {
      font-size: 10px;
      color: var(--muted);
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.4;
      height: 28px;
    }

    .product-brand {
      font-size: 10px;
      color: var(--muted);
      margin-bottom: 10px;
    }

    .product-price {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 22px;
      letter-spacing: 1px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .product-price-sub {
      font-size: 10px;
      color: var(--muted);
    }

    .product-actions {
      display: flex;
      gap: 6px;
      margin-top: 12px;
    }

    .btn-cart {
      flex: 1;
      background: var(--gradient);
      color: #000;
      border: none;
      padding: 8px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 600;
      transition: opacity 0.2s;
    }

    .btn-cart:hover {
      opacity: 0.85;
    }

    .btn-view {
      background: var(--surface3);
      color: var(--text);
      border: 1px solid var(--border);
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 11px;
      transition: all 0.2s;
    }

    .btn-view:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 32px 0;
    }

    .page-btn {
      width: 36px;
      height: 36px;
      border-radius: 7px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 13px;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .page-btn:hover,
    .page-btn.active {
      background: var(--accent-soft);
      border-color: var(--border2);
      color: var(--accent);
    }

    .products-count {
      font-size: 12px;
      color: var(--muted);
      padding: 16px 0 0;
    }

    .no-results {
      text-align: center;
      padding: 80px 20px;
      color: var(--muted);
    }

    .no-results h3 {
      font-size: 20px;
      margin-bottom: 8px;
      color: var(--text);
    }

    /* ===== PRODUCT DETAIL ===== */
    .product-detail {
      padding: 40px 5%;
    }

    .breadcrumb {
      display: flex;
      gap: 8px;
      align-items: center;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 32px;
    }

    .breadcrumb a {
      cursor: pointer;
      transition: color 0.2s;
    }

    .breadcrumb a:hover {
      color: var(--accent);
    }

    .breadcrumb span {
      color: var(--muted);
    }

    .detail-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: start;
    }

    .detail-img-wrap {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 350px;
    }

    .detail-img-wrap img {
      max-width: 100%;
      max-height: 300px;
      object-fit: contain;
    }

    .detail-info h1 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
      line-height: 1.4;
    }

    .detail-meta {
      display: flex;
      gap: 16px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .detail-tag {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 50px;
      padding: 4px 12px;
      font-size: 11px;
      color: var(--muted);
    }

    .detail-price-wrap {
      margin: 24px 0;
    }

    .detail-price {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 52px;
      letter-spacing: 2px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1;
    }

    .detail-price-note {
      font-size: 12px;
      color: var(--muted);
      margin-top: 4px;
    }

    .detail-desc {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 28px;
      border-top: 1px solid var(--border);
      padding-top: 24px;
    }

    .detail-btns {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .detail-btns .btn-primary {
      font-size: 15px;
      padding: 14px 32px;
    }

    /* ===== PACKAGES PAGE ===== */
    .packages-header {
      padding: 60px 5% 40px;
      text-align: center;
    }

    .pkg-tabs-container {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 40px;
      padding: 0 20px;
    }

    .pkg-tab-btn {
      background: var(--surface2);
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 12px 28px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
    }

    .pkg-tab-btn:hover {
      color: var(--text);
      border-color: var(--border2);
    }

    .pkg-tab-btn.active {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
    }

    /* ===== ABOUT PAGE ===== */
    .about-hero {
      padding: 80px 5%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-text h1 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(40px, 5vw, 64px);
      letter-spacing: 2px;
      margin-bottom: 24px;
    }

    .about-text h1 span {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .about-text p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 20px;
    }

    .about-visual {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 48px;
      text-align: center;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      padding: 0 5% 80px;
    }

    .team-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      text-align: center;
      transition: all 0.3s;
    }

    .team-card:hover {
      border-color: var(--border2);
      transform: translateY(-3px);
    }

    .team-avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: var(--grad-soft);
      border: 2px solid var(--border2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      margin: 0 auto 16px;
    }

    .team-name {
      font-weight: 600;
      font-size: 16px;
      margin-bottom: 4px;
    }

    .team-role {
      font-size: 12px;
      color: var(--accent);
    }

    /* ===== CONTACT PAGE ===== */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 60px;
      padding: 60px 5%;
    }

    .contact-info h1 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(36px, 4vw, 52px);
      letter-spacing: 2px;
      margin-bottom: 24px;
    }

    .contact-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      margin-bottom: 28px;
    }

    .contact-icon {
      width: 44px;
      height: 44px;
      background: var(--accent-soft);
      border: 1px solid var(--border2);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .contact-label {
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .contact-value {
      font-size: 15px;
      font-weight: 500;
    }

    .contact-form {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 40px;
    }

    .contact-form h2 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 28px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 12px;
      letter-spacing: 0.5px;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 11px 14px;
      color: var(--text);
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
      resize: none;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--border2);
    }

    .form-success {
      background: rgba(0, 230, 118, 0.1);
      border: 1px solid rgba(0, 230, 118, 0.3);
      border-radius: 8px;
      padding: 16px;
      color: var(--green);
      font-size: 14px;
      display: none;
    }

    /* ===== AUTH ===== */
    .auth-wrap {
      min-height: calc(100vh - 68px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
    }

    .auth-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 48px;
      width: 100%;
      max-width: 440px;
    }

    .auth-logo {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 28px;
      letter-spacing: 4px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: center;
      margin-bottom: 8px;
    }

    .auth-sub {
      text-align: center;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 32px;
    }

    .auth-tabs {
      display: flex;
      gap: 0;
      margin-bottom: 28px;
      background: var(--surface2);
      border-radius: 8px;
      padding: 4px;
    }

    .auth-tab {
      flex: 1;
      padding: 9px;
      border-radius: 6px;
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

    .auth-tab.active {
      background: var(--surface3);
      color: var(--text);
    }

    .auth-form {
      display: none;
    }

    .auth-form.active {
      display: block;
    }

    .auth-divider {
      text-align: center;
      font-size: 12px;
      color: var(--muted);
      margin: 20px 0;
      position: relative;
    }

    .auth-divider::before,
    .auth-divider::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 42%;
      height: 1px;
      background: var(--border);
    }

    .auth-divider::before {
      left: 0;
    }

    .auth-divider::after {
      right: 0;
    }

    .auth-link {
      font-size: 13px;
      color: var(--accent);
      cursor: pointer;
    }

    .error-msg {
      color: var(--red);
      font-size: 12px;
      margin-top: 6px;
      display: none;
    }

    /* ===== ADMIN ===== */
    .admin-layout {
      display: flex;
      min-height: calc(100vh - 68px);
    }

    .admin-sidebar {
      width: 220px;
      background: var(--surface);
      border-right: 1px solid var(--border);
      padding: 24px 0;
      flex-shrink: 0;
    }

    .admin-sidebar-title {
      font-size: 10px;
      letter-spacing: 2px;
      color: var(--muted);
      padding: 0 20px;
      margin-bottom: 12px;
      text-transform: uppercase;
    }

    .admin-nav-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 20px;
      font-size: 13px;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.2s;
      border-left: 2px solid transparent;
    }

    .admin-nav-item:hover {
      background: var(--surface2);
      color: var(--text);
    }

    .admin-nav-item.active {
      color: var(--accent);
      background: var(--accent-soft);
      border-left-color: var(--accent);
    }

    .admin-main {
      flex: 1;
      padding: 32px;
    }

    .admin-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 28px;
    }

    .admin-header h2 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 28px;
      letter-spacing: 2px;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
      margin-bottom: 28px;
    }

    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }

    .stat-card-label {
      font-size: 11px;
      letter-spacing: 1px;
      color: var(--muted);
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .stat-card-val {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 36px;
      letter-spacing: 2px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .stat-card-sub {
      font-size: 11px;
      color: var(--green);
      margin-top: 4px;
    }

    .admin-table-wrap {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .admin-table {
      width: 100%;
      border-collapse: collapse;
    }

    .admin-table th {
      padding: 12px 16px;
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--muted);
      text-align: left;
      background: var(--surface2);
      border-bottom: 1px solid var(--border);
    }

    .admin-table td {
      padding: 12px 16px;
      font-size: 13px;
      border-bottom: 1px solid var(--border);
      vertical-align: middle;
    }

    .admin-table tr:last-child td {
      border-bottom: none;
    }

    .admin-table tr:hover td {
      background: var(--surface2);
    }

    .admin-img {
      width: 44px;
      height: 44px;
      object-fit: contain;
      background: var(--surface2);
      border-radius: 6px;
    }

    .status-badge {
      padding: 3px 9px;
      border-radius: 50px;
      font-size: 10px;
      font-weight: 600;
    }

    .status-active {
      background: rgba(0, 230, 118, 0.15);
      color: var(--green);
    }

    .status-pending {
      background: rgba(255, 200, 0, 0.15);
      color: #ffc800;
    }

    .admin-action-btn {
      padding: 5px 12px;
      border-radius: 5px;
      font-size: 11px;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
    }

    .admin-action-btn.edit {
      background: var(--accent-soft);
      color: var(--accent);
    }

    .admin-action-btn.del {
      background: rgba(255, 68, 68, 0.1);
      color: var(--red);
    }

    .admin-search {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 7px;
      padding: 9px 14px;
      color: var(--text);
      font-size: 13px;
      outline: none;
      width: 240px;
    }

    .admin-section {
      display: none;
    }

    .admin-section.active {
      display: block;
    }

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(4px);
    }

    .modal-overlay.open {
      display: flex;
    }

    .modal {
      background: var(--surface);
      border: 1px solid var(--border2);
      border-radius: 12px;
      padding: 36px;
      width: 100%;
      max-width: 520px;
      max-height: 80vh;
      overflow-y: auto;
    }

    .modal h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .modal-btns {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
      margin-top: 24px;
    }

    /* ===== CART DRAWER ===== */
    .cart-btn {
      position: relative;
    }

    .cart-count {
      position: absolute;
      top: -8px;
      right: -8px;
      background: var(--gradient);
      color: #000;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      font-size: 10px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cart-drawer {
      position: fixed;
      right: 0;
      top: 0;
      bottom: 0;
      width: 380px;
      background: var(--surface);
      border-left: 1px solid var(--border);
      z-index: 150;
      transform: translateX(100%);
      transition: transform 0.3s;
      display: flex;
      flex-direction: column;
    }

    .cart-drawer.open {
      transform: translateX(0);
    }

    .cart-header {
      padding: 24px;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .cart-header h3 {
      font-size: 16px;
      font-weight: 600;
    }

    .cart-close {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 7px;
      padding: 6px 10px;
      color: var(--muted);
      font-size: 13px;
      cursor: pointer;
    }

    .cart-items {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
    }

    .cart-item {
      display: flex;
      gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid var(--border);
    }

    .cart-item-img {
      width: 56px;
      height: 56px;
      object-fit: contain;
      background: var(--surface2);
      border-radius: 7px;
    }

    .cart-item-info {
      flex: 1;
    }

    .cart-item-name {
      font-size: 12px;
      font-weight: 500;
      line-height: 1.4;
      margin-bottom: 6px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .cart-item-price {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 18px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .cart-item-remove {
      background: none;
      border: none;
      color: var(--muted);
      font-size: 16px;
      cursor: pointer;
      padding: 4px;
    }

    .cart-item-remove:hover {
      color: var(--red);
    }

    .cart-footer {
      padding: 20px;
      border-top: 1px solid var(--border);
    }

    .cart-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .cart-total-label {
      font-size: 13px;
      color: var(--muted);
    }

    .cart-total-val {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 28px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .cart-empty {
      text-align: center;
      padding: 60px 20px;
      color: var(--muted);
    }

    .cart-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 149;
      display: none;
    }

    .cart-overlay.open {
      display: block;
    }

    /* ===== LANG TOGGLE ===== */
    .lang-btn {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 5px 11px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .lang-btn:hover {
      border-color: var(--border2);
      color: var(--text);
    }

    .lang-btn.ka-active::after {
      content: ' KA';
    }

    .lang-btn.en-active::after {
      content: ' EN';
    }

    /* ===== FOOTER ===== */
    footer {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 60px 5% 32px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px;
    }

    .footer-brand .logo {
      margin-bottom: 16px;
      display: inline-flex;
    }

    .footer-brand p {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
      max-width: 260px;
    }

    .footer-col h4 {
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul a {
      font-size: 13px;
      color: var(--muted);
      cursor: pointer;
      transition: color 0.2s;
    }

    .footer-col ul a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 32px;
      border-top: 1px solid var(--border);
      font-size: 12px;
      color: var(--muted);
    }

    .footer-social {
      display: flex;
      gap: 12px;
    }

    .social-btn {
      width: 34px;
      height: 34px;
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .social-btn:hover {
      border-color: var(--border2);
      color: var(--accent);
    }

    /* RESPONSIVE */
    @media(max-width:900px) {
      .hero-visual {
        display: none;
      }

      .detail-grid {
        grid-template-columns: 1fr;
      }

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

      .contact-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      .products-layout {
        flex-direction: column;
      }

      .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
      }

      .form-row {
        grid-template-columns: 1fr;
      }

      .admin-layout {
        flex-direction: column;
      }

      .admin-sidebar {
        width: 100%;
      }
    }

    @media(max-width:600px) {
      .nav-links {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .hero h1 {
        font-size: 48px;
      }

      .hero-stats {
        gap: 24px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .products-controls {
        flex-direction: column;
      }

      .search-wrap {
        min-width: 100%;
      }

      .cart-drawer {
        width: 100%;
      }
    }

    /* UTILS */
    .flex {
      display: flex;
    }

    .gap8 {
      gap: 8px;
    }

    .gap16 {
      gap: 16px;
    }

    .gap24 {
      gap: 24px;
    }

    .items-center {
      align-items: center;
    }

    .justify-between {
      justify-content: space-between;
    }

    .text-accent {
      color: var(--accent);
    }

    .text-muted {
      color: var(--muted);
    }

    .fw600 {
      font-weight: 600;
    }

    .mt8 {
      margin-top: 8px;
    }

    .mt16 {
      margin-top: 16px;
    }

    .mt24 {
      margin-top: 24px;
    }

    .mt32 {
      margin-top: 32px;
    }

    .mb8 {
      margin-bottom: 8px;
    }

    .mb16 {
      margin-bottom: 16px;
    }

    .fade-in {
      animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .loading {
      text-align: center;
      padding: 60px;
      color: var(--muted);
    }

    .spinner {
      width: 32px;
      height: 32px;
      border: 2px solid var(--border);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 16px;
    }

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

    /* EYESYS Watermark overlay on product image */
    .product-img::after {
      content: "EYESYS";
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      pointer-events: none;
      z-index: 2;
      backdrop-filter: blur(2px);
    }

    .detail-img-wrap {
      position: relative;
      overflow: hidden;
    }

    .detail-img-wrap::after {
      content: "EYESYS";
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      padding: 8px 12px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 2px;
      pointer-events: none;
      z-index: 2;
      backdrop-filter: blur(2px);
    }

    /* ===== AI CHATBOT ===== */
    #ai-chat-btn {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 9999;
      width: 62px;
      height: 62px;
      border-radius: 50%;
      background: var(--gradient);
      border: none;
      color: #fff;
      font-size: 28px;
      cursor: pointer;
      box-shadow: 0 4px 24px rgba(0, 200, 255, 0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }

    #ai-chat-btn:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 32px rgba(0, 200, 255, 0.5);
    }

    #ai-chat-btn .pulse {
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: var(--gradient);
      animation: chatPulse 2s infinite;
      opacity: 0;
      z-index: -1;
    }

    @keyframes chatPulse {
      0% {
        transform: scale(1);
        opacity: 0.5;
      }

      100% {
        transform: scale(1.6);
        opacity: 0;
      }
    }

    #ai-chat-window {
      position: fixed;
      bottom: 100px;
      right: 28px;
      z-index: 9998;
      width: 420px;
      max-height: 560px;
      background: rgba(14, 16, 24, 0.92);
      backdrop-filter: blur(24px);
      border: 1px solid var(--border2);
      border-radius: 18px;
      display: none;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 200, 255, 0.08);
      animation: chatSlideIn 0.3s ease;
    }

    @keyframes chatSlideIn {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    #ai-chat-window.open {
      display: flex;
    }

    .chat-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      background: rgba(20, 23, 32, 0.6);
    }

    .chat-header-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .chat-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
    }

    .chat-header-info h4 {
      font-size: 14px;
      font-weight: 600;
      margin: 0;
      color: var(--text);
    }

    .chat-header-info span {
      font-size: 11px;
      color: var(--green);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .chat-header-info span::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--green);
      border-radius: 50%;
      display: inline-block;
    }

    .chat-close {
      background: none;
      border: none;
      color: var(--muted);
      font-size: 20px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 6px;
      transition: all 0.2s;
    }

    .chat-close:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.05);
    }

    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 16px 16px 8px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      min-height: 300px;
      max-height: 380px;
    }

    .chat-msg {
      max-width: 85%;
      padding: 11px 15px;
      border-radius: 14px;
      font-size: 13px;
      line-height: 1.55;
      word-break: break-word;
      animation: msgIn 0.25s ease;
    }

    @keyframes msgIn {
      from {
        opacity: 0;
        transform: translateY(8px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

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

    .chat-msg.user {
      align-self: flex-end;
      background: var(--gradient);
      color: #fff;
      border-bottom-right-radius: 4px;
    }

    .chat-msg.bot strong {
      color: var(--accent);
      font-weight: 600;
    }

    .chat-msg.bot ul,
    .chat-msg.bot ol {
      margin: 6px 0 2px 16px;
      padding: 0;
    }

    .chat-msg.bot li {
      margin-bottom: 3px;
    }

    .typing-dots {
      display: flex;
      gap: 4px;
      padding: 12px 16px;
      align-self: flex-start;
    }

    .typing-dots span {
      width: 7px;
      height: 7px;
      background: var(--muted);
      border-radius: 50%;
      animation: dotBounce 1.2s infinite;
    }

    .typing-dots span:nth-child(2) {
      animation-delay: 0.15s;
    }

    .typing-dots span:nth-child(3) {
      animation-delay: 0.3s;
    }

    @keyframes dotBounce {

      0%,
      60%,
      100% {
        transform: translateY(0);
        opacity: 0.4;
      }

      30% {
        transform: translateY(-6px);
        opacity: 1;
      }
    }

    .chat-input-area {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 14px;
      border-top: 1px solid var(--border);
      background: rgba(14, 16, 24, 0.5);
    }

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

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

    .chat-input-area input::placeholder {
      color: var(--muted);
    }

    .chat-send {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: var(--gradient);
      border: none;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      flex-shrink: 0;
    }

    .chat-send:hover {
      transform: scale(1.06);
      box-shadow: 0 2px 12px rgba(0, 200, 255, 0.3);
    }

    .chat-send:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none;
    }

    @media(max-width:520px) {
      #ai-chat-window {
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-height: 100vh;
        border-radius: 18px 18px 0 0;
      }

      #ai-chat-btn {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        font-size: 24px;
      }

      .chat-messages {
        min-height: 50vh;
        max-height: 65vh;
      }
    }/* =========================================================
   NEW CATEGORY CARDS
   ========================================================= */

/* --- Grid --- */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .categories-grid { grid-template-columns: 1fr; gap: 16px; } }

/* --- Card --- */
.category-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px 28px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  display: block;
}
.category-card:hover {
  transform: translateY(-8px) scale(1.015);
  background: var(--surface2);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.08), 0 0 80px rgba(0, 229, 255, 0.04), inset 0 1px 0 rgba(0, 229, 255, 0.1);
}
.category-card:active, .category-card.card-pressed { transform: translateY(-2px) scale(0.975); transition-duration: 0.1s; }

/* --- Moving Light Effect --- */
.card-light { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; border-radius: 18px; z-index: 1; }
.card-light::before {
  content: ''; position: absolute; width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
  top: var(--mouse-y, 50%); left: var(--mouse-x, 50%);
}
.category-card:hover .card-light::before { opacity: 1; }

/* Scanning line */
.card-scanline { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.04), transparent); pointer-events: none; z-index: 1; border-radius: 18px; }
.category-card:hover .card-scanline { animation: scanline 1.8s ease-in-out infinite; }
@keyframes scanline { 0% { left: -50%; } 100% { left: 150%; } }

/* Corner accents */
.card-corner { position: absolute; width: 20px; height: 20px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.category-card:hover .card-corner { opacity: 1; }
.card-corner--tl { top: 8px; left: 8px; border-top: 2px solid #00e5ff; border-left: 2px solid #00e5ff; border-radius: 4px 0 0 0; }
.card-corner--tr { top: 8px; right: 8px; border-top: 2px solid #00e5ff; border-right: 2px solid #00e5ff; border-radius: 0 4px 0 0; }
.card-corner--bl { bottom: 8px; left: 8px; border-bottom: 2px solid #00e5ff; border-left: 2px solid #00e5ff; border-radius: 0 0 0 4px; }
.card-corner--br { bottom: 8px; right: 8px; border-bottom: 2px solid #00e5ff; border-right: 2px solid #00e5ff; border-radius: 0 0 4px 0; }

/* --- Card Content --- */
.card-content { position: relative; z-index: 3; display: flex; align-items: flex-start; gap: 20px; }
.card-image-wrap { flex-shrink: 0; width: 80px; height: 80px; background: rgba(0, 229, 255, 0.04); border: 1px solid rgba(0, 229, 255, 0.06); border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.category-card:hover .card-image-wrap { border-color: rgba(0, 229, 255, 0.2); background: rgba(0, 229, 255, 0.06); }
.card-image-wrap img { width: 56px; height: 56px; object-fit: contain; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease; filter: brightness(0.9); }
.category-card:hover .card-image-wrap img { transform: scale(1.12) rotate(2deg); filter: brightness(1.1) drop-shadow(0 0 8px rgba(0, 229, 255, 0.25)); }
.card-icon { font-size: 36px; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); line-height: 1; }
.category-card:hover .card-icon { transform: scale(1.15) rotate(3deg); }

.card-info { flex: 1; min-width: 0; }
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--text); display: flex; align-items: center; gap: 8px; transition: color 0.4s ease; }
.category-card:hover .card-title { color: #67e8f9; }
.card-description { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; transition: color 0.4s ease; }
.category-card:hover .card-description { color: #b0bec5; }

.card-footer { display: flex; align-items: center; gap: 8px; }
.card-count { font-size: 22px; font-weight: 800; color: #00e5ff; line-height: 1; }
.card-count-label { font-size: 13px; color: var(--muted); transition: color 0.4s ease; }
.category-card:hover .card-count-label { color: #67e8f9; }

.card-arrow { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 229, 255, 0.06); border: 1px solid rgba(0, 229, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease, border-color 0.4s ease; }
.card-arrow svg { width: 14px; height: 14px; stroke: #00e5ff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.category-card:hover .card-arrow { background: rgba(0, 229, 255, 0.12); border-color: rgba(0, 229, 255, 0.3); transform: translateX(4px); }
.category-card:hover .card-arrow svg { transform: translateX(2px); }

/* Entrance Animation */
.category-card { opacity: 0; transform: translateY(40px); }
.category-card.card-visible { opacity: 1; transform: translateY(0); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.category-card[data-delay="0"] { transition-delay: 0s; }
.category-card[data-delay="1"] { transition-delay: 0.08s; }
.category-card[data-delay="2"] { transition-delay: 0.16s; }
.category-card[data-delay="3"] { transition-delay: 0.24s; }
.category-card[data-delay="4"] { transition-delay: 0.32s; }
.category-card[data-delay="5"] { transition-delay: 0.40s; }
.category-card.entrance-done { transition-delay: 0s !important; }

/* Pulse ring */
.click-ripple { position: absolute; border-radius: 50%; background: rgba(0, 229, 255, 0.15); transform: scale(0); animation: ripple-out 0.6s ease-out forwards; pointer-events: none; z-index: 5; }
@keyframes ripple-out { to { transform: scale(4); opacity: 0; } }
/* =========================================================
   MOBILE RESPONSIVENESS & BUG FIXES
   ========================================================= */
@media (max-width: 860px) {
  /* Navigation Fix */
  nav { padding: 0 15px; }
  .nav-links li:not(:nth-last-child(-n+3)) { display: none; } /* Hide text links */
  #nav-auth-li, #nav-user-li { display: none !important; }    /* Hide auth buttons */
  .hamburger { display: flex; margin-left: 10px; }
  
  /* Remove width constraints causing slides */
  body, html { width: 100vw; overflow-x: hidden; }
  .hero { padding-top: 80px; text-align: center; }
  .hero-content { width: 100%; margin: 0 auto; }
  .hero h1 { font-size: 46px; line-height: 1.1; margin-top: 10px; }
  .hero-visual { display: none; }
  .hero-stats { flex-direction: column; gap: 30px; text-align: center; border: none; padding-top: 20px;}
  .hero-btns { justify-content: center; }
  
  /* Section layouts */
  .section { padding: 50px 15px; }
  .footer-content { flex-direction: column; gap: 30px; text-align: center; }
  .footer-links ul { align-items: center; display: flex; flex-direction: column; }

  /* Chatbot Fix */
  #ai-chat-btn:has(+ #ai-chat-window.open) {
    display: none !important;
  }
}
/* =========================================================
   AGGRESSIVE MOBILE OVERFLOW PREVENTION & FIXES
   ========================================================= */
* { box-sizing: border-box !important; }
body, html {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 860px) {
  /* Ensure NO element exceeds viewport width */
  img, canvas, section, .cta-banner { max-width: 100% !important; }
  
  /* Fix hardcoded widths in hero and other components */
  .hero-visual, .brands-row, .modal { max-width: 100% !important; overflow-wrap: break-word; }
  
  /* Make sure flex grids break gracefully */
  .features-grid, .categories-grid, .footer-grid, .brands-row {
    flex-wrap: wrap; grid-template-columns: 1fr;
  }
}
