/* Variabili di colore per Bolt.new */
:root {
    --bolt-primary: #ff6b35;
    --bolt-secondary: #f7931e;
    --bolt-accent: #1e88e5;
    --bolt-dark: #2c3e50;
    --bolt-light: #ecf0f1;
}

/* Stili base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.bolt-logo {
    margin-bottom: 30px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

/* Code Demo */
.code-demo {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.code-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.prompt-input {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
}

.prompt-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.prompt-example {
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
    font-family: 'Courier New', monospace;
}

.prompt-example::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--bolt-primary);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.code-block {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    position: relative;
    font-family: 'Courier New', monospace;
    color: #00ff88;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--bolt-primary);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--bolt-dark), #34495e);
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

/* Workflow Steps */
.workflow-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid var(--bolt-primary);
}

.step-number {
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 25px;
    flex-shrink: 0;
    font-size: 18px;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-badge {
    background: linear-gradient(135deg, var(--bolt-accent), #1976d2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Button Styles */
.btn-bolt {
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-bolt:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    color: white;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    border-radius: 2px;
}

/* Preview Window */
.preview-window {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.preview-dots {
    display: flex;
    gap: 5px;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27ca3f; }

.preview-url {
    margin-left: 15px;
    color: #888;
    font-size: 12px;
}

/* Tutorial Section */
.tutorial-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tutorial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid var(--bolt-primary);
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--bolt-secondary);
}

.step-number-tutorial {
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 1px solid #2196f3;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.tip-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 18px;
}

/* Prompt Example Bolt */
.prompt-example-bolt {
    background: #1a1a1a;
    color: #00ff88;
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    position: relative;
    border-left: 4px solid var(--bolt-primary);
}

.prompt-example-bolt::before {
    content: 'Prompt:';
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--bolt-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* Guide Card */
.guide-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--bolt-accent);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Use Case Category */
.use-case-category {
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    margin: 10px 5px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.use-case-category:hover {
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

/* Professional Case */
.professional-case {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.professional-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
}

/* Advanced Tip */
.advanced-tip {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px solid #ff9800;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.advanced-tip::before {
    content: '🚀';
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 18px;
}

/* Prompt Categories */
.prompt-category {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.prompt-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.prompt-item:last-child {
    border-bottom: none;
}

/* Use Case Card */
.use-case-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.use-case-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.use-case-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bolt-primary), var(--bolt-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tutorial-section {
        padding: 25px;
        margin: 25px 0;
    }
    
    .tutorial-card {
        padding: 20px;
    }
    
    .tutorial-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number-tutorial {
        margin: 0 auto 15px auto;
    }
    
    .use-case-category {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
}