/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL values */
    --color-background: hsl(30, 100%, 97%);
    --color-foreground: hsl(240, 29%, 14%);
    --color-primary: hsl(16, 100%, 60%);
    --color-secondary: hsl(355, 78%, 56%);
    --color-muted: hsl(30, 60%, 95%);
    --color-muted-foreground: hsl(240, 10%, 40%);
    --color-border: hsl(30, 30%, 90%);
    --color-card: hsl(0, 0%, 100%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(16, 100%, 60%), hsl(355, 78%, 56%));
    --gradient-hero: linear-gradient(135deg, hsl(16, 100%, 65%) 0%, hsl(355, 78%, 60%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(30, 100%, 97%) 0%, hsl(30, 60%, 95%) 100%);
    
    /* Shadows */
    --shadow-orange: 0 10px 40px -10px hsla(16, 100%, 60%, 0.3);
    --shadow-card: 0 4px 20px -4px hsla(16, 100%, 60%, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

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

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px -15px hsla(16, 100%, 60%, 0.4);
}

.btn-secondary {
    background: var(--color-secondary);
    color: white;
    box-shadow: var(--shadow-orange);
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px -15px hsla(355, 78%, 56%, 0.4);
}

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

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

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

.btn-ghost:hover {
    background: var(--color-muted);
}

.btn-sm {
    height: 2.25rem;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    height: 3.5rem;
    padding: 0 2.5rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(30, 100%, 97%, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-foreground);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--color-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-cta {
    display: none;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .nav-cta {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-foreground);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
    display: block;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Menu */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    gap: 1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: hsla(16, 100%, 60%, 0.1);
    color: var(--color-primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.hero-heading h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-heading h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-heading h1 {
        font-size: 3.75rem;
    }
}

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

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

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    text-align: center;
}

@media (min-width: 640px) {
    .stat-item {
        text-align: left;
    }
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

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

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-orange);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.blob {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    filter: blur(60px);
    z-index: -1;
}

.blob-1 {
    top: -1rem;
    right: -1rem;
    background: hsla(16, 100%, 60%, 0.2);
}

.blob-2 {
    bottom: -1rem;
    left: -1rem;
    background: hsla(355, 78%, 56%, 0.2);
}

/* ===== SECTIONS ===== */
.features-section,
.why-choose-section {
    padding: 5rem 0;
    background: var(--color-background);
}

@media (min-width: 768px) {
    .features-section,
    .why-choose-section {
        padding: 7rem 0;
    }
}

.how-it-works-section {
    padding: 5rem 0;
    background: var(--gradient-subtle);
}

@media (min-width: 768px) {
    .how-it-works-section {
        padding: 7rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
}

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

/* ===== HOW IT WORKS ===== */
.steps-wrapper {
    max-width: 80rem;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.step-item {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 4rem;
        left: calc(50% + 2rem);
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
        z-index: -1;
    }
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-orange);
}

.step-icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-lg);
    background: var(--color-card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.step-icon-box svg {
    color: var(--color-primary);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--color-muted-foreground);
}

.steps-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    padding: 2rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

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

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon svg {
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-foreground);
}

.benefit-card p {
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-foreground);
    color: var(--color-background);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-brand {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: hsla(30, 100%, 97%, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-md);
    background: hsla(30, 100%, 97%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-background);
    text-decoration: none;
    transition: background 0.2s;
}

.social-link:hover {
    background: var(--color-primary);
}

.footer-links-group h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: hsla(30, 100%, 97%, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsla(30, 100%, 97%, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    color: hsla(30, 100%, 97%, 0.6);
    font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in 0.6s ease-out;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}
