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

:root {
    /* Colors - HSL values */
    --background: hsl(0, 0%, 0%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(0, 0%, 8%);
    --card-foreground: hsl(0, 0%, 98%);
    --primary: hsl(18, 100%, 58%);
    --primary-foreground: hsl(0, 0%, 0%);
    --secondary: hsl(0, 0%, 15%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --muted: hsl(0, 0%, 15%);
    --muted-foreground: hsl(0, 0%, 65%);
    --accent: hsl(45, 100%, 51%);
    --border: hsl(0, 0%, 20%);
    
    /* Effects */
    --gradient-primary: linear-gradient(135deg, hsl(18, 100%, 58%), hsl(45, 100%, 51%));
    --gradient-hero: linear-gradient(180deg, hsl(0, 0%, 0%), hsl(0, 0%, 5%));
    --glow-primary: 0 0 60px hsla(18, 100%, 58%, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Gradient Text */
.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;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon-left {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 44, 0.1), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 40rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    flex-wrap: wrap;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.2;
    filter: blur(80px);
    border-radius: 50%;
}

.hero-image {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 107, 44, 0.1);
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--muted-foreground);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--card);
}

.steps {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--glow-primary);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-check {
    width: 24px;
    height: 24px;
    color: var(--primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.step:hover .step-check {
    opacity: 1;
}

.step-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Showcase Section */
.showcase {
    padding: 6rem 0;
    background-color: var(--background);
}

.showcase-content {
    max-width: 72rem;
    margin: 0 auto;
}

.showcase-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.showcase-image {
    width: 100%;
    display: block;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.showcase-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-stat {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
}

.showcase-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.showcase-stat-label {
    color: var(--muted-foreground);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 107, 44, 0.15), transparent 50%);
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    padding-top: 1rem;
}



/* Responsive Design */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .cta-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        align-self: flex-start;
    }
}

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

/* Selection */
::selection {
    background-color: var(--primary);
    color: var(--primary-foreground);
}
