/* ===================================
   MandoTV - Premium CSS Stylesheet
   SEO-Optimized IPTV Website
   =================================== */

/* CSS Variables */
:root {
    /* Ocean Teal & Sky Blue Theme */
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --secondary: #38BDF8;
    --accent: #22D3D8;
    --success: #34D399;
    --danger: #ef4444;
    --warning: #f59e0b;

    --bg-dark: #0F172A;
    /* Dark Slate */
    --bg-darker: #020617;
    --bg-card: rgba(30, 41, 59, 0.6);
    /* Slate tinted card */
    --bg-card-hover: rgba(51, 65, 85, 0.6);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);

    --border-color: rgba(13, 148, 136, 0.3);
    --border-glow: rgba(56, 189, 248, 0.5);

    /* Teal-Cyan Gradients */
    --gradient-primary: linear-gradient(135deg, #0D9488 0%, #22D3D8 50%, #38BDF8 100%);
    --gradient-gold: linear-gradient(135deg, #0D9488 0%, #14B8A6 50%, #38BDF8 100%);
    --gradient-success: linear-gradient(135deg, #0F766E 0%, #34D399 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 30px rgba(13, 148, 136, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.teal-check {
    color: var(--primary);
    font-weight: bold;
    margin-right: 5px;
    font-size: 1.2em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 211, 216, 0.4);
    /* Cyan Shadow */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(34, 211, 216, 0.6);
    /* Stronger Cyan Glow */
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 22px 44px;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left .flash-sale {
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    /* Adjust header height */
    width: auto;
    display: block;
}

.footer .logo-img {
    height: 50px;
    /* Slightly larger in footer */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 15, 20, 0.8), rgba(13, 15, 20, 0.9)),
        url('../img/sections/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: hero-zoom 20s infinite alternate ease-in-out;
}

@keyframes hero-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-gold {
    background: var(--gradient-gold);
    color: #1a1a2e;
}

.badge-live {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-title .subtitle {
    font-size: 0.5em;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-top: 15px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 100px;
    white-space: nowrap;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.trust-icon {
    font-size: 1.2rem;
}

/* ================================
   Streaming Services Marquee
   ================================ */
/* Catalog section styles removed */

/* ================================
   Trustpilot Reviews Section
   ================================ */
.reviews-section {
    background: linear-gradient(180deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
    padding: 80px 0;
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.trustpilot-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tp-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.tp-stars {
    display: flex;
    gap: 4px;
}

.tp-stars img {
    width: 28px;
    height: 28px;
}

.tp-rating {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.tp-logo {
    width: 28px;
    height: 28px;
}

.tp-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.reviews-marquee {
    overflow: hidden;
    margin-bottom: 25px;
}

.reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.reviews-track-left {
    animation: reviewsMarqueeLeft 60s linear infinite;
}

.reviews-track-right {
    animation: reviewsMarqueeRight 60s linear infinite;
}

@keyframes reviewsMarqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes reviewsMarqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.review-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    width: 320px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    min-height: 80px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars img {
    width: 18px;
    height: 18px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.social-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.reviews-cta {
    text-align: center;
    margin-top: 50px;
}

.trusted-customers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.customers-avatars {
    height: 40px;
}

.trusted-stars {
    display: flex;
    gap: 3px;
}

.trusted-stars img {
    width: 16px;
    height: 16px;
}

.trusted-customers p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .reviews-title {
        font-size: 1.8rem;
    }

    .trustpilot-bar {
        gap: 10px;
    }

    .tp-text,
    .tp-brand {
        font-size: 1.2rem;
    }

    .review-card {
        width: 280px;
        padding: 20px;
    }

    .review-text {
        font-size: 0.9rem;
    }

    /* Mobile Sports Section Fix */
    .sport-slide-item {
        padding: 5px;
        text-align: center;
    }

    .sport-circle-img {
        width: 80px;
        height: 80px;
    }

    .sport-label {
        font-size: 0.7rem;
        margin-top: 8px;
    }
}

/* Features Section */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: #0b0b0f;
    /* Very dark background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #121218;
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card.featured {
    border: 1px solid var(--primary);
    /* Teal border for featured */
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.2);
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.05) 0%, #0b0b0f 100%);
}

.feature-card.featured:hover {
    box-shadow: 0 0 30px rgba(13, 148, 136, 0.3);
}

.feature-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.feature-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Sports Section */
.sports {
    background: var(--bg-dark);
}

.sports-slider-container {
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 20px;
}

.sports-marquee-track {
    display: flex;
    gap: 30px;
    animation: marquee-sport 30s linear infinite;
    padding: 20px 0;
    width: max-content;
}

.sports-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-sport {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.sport-slide-item {
    flex: 0 0 100px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100px !important;
    min-width: 100px !important;
}

.sport-circle-img {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 0 20px rgba(34, 211, 216, 0.4);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.sport-slide-item:hover .sport-circle-img {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(34, 211, 216, 0.6);
    border-color: var(--accent);
}

.sport-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-top: 12px;
    display: block;
    white-space: nowrap;
}

.sports-cta {
    text-align: center;
    margin-top: 40px;
}

/* Pricing Section */
.pricing {
    background: var(--bg-darker);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.pricing-card.popular {
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.1) 0%, rgba(30, 41, 59, 1) 100%);
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(13, 148, 136, 0.2);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: #0f172a;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pricing-header {
    margin-bottom: 30px;
}

.save-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--success);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.save-badge.hot {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan-price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 5px;
    color: var(--primary);
}

.currency {
    font-size: 1.5rem;
    margin-top: 5px;
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.cents {
    font-size: 1.5rem;
    margin-top: 5px;
    font-weight: 600;
}

.plan-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bonus {
    display: block;
    color: var(--warning);
    font-weight: 700;
    margin-top: 5px;
    font-size: 0.95rem;
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.device-count {
    color: white !important;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px !important;
}

.pricing-guarantee {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 16px;
    max-width: 600px;
}

.guarantee-icon {
    font-size: 3rem;
}

.guarantee-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.guarantee-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Devices Section */
.devices {
    background: var(--bg-dark);
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.device-card {
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    background: var(--bg-card);
    transition: var(--transition);
}

.device-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.device-icon {
    margin-bottom: 15px;
    display: inline-block;
}

.device-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.device-card h2 {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Reseller Section */
.reseller {
    background:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        var(--bg-dark);
}

.reseller-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.reseller-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.reseller-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
    margin-bottom: 40px;
    max-width: 800px;
    /* Constrain width for better look */
    margin-left: auto;
    margin-right: auto;
}

.reseller-benefits li {
    padding: 15px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews {
    background: var(--bg-darker);
}

.trustpilot-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* FAQ Section */
.faq {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 20px 0;
    color: var(--text-secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Security Section */
.security {
    background: var(--bg-dark);
    padding: 80px 0;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.security-features {
    display: grid;
    gap: 20px;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.security-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.security-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.security-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.security-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.security-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(13, 148, 136, 0.3));
}

/* Free Trial Section */
.free-trial {
    background: var(--bg-darker);
    padding: 80px 0;
}

.trial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(13, 148, 136, 0.3);
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.15);
}

.trial-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.trial-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.trial-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    margin-bottom: 35px;
}

.trial-features span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trial-features .teal-check {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1em;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 20px 12px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: #020617;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--text-secondary);
    margin: 20px 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card.popular {
        transform: none;
        /* Remove scale on tablet */
        grid-column: span 2;
        /* Make concise middle card span full width on tablet layout if desired, 
           OR users often stack them. Let's keep distinct columns if possible or 
           switch to 1 column. 
           Here: 2 cols. 3rd card will wrap. */
        grid-column: auto;
    }

    /* Better Tablet Layout: 1 col or 3 cols squished. 
       Let's do 1 col for pricing on mobile, but tablet maybe 2? 
       Actually 1 col is safest for pricing cards.
    */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-buttons {
        display: none;
        /* Hide buttons in header, show in mobile menu if needed */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .devices-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reseller-benefits {
        grid-template-columns: 1fr;
    }

    .whatsapp-text {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .amount {
        font-size: 3rem;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}



/* Mobile Menu Active State */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    /* Less transparent (darker) */
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    gap: 15px;
    z-index: 1000;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Ripple Effect for Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ================================
   Legal Pages Styles
   ================================ */
.legal-page {
    padding-top: 100px;
    min-height: 80vh;
}

.legal-content-wrapper {
    padding: 40px 0 80px;
}

.legal-header {
    margin-bottom: 50px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

.legal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.legal-content p {
    margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
    list-style: disc;
}

.legal-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }

    .legal-page {
        padding-top: 80px;
    }

    /* Security Section Mobile */
    .security-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .security-image {
        order: -1;
    }

    .security-image img {
        max-width: 300px;
    }

    /* Free Trial Section Mobile */
    .trial-content {
        padding: 30px 20px;
    }

    .trial-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* WhatsApp Button Mobile - hide text */
    .whatsapp-text {
        display: none;
    }

    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
}

/* ================================
   COMPREHENSIVE MOBILE FIXES (Fallback)
   ================================ */
@media (max-width: 768px) {

    /* Hero Stats - Stack vertically (2x2 grid) */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
    }

    .hero-stats .stat {
        padding: 15px 10px !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem !important;
    }

    /* Devices Section - 2 column grid */
    .devices-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .device-card {
        padding: 15px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

}