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

:root {
    --primary: #E31E24;
    --primary-dark: #b81519;
    --wa-green: #25D366;
    --wa-green-dark: #128C7E;
    --text-dark: #1a1a2e;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-gradient-start: #e8f0fe;
    --bg-gradient-end: #fef9f0;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 8px 32px rgba(31, 38, 135, 0.10);
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --font: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font);
    background: linear-gradient(145deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(227, 30, 36, 0.08);
    padding: 14px 20px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo svg {
    animation: pulse-star 3s ease-in-out infinite;
}

@keyframes pulse-star {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15) rotate(15deg); }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 36px 20px 140px;
    max-width: 960px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 4px;
}

.subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.title {
    font-size: clamp(1.75rem, 6vw, 3.25rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.highlight-text {
    display: inline-block;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    padding: 10px 18px;
    border-radius: 100px;
    line-height: 1.55;
    max-width: 560px;
    font-weight: 500;
}

/* ===== CARDS CONTAINER ===== */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== CARD BASE ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #f97316);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:active {
    transform: scale(0.99);
}

/* ===== PRICING CARD ===== */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.promo-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(227, 30, 36, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 6px;
}

.speed {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.right-col {
    text-align: right;
}

.original-price {
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* ===== FEATURES LIST ===== */
.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
}

.check-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    padding: 3px;
}

/* ===== CARD FOOTER TAGS ===== */
.card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.text-muted {
    font-size: 0.8rem;
    color: var(--text-light);
}

.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(0,0,0,0.07);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ===== INFO CARD ===== */
.info-card {
    background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #fff;
    border: none;
}

.info-card::before {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    opacity: 1;
}

.info-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.info-card .desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 18px;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 11px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    width: 100%;
    letter-spacing: 0.2px;
    -webkit-tap-highlight-color: transparent;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(0,0,0,0.12);
    color: var(--text-dark);
}

.btn-outline:active {
    background: rgba(0,0,0,0.04);
    transform: scale(0.98);
}

.info-card .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.info-card .btn-outline:active {
    background: rgba(255,255,255,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

/* WhatsApp icon on primary button */
.btn-primary::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") no-repeat center/contain;
    flex-shrink: 0;
}

/* ===== FLOATING BANNER ===== */
.floating-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0,0,0,0.07);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
    animation: slide-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.banner-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.banner-content .emoji {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.banner-content p {
    font-size: 0.8rem;
    color: var(--text-medium);
    line-height: 1.4;
}

.banner-content strong {
    color: var(--text-dark);
    font-weight: 700;
}

.floating-banner .btn-primary {
    width: auto;
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ===== RIPPLE EFFECT ===== */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.5s linear;
    background: rgba(255,255,255,0.35);
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== RESPONSIVE: TABLET & DESKTOP ===== */
@media (min-width: 640px) {
    .navbar {
        padding: 16px 40px;
    }

    .hero-section {
        padding: 48px 40px 130px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .title {
        margin-bottom: 20px;
    }

    .highlight-text {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .cards-container {
        flex-direction: row;
        gap: 24px;
        align-items: stretch;
    }

    .card {
        flex: 1;
        padding: 28px;
    }

    .speed {
        font-size: 2.25rem;
    }

    .current-price {
        font-size: 1.8rem;
    }

    .info-card h2 {
        font-size: 1.75rem;
    }

    .floating-banner {
        padding: 16px 40px;
        max-width: 960px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }

    .banner-content p {
        font-size: 0.875rem;
    }
}

@media (min-width: 960px) {
    .hero-section {
        padding: 56px 20px 140px;
    }

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 48px rgba(31, 38, 135, 0.15);
    }

    .card:hover::before {
        opacity: 1;
    }

    .btn-outline:hover {
        background: rgba(0,0,0,0.04);
    }

    .info-card .btn-outline:hover {
        background: rgba(255,255,255,0.1);
    }

    .btn-primary:hover {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    }
}

/* ===== SAFE AREA SUPPORT (iPhone notch) ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .floating-banner {
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }
}
