/* Starter Kit V2 Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2.5rem 0 2rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-problems {
    display: none; /* Hide the large problem cards */
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.problem-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-solution {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 650px;
}

.hero-solution h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.hero-solution p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Template Selection Section */
.template-selection-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.section-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
}

.category-tab:hover {
    border-color: #3498db;
    background: #f0f8ff;
    transform: translateY(-2px);
}

.category-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

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

.tab-title {
    font-weight: 600;
}

/* Templates Grid */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.template-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.template-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.template-preview-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.template-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #95a5a6;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.meta-badge {
    background: #ecf0f1;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    color: #2c3e50;
    font-weight: 500;
}

.concept-badge {
    background: #e8f4fd;
    color: #2980b9;
}

/* Custom Scenario Card */
.custom-scenario-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.custom-scenario-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.custom-scenario-content p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-size: 1.05rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-small {
    max-width: 500px;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #95a5a6;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #ecf0f1;
    color: #2c3e50;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.modal-footer h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.2rem;
    text-align: center;
}

.modal-choice-description {
    text-align: center;
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
}

.btn-icon {
    font-size: 1.2rem;
}

/* Template Preview */
.template-preview {
    color: #2c3e50;
}

.preview-section {
    margin-bottom: 1.5rem;
}

.preview-section h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.preview-section p {
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.preview-section ul {
    margin: 0;
    padding-left: 1.5rem;
}

.preview-section li {
    margin-bottom: 0.5rem;
    color: #495057;
    line-height: 1.5;
}

.preview-meta {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.9rem;
    color: #495057;
}

.meta-item strong {
    color: #2c3e50;
}

/* Email Form */
.email-form .form-group {
    margin-bottom: 1.5rem;
}

.email-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.email-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.email-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-block {
    width: 100%;
}

/* Confirmation Message */
.confirmation-message {
    text-align: center;
    padding: 2rem 0;
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.confirmation-message p {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.confirmation-note {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 1.5rem 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-solution {
        padding: 1rem 1.25rem;
        margin: 1rem auto;
    }

    .hero-solution h3 {
        font-size: 1.1rem;
    }

    .hero-solution p {
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        margin-top: 1rem;
    }

    .btn-large {
        width: 100%;
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }

    .category-tabs {
        flex-direction: column;
    }

    .category-tab {
        width: 100%;
        justify-content: center;
    }

    .templates-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 1rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

