/**
 * R Code Visual Scripting - Landing Page Stylesheet
 * 
 * This stylesheet provides styling for the presentation landing page.
 * It uses a clean, modern design with a dark theme consistent with the editor.
 */

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #1e1e1e;
    color: #e0e0e0;
    line-height: 1.6;
}

/* ==========================================================================
   Landing Container
   ========================================================================== */

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Header
   ========================================================================== */

.landing-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 2px solid #4a9eff;
}

.landing-header h1 {
    font-size: 3rem;
    color: #4a9eff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.25rem;
    color: #b0b0b0;
    font-weight: 300;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.landing-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* ==========================================================================
   Call-to-Action Buttons
   ========================================================================== */

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #4a9eff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.cta-button-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    padding: 4rem 0;
}

.features h2 {
    font-size: 2.5rem;
    color: #4a9eff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.feature-card {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #404040;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #4a9eff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #4a9eff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
    padding: 4rem 0;
    background: #252525;
    margin: 2rem 0;
    border-radius: 12px;
}

.how-it-works h2 {
    font-size: 2.5rem;
    color: #4a9eff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4a9eff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #e0e0e0;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    margin: 2rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #4a9eff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.landing-footer {
    background: #1a1a1a;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #404040;
    margin-top: 4rem;
}

.landing-footer p {
    color: #888;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .landing-header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .features h2,
    .how-it-works h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .landing-content {
        padding: 0 1rem;
    }
}

