/*
Theme Name:  Hexsolutions
Description: Custom storefront for Hexsolutions.net — Philippine web hosting since 2008.
Version:     1.0
Author:      Hexsolutions
*/

  :root {
    --hex: #a3e635;
    --hex-dark: #84cc16;
    --hex-glow: rgba(163,230,53,0.15);
    --bg: #0a0f00;
    --bg2: #0d1400;
    --bg3: #111a00;
    --surface: #121900;
    --border: rgba(163,230,53,0.1);
    --border-bright: rgba(163,230,53,0.4);
    --text: #e8f5c8;
    --muted: #6b8040;
    --accent: #facc15;
    --white: #f0ffd4;
    --radius: 16px;
    --font: 'Plus Jakarta Sans', sans-serif;
  }

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

  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
  }

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

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 4rem;
    background: rgba(10,15,0,0.8);
    border-bottom: 1px solid var(--border);
  }
  /* backdrop-filter on a pseudo-element so nav doesn't create a stacking context
     (a stacking context traps position:fixed children inside nav's bounds) */
  nav::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    z-index: -1;
  }

  .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
  }
  .logo svg { display: block; }

  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--hex); }

  .nav-cta {
    background: var(--hex);
    color: var(--bg) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
  }
  .nav-cta:hover { background: var(--hex-dark) !important; transform: translateY(-1px); }

  /* Hamburger button — hidden on desktop */
  .nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 200;
    flex-shrink: 0;
  }
  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }
  nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* HERO */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(ellipse 80% 60% at 50% 30%, rgba(163,230,53,0.07) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 80% 70%, rgba(250,204,21,0.04) 0%, transparent 60%);
    z-index: 0;
  }

  .hero-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69.3'%3E%3Cpolygon points='30,2 58,17.65 58,51.65 30,67.3 2,51.65 2,17.65' fill='none' stroke='rgba(163,230,53,0.07)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 69.3px;
    animation: gridDrift 30s linear infinite;
  }

  @keyframes gridDrift {
    from { background-position: 0 0; }
    to   { background-position: 60px 69.3px; }
  }

  .hero-badge {
    position: relative; z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(163,230,53,0.08);
    border: 1px solid rgba(163,230,53,0.25);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--hex);
    margin-bottom: 1.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: fadeUp 0.6s ease both;
  }

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

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
  }

  .hero h1 {
    position: relative; z-index: 1;
    font-family: var(--font);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    max-width: 900px;
    animation: fadeUp 0.7s 0.1s ease both;
  }

  .hero h1 em {
    font-style: normal;
    color: var(--hex);
    position: relative;
  }

  .hero h1 em::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hex), transparent);
    border-radius: 2px;
  }

  .hero-sub {
    position: relative; z-index: 1;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 520px;
    margin: 1.5rem auto 2.5rem;
    font-weight: 300;
    animation: fadeUp 0.7s 0.2s ease both;
  }

  .hero-actions {
    position: relative; z-index: 1;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.7s 0.3s ease both;
  }

  .btn-primary {
    background: var(--hex);
    color: var(--bg);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .btn-primary:hover { background: var(--hex-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(163,230,53,0.25); }

  .btn-secondary {
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--border-bright);
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-secondary:hover { border-color: var(--hex); color: var(--hex); transform: translateY(-2px); }

  .hero-stats {
    position: relative; z-index: 1;
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeUp 0.7s 0.4s ease both;
  }
  .stat { text-align: center; }
  .stat-num { font-family: var(--font); font-size: 1.6rem; font-weight: 800; color: var(--white); }
  .stat-num span { color: var(--hex); }
  .stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem; }

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

  .scroll-hint {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeUp 1s 0.8s ease both;
  }
  .scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--muted), transparent);
    animation: scrollLine 2s ease-in-out infinite;
  }
  @keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50%       { transform: scaleY(0.5); opacity: 0.4; }
  }

  /* SECTION COMMON */
  section { position: relative; z-index: 1; padding: 6rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hex);
    margin-bottom: 1rem;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: var(--hex);
    border-radius: 1px;
  }

  .section-title {
    font-family: var(--font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .section-sub {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    max-width: 500px;
    line-height: 1.7;
  }

  /* PACKAGES */
  #packages { background: var(--bg2); }

  .packages-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }

  .billing-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.4rem;
  }
  .toggle-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .toggle-btn.active { background: var(--hex); color: var(--bg); }

  .save-badge {
    background: rgba(255,107,53,0.15);
    border: 1px solid rgba(255,107,53,0.3);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
  }

  .pkg-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    cursor: pointer;
  }

  .pkg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hex), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .pkg-card:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(163,230,53,0.08); }
  .pkg-card:hover::before { opacity: 1; }

  .pkg-card.featured {
    border-color: var(--hex);
    background: linear-gradient(135deg, rgba(163,230,53,0.06) 0%, var(--surface) 60%);
  }
  .pkg-card.featured::before { opacity: 1; background: var(--hex); }

  .featured-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--hex);
    color: var(--bg);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .pkg-icon {
    width: 52px; height: 52px;
    background: rgba(163,230,53,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
  }
  .pkg-icon img { width: 28px; height: 28px; object-fit: contain; }

  .pkg-name { font-family: var(--font); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
  .pkg-tagline { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.2rem; }

  .pkg-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.2rem; }
  .pkg-currency { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
  .pkg-amount { font-family: var(--font); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
  .pkg-period { font-size: 0.8rem; color: var(--muted); }

  .pkg-yearly { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.4rem; }
  .pkg-yearly strong { color: var(--accent); }

  .pkg-divider { height: 1px; background: var(--border); margin-bottom: 1.2rem; }

  .pkg-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
  .pkg-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.83rem; color: var(--text); }
  .pkg-features li::before {
    content: '';
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(163,230,53,0.1);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3,8 6.5,11.5 13,5' stroke='%23a3e635' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
  }

  .pkg-btn {
    display: block;
    text-align: center;
    padding: 0.7rem;
    border-radius: 9px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border-bright);
    color: var(--hex);
    background: transparent;
    cursor: pointer;
    width: 100%;
  }
  .pkg-btn:hover { background: var(--hex); color: var(--bg); border-color: var(--hex); }
  .pkg-card.featured .pkg-btn { background: var(--hex); color: var(--bg); border-color: var(--hex); }
  .pkg-card.featured .pkg-btn:hover { background: var(--hex-dark); }

  .mini-note {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(163,230,53,0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .mini-note-icon { font-size: 1.4rem; flex-shrink: 0; }
  .mini-note p { font-size: 0.875rem; color: var(--muted); }
  .mini-note strong { color: var(--text); }
  .mini-note a { color: var(--hex); text-decoration: none; }

  /* DOMAIN */
  #domain { background: var(--bg); }

  .domain-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .domain-left { flex: 1; min-width: 260px; }
  .domain-right { flex: 1; min-width: 260px; }

  .domain-price-block { display: flex; align-items: baseline; gap: 0.4rem; margin: 1rem 0; }
  .domain-currency { font-size: 1rem; color: var(--muted); }
  .domain-amount { font-family: var(--font); font-size: 3.5rem; font-weight: 800; color: var(--white); line-height: 1; }
  .domain-period { color: var(--muted); }

  .tld-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
  .tld-chip {
    background: rgba(163,230,53,0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hex);
  }

  .domain-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
  .domain-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--muted); }
  .domain-features li span { color: var(--hex); font-size: 1rem; }

  /* WHY */
  #why { background: var(--bg2); }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: border-color 0.3s;
  }
  .feature-card:hover { border-color: var(--border-bright); }

  .feature-icon {
    width: 48px; height: 48px;
    background: rgba(163,230,53,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .feature-title { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
  .feature-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

  /* FAQ */
  #faq { background: var(--bg); }

  .faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
  .faq-sticky { position: sticky; top: 7rem; }
  .faq-sticky a { color: var(--hex); text-decoration: none; }
  .faq-sticky a:hover { text-decoration: underline; }
  .faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

  .faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }

  .faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--hex); }
  .faq-q.open  { color: var(--hex); }

  .faq-arrow {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(163,230,53,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    color: var(--hex);
    font-size: 0.8rem;
  }
  .faq-q.open .faq-arrow { transform: rotate(180deg); }

  .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
  .faq-a.open { max-height: 300px; }
  .faq-a-inner { padding: 0 1.3rem 1.2rem; }

  /* CONTACT */
  #contact { background: var(--bg2); }

  .contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }

  .contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
  .contact-info-icon {
    width: 40px; height: 40px;
    background: rgba(163,230,53,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .contact-info-text strong { display: block; font-size: 0.85rem; color: var(--white); margin-bottom: 0.2rem; }
  .contact-info-text span  { font-size: 0.85rem; color: var(--muted); }
  .contact-info-text a     { color: var(--hex); text-decoration: none; }

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

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

  .form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
  .form-group.full { grid-column: 1 / -1; }

  label { font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0.03em; }

  input, select, textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
  }
  input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.6; }
  input:focus, select:focus, textarea:focus { border-color: var(--hex); box-shadow: 0 0 0 3px rgba(163,230,53,0.1); }
  select option { background: var(--bg2); }
  textarea { resize: vertical; min-height: 130px; }

  .form-submit { display: flex; justify-content: flex-end; }

  .submit-btn {
    background: var(--hex);
    color: var(--bg);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 2rem;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .submit-btn:hover { background: var(--hex-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(163,230,53,0.2); }
  .submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

  /* Success popup */
  .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .popup-overlay.popup-visible { opacity: 1; }
  .popup-overlay.popup-visible .popup-card {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .popup-card {
    background: var(--surface);
    border: 1px solid var(--hex);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 40px rgba(163, 230, 53, 0.15);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  }
  .popup-icon {
    font-size: 2.8rem;
    color: var(--hex);
    line-height: 1;
    animation: popSpin 0.5s 0.1s ease both;
  }
  @keyframes popSpin {
    from { transform: rotate(-20deg) scale(0.5); opacity: 0; }
    to   { transform: rotate(0deg)  scale(1);   opacity: 1; }
  }
  .popup-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
  }
  .popup-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
  }
  .popup-card p strong { color: var(--text); }
  .popup-close-btn {
    margin-top: 0.5rem;
    background: var(--hex);
    color: var(--bg);
    border: none;
    border-radius: 0.5rem;
    padding: 0.65rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .popup-close-btn:hover { background: var(--hex-dark); transform: translateY(-1px); }

  /* FOOTER */
  footer { background: var(--bg); border-top: 1px solid var(--border); padding: 3rem 2rem 2rem; }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
  }

  .footer-brand p { font-size: 0.875rem; color: var(--muted); margin-top: 0.8rem; line-height: 1.7; max-width: 260px; }

  .footer-col h4 {
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  .footer-col ul li a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--hex); }

  .footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-bottom p { font-size: 0.8rem; color: var(--muted); }
  .footer-bottom a { color: var(--hex); text-decoration: none; }

  /* RESPONSIVE */

  /* Tablet: keep packages at 3 columns so the last row is 3+2 rather than 4+1 */
  @media (min-width: 769px) and (max-width: 1099px) {
    .packages-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 768px) {
    /* Nav */
    nav { padding: 1rem 1.5rem; }
    .nav-burger { display: flex; }
    .nav-links {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(10, 15, 0, 0.97);
      backdrop-filter: blur(20px);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
      z-index: 150;
      display: none;
    }
    nav.nav-open .nav-links { display: flex; }
    .nav-links a { font-size: 1.3rem !important; color: var(--text) !important; }
    .nav-links .nav-cta {
      background: var(--hex) !important;
      color: var(--bg) !important;
      padding: 0.7rem 2rem !important;
      border-radius: 10px !important;
    }

    /* Hero */
    .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }

    /* Packages — single column on mobile */
    .packages-grid { grid-template-columns: 1fr; }

    /* Domain */
    .domain-card { padding: 1.5rem; flex-direction: column; }
    .domain-amount { font-size: 2.5rem; }

    /* FAQ */
    .faq-layout { grid-template-columns: 1fr; }
    .faq-sticky { position: static; }

    /* Contact */
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* General */
    section { padding: 4rem 1.5rem; }
  }

  @media (max-width: 480px) {
    .hero-stats { gap: 1rem; }
    .stat-num { font-size: 1.3rem; }
    .contact-form { padding: 1.25rem; }
    .popup-card { padding: 2rem 1.25rem; }
  }
