:root {
    --bg: #0a0a12;
    --bg-alt: #10101c;
    --card: #151524;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f4f4f8;
    --muted: #a0a0b4;
    --accent: #8b5cf6;
    --accent-2: #ec4899;
    --accent-3: #f97316;
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
    --radius: 20px;
    --whatsapp: #25d366;
    --error: #f87171;
    --nav-bg: rgba(10, 10, 18, 0.85);
    --nav-solid: rgba(10, 10, 18, 0.97);
    --footer-bg: #06060c;
    --soft: rgba(255, 255, 255, 0.06);
    --soft-hover: rgba(255, 255, 255, 0.12);
    --soft-faint: rgba(255, 255, 255, 0.03);
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f6f5fb;
    --card: #ffffff;
    --border: rgba(20, 20, 40, 0.1);
    --text: #14141f;
    --muted: #5d5d72;
    --error: #dc2626;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --nav-solid: rgba(255, 255, 255, 0.98);
    --footer-bg: #f1f0f7;
    --soft: rgba(20, 20, 40, 0.05);
    --soft-hover: rgba(20, 20, 40, 0.1);
    --soft-faint: rgba(20, 20, 40, 0.03);
    color-scheme: light;
}

body { transition: background-color 0.3s, color 0.3s; }

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.6);
}
.btn-secondary {
    background: var(--soft);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--soft-hover); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6%;
    transition: background 0.3s, padding 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
    padding: 14px 6%;
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 64px; width: auto; display: block; transition: height 0.3s; }
.navbar.scrolled .logo img { height: 52px; }
@media (max-width: 520px) { .logo img { height: 50px; } .navbar.scrolled .logo img { height: 44px; } }
.logo-footer img { height: 72px; }

.menu { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 24px; }
.menu a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.menu a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--soft);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 17px;
    line-height: 1;
    transition: background 0.2s, transform 0.3s;
}
.theme-toggle:hover { background: var(--soft-hover); transform: rotate(20deg); }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: inline; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.menu-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 6% 80px;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    width: 900px; height: 900px;
    top: 50%; left: 50%;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(236, 72, 153, 0.12) 35%, transparent 65%);
    pointer-events: none;
}
.hero-content { position: relative; max-width: 820px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--soft-faint);
    margin-bottom: 28px;
}
.eyebrow .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-2);
    animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }

.hero h1 {
    font-size: clamp(44px, 8vw, 88px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 8vw, 80px);
    margin-top: 60px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 100px 6%; text-align: center; }
.section:nth-of-type(even) { background: var(--bg-alt); }

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 12px;
}
.section h2 {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.section-subtitle, .contact-subtitle, .coverage > p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 50px;
}

/* ---------- Cards ---------- */
.cards, .why-cards {
    display: grid;
    gap: 24px;
    max-width: 1200px;
    margin: 50px auto 0;
}
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.why-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card, .why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover, .why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px -20px rgba(139, 92, 246, 0.4);
}
.service-icon, .why-icon {
    font-size: 30px;
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(139, 92, 246, 0.12);
}
.card h3, .why-card h3 { font-size: 19px; margin-bottom: 10px; }
.card p, .why-card p { color: var(--muted); font-size: 15px; }

/* ---------- Plans ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.4);
}
.plan-card.popular {
    background: var(--gradient);
    border: none;
    box-shadow: 0 25px 50px -20px rgba(236, 72, 153, 0.6);
}
.popular-label {
    position: absolute;
    top: 18px; right: 18px;
    background: rgba(255, 255, 255, 0.95);
    color: #c026d3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 999px;
}
.plan-card h3 { font-size: 20px; margin-bottom: 4px; padding-right: 115px; }
.plan-card:not(.popular) h3 { padding-right: 0; }
.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.popular .plan-desc { color: rgba(255, 255, 255, 0.8); }

.price { font-size: 34px; font-weight: 700; margin-bottom: 22px; }
.price span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.popular .price span { color: rgba(255, 255, 255, 0.8); }

.plan-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan-card li {
    font-size: 15px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}
.popular li { border-bottom-color: rgba(255, 255, 255, 0.2); }
.plan-card li:last-child { border-bottom: none; }

.btn-plan { width: 100%; background: var(--text); color: var(--bg); }
.btn-plan:hover { background: var(--gradient); color: #fff; }
.popular .btn-plan { background: #fff; color: #111; }
.popular .btn-plan:hover { background: #f3f3f3; color: #111; }

.plans-note { margin-top: 40px; font-size: 14px; color: var(--muted); }

/* ---------- Coverage ---------- */
.coverage-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.coverage-box span {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
    align-items: center;
    text-align: left;
}
.about-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
}
.about-stat strong { display: block; font-size: 56px; font-weight: 700; }
.about-stat span { color: var(--muted); }
.about-text p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.about-text p:first-child { color: var(--text); font-size: 19px; }

/* ---------- Contact ---------- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}
.contact-info, .contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
}
.contact-info h3, .contact-form h3 { font-size: 22px; margin-bottom: 24px; }
.contact-info p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.contact-info strong { color: var(--text); }
.contact-info a { color: var(--text); overflow-wrap: break-word; }
.contact-info a:hover { color: var(--accent-2); }

.business-details {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    font-size: 14px;
}
.business-details strong { display: block; margin-bottom: 8px; }
.business-details div {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    padding: 4px 0;
}
.business-details div span:last-child { color: var(--text); font-family: ui-monospace, monospace; }

.contact-form input,
.contact-form textarea,
.plan-modal-content input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.plan-modal-content input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-error {
    display: none;
    color: var(--error);
    font-size: 14px;
    margin-bottom: 12px;
}
.form-error.visible { display: block; }

/* ---------- Footer ---------- */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border);
    padding: 60px 6% 100px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.footer-content p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 340px; }
.footer-content h4 { font-size: 14px; margin-bottom: 14px; }
.footer-content div > a:not(.logo) {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 8px;
}
.footer-content div > a:not(.logo):hover { color: var(--text); }
.copyright {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Floating buttons ---------- */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.floating-contact a {
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s;
}
.floating-contact a:hover { transform: scale(1.05); }
.whatsapp-btn { background: var(--whatsapp); }
.call-btn { background: var(--gradient); }

/* ---------- Modal ---------- */
.plan-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.plan-modal[hidden] { display: none; }
.plan-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 30px 30px;
    animation: pop 0.25s ease-out;
}
@keyframes pop { from { transform: scale(0.94); opacity: 0; } }
.plan-modal-content h2 { font-size: 24px; margin-bottom: 6px; }
.selected-plan { color: var(--accent-2); font-weight: 600; margin-bottom: 22px; }
.close-modal {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.close-modal:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .eyebrow .dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    .menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--nav-solid);
        border-bottom: 1px solid var(--border);
        padding: 10px 6% 20px;
        display: none;
    }
    .menu.open { display: flex; }
    .menu a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
    .navbar:has(.menu.open) { background: var(--nav-solid); }
    .menu a:last-child { border-bottom: none; }

    .about-grid, .contact-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-content > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .section { padding: 80px 5%; }
    .contact-info, .contact-form { padding: 26px 22px; }
    .floating-contact { right: 12px; bottom: 12px; }
    .floating-contact a { padding: 10px 16px; font-size: 13px; }
}

/* ---------- Package group headings ---------- */
.plans-heading {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin: 0 auto 28px;
}
.plans-heading:not(:first-of-type) { margin-top: 90px; }



/* Legal details: long values wrap and align right */
.business-details div { gap: 16px; }
.business-details div span:last-child { text-align: right; overflow-wrap: anywhere; }
.copyright { line-height: 1.9; }
.copyright a { color: var(--text); overflow-wrap: anywhere; }
.business-details div span:first-child { white-space: nowrap; }
