:root {
    --primary: #6200ea;
    --primary-light: #b388ff;
    --primary-dark: #3700b3;
    --secondary: #03dac6;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --text: #1a1c1e;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

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

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

.btn-secondary {
    background-color: var(--bg-alt);
    color: var(--text);
}

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

.btn-secondary:hover {
    background-color: #e9ecef;
}

.btn-text {
    background: transparent;
    color: var(--text);
}

.btn-text:hover {
    color: var(--primary);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 40px;
    border-radius: 8px;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 64px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Features */
.features {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--bg-alt);
    max-width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    padding-top: 100px;
    padding-bottom: 100px;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.billing-toggle span {
    font-weight: 600;
    color: var(--text-muted);
}

.billing-toggle span.active {
    color: var(--primary);
}

.badge {
    background-color: #d1fae5;
    color: #065f46;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 4px;
}

/* Switch styling */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.pricing-card {
    background-color: var(--white);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid #eee;
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    margin: 32px 0;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    min-height: 50px;
}

.plan-features {
    text-align: left;
    margin-bottom: 40px;
}

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

.plan-features i {
    color: var(--primary);
    font-size: 1.2rem;
}

.pricing-card .btn {
    width: 100%;
}

/* CTA */
.cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.cta .btn-primary:hover {
    background-color: var(--bg-alt);
}

/* Footer */
.footer {
    background-color: #1a1c1e;
    color: var(--white);
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-info .logo {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-info p {
    color: #adb5bd;
    max-width: 300px;
}

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

.link-group h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    color: #adb5bd;
}

.link-group a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}
