/* === SPICE MOBILE - GRENADA BRAND === */
:root {
    /* Grenada Flag Colors */
    --green: #007A5E;
    --green-dark: #005C47;
    --green-light: #00A67E;
    --gold: #FCD116;
    --gold-dark: #D4AD00;
    --red: #CE1126;
    --red-light: #E8334A;

    /* Neutrals */
    --dark: #0C1B17;
    --darker: #071210;
    --white: #ffffff;
    --gray-50: #f8faf9;
    --gray-100: #f0f4f2;
    --gray-200: #dce5e0;
    --gray-400: #8a9b92;
    --gray-600: #5a6b62;
    --gray-800: #2a3530;

    /* Derived */
    --gradient-hero: linear-gradient(160deg, #071210 0%, #0C2E24 50%, #071210 100%);
    --gradient-green: linear-gradient(135deg, #007A5E, #00A67E);
    --gradient-gold: linear-gradient(135deg, #FCD116, #FFE04A);
    --shadow-card: 0 2px 16px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 12px 32px rgba(0,122,94,0.12);
    --radius: 14px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800); line-height: 1.6; background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* === HEADER === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #fff; transition: all 0.3s; border-bottom: 1px solid #e5e7eb;
}
.header.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
    font-size: 1.4rem; font-weight: 800; color: var(--dark);
    display: flex; align-items: center; gap: 10px;
}
.logo img { height: 40px; width: auto; }
.logo-icon {
    width: 36px; height: 36px; background: var(--green);
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 900; color: #fff; letter-spacing: -0.5px;
}
.logo .brand-gold { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    color: var(--gray-600, #4b5563); font-size: 0.88rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta {
    background: var(--green) !important; color: #fff !important;
    padding: 9px 22px !important; border-radius: 50px;
    font-weight: 700 !important; font-size: 0.85rem !important;
    transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--green-light) !important; }

/* Mobile Menu */
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 22px; flex-direction: column; justify-content: space-between;
}
.menu-toggle span {
    display: block; height: 2px; width: 100%; background: var(--dark);
    border-radius: 2px; transition: all 0.3s;
}

/* === PAGE HERO === */
.page-hero {
    background: var(--gradient-hero); padding: 130px 0 70px;
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -40%; right: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,122,94,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero .hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,122,94,0.15); border: 1px solid rgba(0,122,94,0.25);
    padding: 7px 18px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 600; color: var(--green-light);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px;
}
.page-hero h1 {
    font-size: 2.8rem; font-weight: 900; color: var(--white);
    line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 14px;
}
.page-hero p {
    font-size: 1.05rem; color: rgba(255,255,255,0.45); max-width: 500px;
    margin: 0 auto; line-height: 1.7;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: #fff;
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 0.95rem; border: none; cursor: pointer;
    transition: all 0.25s; font-family: inherit;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,122,94,0.3); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--white);
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 0.95rem; border: 1.5px solid rgba(255,255,255,0.2);
    cursor: pointer; transition: all 0.25s; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px; font-weight: 700;
    font-size: 0.9rem; border: 2px solid var(--green); color: var(--green);
    background: transparent; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-gold {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold); color: var(--dark);
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 0.95rem; border: none; cursor: pointer;
    transition: all 0.25s; font-family: inherit;
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--green); padding: 14px 32px;
    border-radius: 50px; font-weight: 700; font-size: 0.95rem;
    border: none; cursor: pointer; transition: all 0.25s; font-family: inherit;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* === SECTIONS === */
.section { padding: 90px 0; }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--darker); color: var(--white); }
.section-header { text-align: center; max-width: 580px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    color: var(--green); text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.4rem; font-weight: 900; letter-spacing: -1px;
    line-height: 1.1; margin-bottom: 12px;
}
.section-dark .section-title { color: #fff; }
.section-desc { font-size: 1rem; color: var(--gray-600); line-height: 1.7; }
.section-dark .section-desc { color: rgba(255,255,255,0.4); }

/* === PLANS === */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); padding: 36px 28px; text-align: center;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--green); }
.plan-card.featured { border-color: var(--green); }
.plan-card.featured::before {
    content: 'Most Popular'; position: absolute; top: 0; left: 0; right: 0;
    background: var(--green); color: #fff;
    padding: 7px; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
}
.plan-card.featured { padding-top: 64px; }
.plan-name { font-size: 0.95rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.plan-price { font-size: 3rem; font-weight: 900; color: var(--dark); margin-bottom: 4px; line-height: 1; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.plan-data { font-size: 0.95rem; color: var(--green); font-weight: 700; margin-bottom: 20px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 28px; }
.plan-features li {
    padding: 9px 0; border-bottom: 1px solid var(--gray-100);
    font-size: 0.88rem; color: var(--gray-600); display: flex; align-items: center; gap: 10px;
}
.plan-features li::before {
    content: '\2713'; display: flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; background: rgba(0,122,94,0.1);
    color: var(--green); border-radius: 50%; font-size: 0.65rem; font-weight: 700; flex-shrink: 0;
}
.plan-btn {
    display: block; width: 100%; padding: 13px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 700; cursor: pointer;
    transition: all 0.2s; font-family: inherit; border: 2px solid var(--green);
    background: transparent; color: var(--green);
}
.plan-btn:hover { background: var(--green); color: #fff; }
.plan-card.featured .plan-btn { background: var(--green); color: #fff; }
.plan-card.featured .plan-btn:hover { background: var(--green-dark); }

/* === DEVICES === */
.devices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.device-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); overflow: hidden;
    transition: all 0.3s; text-align: center;
}
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--green); }
.device-img {
    background: var(--gray-50); padding: 24px;
    display: flex; align-items: center; justify-content: center; height: 280px;
    overflow: hidden;
}
.device-img img {
    max-height: 100%; max-width: 100%; object-fit: contain;
    transition: transform 0.4s ease;
}
.device-card:hover .device-img img { transform: scale(1.05); }
/* Legacy placeholder fallback */
.device-img .device-placeholder {
    width: 110px; height: 200px;
    background: linear-gradient(180deg, #1a2e28, #0C1B17);
    border-radius: 18px; border: 2px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative; display: flex; align-items: center; justify-content: center;
}
.device-placeholder::before {
    content: ''; width: 40px; height: 5px; background: #071210;
    border-radius: 8px; position: absolute; top: 10px;
}
.device-placeholder .dp-screen {
    width: 80%; height: 28px; border-radius: 4px;
    background: var(--gradient-green); opacity: 0.5;
}
.device-body { padding: 24px; }
.device-brand { font-size: 0.72rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.device-name { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.device-specs { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 14px; }
.device-price { font-size: 1.2rem; font-weight: 800; color: var(--green); margin-bottom: 18px; }
.device-btn {
    display: inline-block; padding: 11px 24px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 700;
    border: 2px solid var(--green); color: var(--green);
    background: transparent; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.device-btn:hover { background: var(--green); color: #fff; }

/* === FEATURES === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); padding: 36px 28px; transition: all 0.3s;
}
.feature-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(0,122,94,0.3); transform: translateY(-3px); }
.feature-icon {
    width: 48px; height: 48px; background: rgba(0,122,94,0.15);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* Light feature cards */
.feature-card-light {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); padding: 36px 28px; transition: all 0.3s;
}
.feature-card-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--green); }
.feature-card-light h3 { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.feature-card-light p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* === COVERAGE BANNER === */
.coverage-banner {
    background: var(--green); padding: 70px 0;
    text-align: center; position: relative; overflow: hidden;
}
.coverage-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l2 3.5-2 3zM0 20h2v20H0V20z'/%3E%3C/g%3E%3C/svg%3E");
}
.coverage-banner h2 { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 12px; position: relative; letter-spacing: -1px; }
.coverage-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 28px; position: relative; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 36px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm); font-size: 0.92rem; font-family: inherit;
    transition: border-color 0.2s; background: var(--white); color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-info-card {
    background: var(--darker); border-radius: var(--radius); padding: 36px; color: #fff;
}
.contact-info-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-item .ci-icon {
    width: 44px; height: 44px; background: rgba(0,122,94,0.15);
    border-radius: 11px; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.contact-info-item p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.5; }
.store-hours { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06); }
.store-hours h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; }
.store-hours li { list-style: none; display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.store-hours li span:first-child { color: rgba(255,255,255,0.6); }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
    width: 100%; padding: 20px 0; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-family: inherit; text-align: left;
}
.faq-question h3 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.faq-question .faq-icon {
    width: 28px; height: 28px; background: var(--gray-100);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--green); transition: all 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 0 20px; font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* === COVERAGE MAP === */
.coverage-map-wrapper {
    background: var(--gray-50); border-radius: var(--radius); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    position: relative; border: 1.5px solid var(--gray-200);
    padding: 40px;
}
.coverage-map-wrapper svg { max-width: 100%; height: auto; }
.coverage-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.coverage-stat {
    background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius);
    padding: 28px; text-align: center; transition: all 0.3s;
}
.coverage-stat:hover { border-color: var(--green); box-shadow: var(--shadow-card-hover); }
.coverage-stat .cs-val { font-size: 2rem; font-weight: 900; color: var(--green); margin-bottom: 2px; }
.coverage-stat .cs-label { font-size: 0.82rem; color: var(--gray-600); font-weight: 500; }

/* === FOOTER === */
.footer { background: var(--darker); color: rgba(255,255,255,0.4); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer h4 { color: var(--white); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 0.85rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer ul a:hover { color: var(--green-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px; display: flex; justify-content: space-between;
    align-items: center; font-size: 0.82rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px; background: rgba(255,255,255,0.05);
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.35); transition: all 0.2s; font-size: 0.85rem;
}
.footer-social a:hover { background: var(--green); color: #fff; }

/* Grenada flag stripe accent */
.flag-stripe {
    height: 4px; background: linear-gradient(90deg, var(--green) 33%, var(--gold) 33% 66%, var(--red) 66%);
}

/* === ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .plans-grid, .devices-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .coverage-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 68px; left: 0; right: 0;
        background: #fff; padding: 20px 24px;
        border-bottom: 1px solid #e5e7eb; gap: 14px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    .page-hero { padding: 110px 0 50px; }
    .page-hero h1 { font-size: 2rem; letter-spacing: -0.5px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .section-header { margin-bottom: 36px; }
    .plans-grid, .devices-grid, .features-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
    .coverage-banner h2 { font-size: 1.8rem; }
    .coverage-stats { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
