@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    /* Modern Color Palette */
    --primary: hsl(262, 73%, 60%);
    --primary-light: hsl(262, 73%, 70%);
    --primary-dark: hsl(262, 73%, 50%);
    --accent: hsl(220, 90%, 56%);
    --accent-light: hsl(220, 90%, 66%);
    --success: hsl(142, 71%, 45%);
    --warning: hsl(38, 92%, 50%);

    /* Neutrals */
    --text-primary: hsl(220, 13%, 13%);
    --text-secondary: hsl(220, 9%, 46%);
    --text-tertiary: hsl(220, 9%, 66%);
    --bg-primary: hsl(0, 0%, 100%);
    --bg-secondary: hsl(220, 14%, 96%);
    --bg-tertiary: hsl(220, 14%, 92%);
    --border: hsl(220, 13%, 91%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(262, 73%, 60%) 0%, hsl(285, 60%, 55%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(220, 90%, 56%) 0%, hsl(262, 73%, 60%) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(262, 73%, 60%) 0%, hsl(285, 60%, 55%) 50%, hsl(220, 90%, 56%) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 8px 24px rgba(124, 58, 237, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a:not(.cta-btn):hover {
    color: var(--primary);
}

nav a:not(.cta-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav a:not(.cta-btn):hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    border: none;
}

.cta-btn::after {
    display: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.cta-btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    display: inline-block;
}

/* Hero */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .cta-btn {
    animation: fadeInUp 0.8s ease 0.4s both;
    background: white;
    color: var(--primary) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero .cta-btn:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.subtitle {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    opacity: 0.85;
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.version-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card.featured-card {
    border: 3px solid var(--primary);
    background: white;
    box-shadow: var(--shadow-md);
}

.feature-card.featured-card .icon-wrapper {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary);
    transform: scale(1.05);
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:not(.featured-card):hover::before {
    transform: scaleX(1);
}

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

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

.icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    transition: all 0.4s ease;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.icon {
    width: 36px;
    height: 36px;
    color: white;
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, hsl(38, 92%, 50%), hsl(38, 92%, 60%));
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Dual Mode Section */
.dual-mode {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.dual-mode h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dual-mode .subtitle-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mode-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.mode-card {
    background: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.mode-card.recommended {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(124, 58, 237, 0.1));
    border-color: var(--primary);
}

.mode-card.recommended::before {
    content: '⭐ RECOMMENDED';
    position: absolute;
    top: -12px;
    right: var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mode-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mode-card .mode-icon {
    font-size: 1.75rem;
}

.mode-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.mode-card ul {
    list-style: none;
    margin-top: var(--spacing-md);
}

.mode-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.95rem;
}

.mode-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Pricing */
.pricing {
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
    background: var(--bg-secondary);
}

.pricing h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subtitle-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 720px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    box-shadow: var(--shadow-primary);
    background: white;
}

.pricing-card.featured:hover {
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
    transform: translateY(-6px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.5rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-weight: 600;
    opacity: 0.6;
}

.price {
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-card:not(.featured) .price {
    margin-bottom: var(--spacing-md);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.discount-badge {
    background: linear-gradient(135deg, hsl(142, 71%, 45%), hsl(142, 71%, 55%));
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(220, 90, 56, 0.1));
    padding: var(--spacing-sm);
    border-radius: 10px;
    margin-bottom: var(--spacing-md);
    border: 2px solid rgba(124, 58, 237, 0.3);
}

.highlight-box p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.4;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkmark {
    color: var(--success);
    font-weight: bold;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 0.875rem;
    width: 100%;
}

.btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn.primary:hover {
    box-shadow: var(--shadow-primary);
}

.guarantee {
    margin-top: var(--spacing-sm);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* How It Works */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    nav {
        gap: var(--spacing-md);
    }

    nav a:not(.cta-btn) {
        display: none;
    }

    .hero h2 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features h2,
    .pricing h2,
    .how-it-works h2,
    .dual-mode h2 {
        font-size: 1.875rem;
    }

    .feature-grid,
    .pricing-grid,
    .steps,
    .mode-comparison {
        grid-template-columns: 1fr;
    }

    .price {
        font-size: 2.25rem;
    }

    .original-price {
        font-size: 1.25rem;
    }

    .pricing-card {
        padding: var(--spacing-md);
    }

    .pricing-card li {
        font-size: 0.8rem;
    }

    .price-wrapper {
        gap: 0.5rem;
    }
}