/* ========================================
   CSS Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

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

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Header & Navigation
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

.logo-text .highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--secondary) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.feature-badge svg {
    stroke: var(--primary);
}

.hero-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.promo-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-radius: 16px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* ========================================
   Section Headers
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Why Choose Us Section
======================================== */
.why-choose {
    padding: var(--section-padding);
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-icon svg {
    stroke: var(--primary);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-description {
    color: var(--gray);
    line-height: 1.7;
}

/* ========================================
   Pricing Section
======================================== */
.pricing {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.promo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-card.popular,
.pricing-card.best-value {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.popular-badge,
.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.best-value-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.plan-name {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-subtitle {
    color: var(--gray);
    font-size: 14px;
}

.plan-price {
    text-align: center;
    margin-bottom: 12px;
}

.currency {
    font-size: 24px;
    font-weight: 700;
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 16px;
    color: var(--gray);
}

.original-price {
    text-align: center;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--gray);
}

.discount {
    color: var(--success);
    font-weight: 700;
}

.plan-features {
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.plan-features svg {
    flex-shrink: 0;
    stroke: var(--success);
}

/* ========================================
   Devices Section
======================================== */
.devices {
    padding: var(--section-padding);
    background: var(--white);
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-radius: 12px;
    transition: var(--transition);
}

.device-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.device-icon {
    font-size: 32px;
}

.device-item span {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--dark);
}

/* ========================================
   Trial Section
======================================== */
.trial {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: var(--white);
}

.trial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trial-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 24px;
}

.trial-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.trial-features {
    margin-bottom: 32px;
}

.trial-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.trial-features svg {
    flex-shrink: 0;
    stroke: var(--white);
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    font-size: 32px;
    font-weight: 800;
    border-radius: 50%;
}

.badge-title {
    font-size: 24px;
    font-weight: 700;
}

.badge-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   Blog Section
======================================== */
.blog {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.blog-content {
    padding: 24px;
}

.blog-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-link:hover {
    gap: 8px;
}

/* ========================================
   FAQ Section
======================================== */
.faq {
    padding: var(--section-padding);
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 16px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--dark);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    stroke: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

/* ========================================
   CTA Section
======================================== */
.cta {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-description {
    margin-bottom: 24px;
    line-height: 1.7;
    color: var(--gray);
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter-text {
    margin-bottom: 16px;
    color: var(--gray);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    padding: 12px 16px;
    border: 1px solid var(--dark-lighter);
    border-radius: 8px;
    background: var(--dark-light);
    color: var(--white);
    font-family: inherit;
}

.newsletter-input::placeholder {
    color: var(--gray);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--dark-lighter);
}

.footer-badges {
    display: flex;
    gap: 16px;
}

.dmca-badge {
    font-size: 14px;
    color: var(--gray);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .devices-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trial-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

