:root {
    --bg-dark: #121212;
    --bg-light-dark: #1e1e1e;
    --primary-blue: #007bff;
    --primary-red: #dc3545;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --border-color: #343a40;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.main-header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.main-header nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-header nav a:hover {
    color: var(--primary-blue);
}

.cta-button {
    /* ensure stable, non-wrapping label */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    white-space: nowrap;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: none; /* remove scale to avoid text distortion */
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    white-space: nowrap;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    background: transparent;
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    display: inline-block;
    text-align: center;
}

.cta-button-outline:hover {
    background: var(--primary-blue);
    color: var(--text-light);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-h, 88px);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.stat-item span {
    font-size: 1rem;
    font-weight: 300;
}

/* --- General Section Styling --- */
section {
    padding: 80px 0;
}

section:nth-of-type(odd) {
    background-color: var(--bg-light-dark);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: var(--text-muted);
}

/* --- How It Works --- */
.requirements {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
    margin-top: 50px;
}

.requirement-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.requirement-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Plans --- */
.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 1200px) {
    .plan-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plan-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.plan-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 24px rgba(0, 123, 255, 0.15); /* highlight without scaling */
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -40px;
    background: var(--primary-blue);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.plan-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}
.plan-card.featured h3 {
    color: var(--text-light);
}

.plan-option {
    border-top: 1px solid var(--border-color);
    padding: 15px 0;
}
.plan-option:last-of-type {
     margin-bottom: 20px;
}
.price {
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- Compatibility --- */
#compatibility .section-intro {
    margin-bottom: 50px;
}

.device-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}
.device-icon {
    text-align: center;
}
.device-icon i {
    font-size: 4rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
}
.device-icon:hover i {
    transform: scale(1.1);
}
.device-icon span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

/* --- Advantages --- */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.advantage-item {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 10px;
}
.advantage-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* --- FAQ --- */
.faq-item {
    background: var(--bg-light-dark);
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-blue);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}
.faq-question i {
    transition: transform 0.3s;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--bg-light-dark);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.testimonial-card h4 {
    text-align: right;
    color: var(--primary-blue);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--bg-light-dark);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.main-footer a {
    color: var(--text-muted);
    text-decoration: none;
}
.main-footer a:hover {
    color: var(--primary-blue);
}

.footer-logo img {
    height: 52px;
    width: auto;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}
.whatsapp-float img {
    width: 100%;
    height: 100%;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .main-header .container { flex-direction: column; gap: 10px; }
    .header-cta { display: none; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    /* reduce heavy animations on mobile */
    .whatsapp-float { animation: pulse 3s infinite; }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none !important; }
    .cta-button, .cta-button-outline, .device-icon i, .plan-card { transition: none !important; }
}