/* ===========================
   CSS VARIABLES & RESET
   =========================== */

:root {
    /* Colors - Bold & Warm Palette */
    --primary: #FF6B35;
    --primary-dark: #E74C3C;
    --primary-light: #FF8C61;
    
    --secondary: #4ECDC4;
    --secondary-dark: #3DB8AF;
    
    --accent: #FFE66D;
    --accent-dark: #F9DC5C;
    
    --dark: #1A1A2E;
    --dark-light: #16213E;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --bg: #FAFAFA;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'DM Serif Display', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--bg);
    overflow-x: hidden;
}

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

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    animation: slideInLeft 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: var(--space-md);
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: var(--space-lg);
    animation: slideInLeft 0.8s ease-out 0.4s backwards;
}

.hero-subtitle strong {
    color: var(--dark);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    animation: slideInLeft 0.8s ease-out 0.6s backwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-features {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease-out 0.8s backwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9375rem;
}

.feature-item svg {
    color: var(--secondary);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 2rem;
}

.floating-card .card-text {
    font-weight: 600;
    color: var(--dark);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 1s;
}

.card-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

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

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================
   SECTION HEADER
   =========================== */

.section-header {
    margin-bottom: var(--space-lg);
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===========================
   PROBLEM SECTION
   =========================== */

.problem {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.problem-card {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.problem-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===========================
   BENEFITS SECTION
   =========================== */

.benefits {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.benefit-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.benefit-icon svg {
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.benefit-stats {
    display: flex;
    gap: var(--space-sm);
}

.stat-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */

.how-it-works {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.step-card p {
    color: var(--gray);
    line-height: 1.6;
}

.step-arrow {
    flex-shrink: 0;
}

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

/* ===========================
   TUTORIALS SECTION
   =========================== */

.tutorials {
    padding: var(--space-xl) 0;
    background: var(--bg);
}

.tutorials .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
}

.header-content {
    flex: 1;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.tutorial-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.tutorial-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.tutorial-tag.website {
    background: #E0E7FF;
    color: #4338CA;
}

.tutorial-tag.automation {
    background: #DBEAFE;
    color: #1E40AF;
}

.tutorial-tag.ai {
    background: #FEE2E2;
    color: #B91C1C;
}

.tutorial-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.tutorial-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.tutorial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tutorial-meta .duration {
    font-size: 0.875rem;
    color: var(--gray);
}

.tutorial-meta .level {
    background: var(--accent);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===========================
   CTA FINAL SECTION
   =========================== */

.cta-final {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: contents;
}

.link-group h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: var(--space-sm) 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-grid,
    .benefits-grid,
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
