/* CSS Variables - Light Theme */
:root {
    --background: 210 11% 98%;
    --foreground: 220 15% 15%;
    --card: 0 0% 100%;
    --card-foreground: 220 15% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 220 15% 15%;
    --primary: 263 70% 58%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 14% 96%;
    --secondary-foreground: 220 15% 15%;
    --muted: 220 10% 95%;
    --muted-foreground: 220 8% 46%;
    --accent: 263 70% 58%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 220 13% 91%;
    --input: 220 13% 91%;
    --ring: 263 70% 58%;
    --radius: 0.75rem;
    --gradient-from: 210 11% 98%;
    --gradient-to: 0 0% 100%;
    --cta-gradient-from: 263 70% 58%;
    --cta-gradient-to: 263 84% 50%;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --background: 220 15% 6%;
        --foreground: 210 11% 96%;
        --card: 220 15% 10%;
        --card-foreground: 210 11% 96%;
        --popover: 220 15% 10%;
        --popover-foreground: 210 11% 96%;
        --primary: 263 70% 62%;
        --primary-foreground: 0 0% 100%;
        --secondary: 220 15% 14%;
        --secondary-foreground: 210 11% 96%;
        --muted: 220 12% 16%;
        --muted-foreground: 220 8% 56%;
        --accent: 263 70% 62%;
        --accent-foreground: 0 0% 100%;
        --destructive: 0 62.8% 30.6%;
        --destructive-foreground: 210 40% 98%;
        --border: 220 12% 18%;
        --input: 220 12% 18%;
        --ring: 263 70% 62%;
        --gradient-from: 220 15% 6%;
        --gradient-to: 220 15% 8%;
        --cta-gradient-from: 263 70% 62%;
        --cta-gradient-to: 263 84% 54%;
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
}

.min-h-screen {
    min-height: 100vh;
}

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

/* Hero Section */
.hero-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(to bottom, hsl(var(--gradient-from)), hsl(var(--gradient-to)));
}

.hero-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    text-align: center;
    opacity: 0;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    max-width: 40rem;
    margin: 0 auto;
}

.hero-description {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 32rem;
    line-height: 1.75;
    margin-left: auto;
    margin-right: auto;
}

.trusted-section {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trusted-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--muted-foreground));
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: hsl(var(--muted-foreground) / 0.6);
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    opacity: 0;
}

.hero-image-container {
    width: 16rem;
    height: 16rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
    border: 1px solid hsl(var(--border) / 0.5);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(to bottom, hsl(var(--gradient-from)), hsl(var(--gradient-to)));
}

.benefits-container {
    max-width: 56rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-description {
    color: hsl(var(--muted-foreground));
    text-align: center;
    font-size: 1rem;
    max-width: 42rem;
    margin: 0 auto 3.5rem;
    line-height: 1.75;
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.benefit-card {
    border-radius: 1rem;
    background: hsl(var(--card));
    padding: 1.75rem;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
    opacity: 0;
}

.benefit-card:hover {
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
}

.benefit-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: hsl(var(--secondary));
    margin-bottom: 1.25rem;
}

.benefit-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.benefit-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.75;
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(to bottom, hsl(var(--gradient-to)), hsl(var(--gradient-from)));
}

.how-it-works-container {
    max-width: 48rem;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
}

.step-icon-container {
    position: relative;
    margin-bottom: 1.25rem;
}

.step-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: hsl(var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
}

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}

.step-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.75;
    max-width: 13.75rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 1.5rem;
    background: hsl(var(--secondary));
}

.cta-container {
    max-width: 32rem;
    text-align: center;
}

.cta-description {
    margin-bottom: 2.5rem;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    justify-content: center;
}

.custom-checkbox {
    margin-top: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: hsl(var(--primary));
}

.checkbox-text {
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    line-height: 1.3;
    user-select: none;
}

.cta-button {
    width: 100%;
    border-radius: 0.75rem;
    height: 3rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, hsl(var(--cta-gradient-from)), hsl(var(--cta-gradient-to)));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 4px 20px -4px hsl(263 70% 58% / 0.35);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px -4px hsl(263 70% 58% / 0.45);
}

.cta-button:active {
    transform: translateY(0);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Footer */
.footer {
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    background: hsl(var(--background));
}

/* Responsive Design - Tablets */
@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 1.5rem;
    }

    .hero-grid {
        flex-direction: row;
        gap: 4rem;
    }

    .hero-text {
        text-align: left;
    }

    .hero-title {
        font-size: 3rem;
        margin: 0;
    }

    .hero-description {
        font-size: 1.25rem;
        margin-left: 0;
        margin-right: 0;
    }

    .trusted-section {
        align-items: flex-start;
    }

    .hero-image-container {
        width: 20rem;
        height: 20rem;
    }

    .benefits-section {
        padding: 6rem 1.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section-description {
        font-size: 1.125rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .how-it-works-section {
        padding: 6rem 1.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-section {
        padding: 6rem 1.5rem;
    }
}

/* Responsive Design - Large Screens */
@media (min-width: 1024px) {
    .hero-section {
        padding: 8rem 1.5rem;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-image-container {
        width: 24rem;
        height: 24rem;
    }
}

/* Animation States */
.animate-in {
    animation: fadeIn 0.7s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
