/* Modern Landing Page Styles */

/* CSS Variables for Theme Customization */
:root {
    --primary-color: #2F74B9;
    --primary-dark: #1a4d8f;
    --primary-light: #4a9eff;
    --accent-color: #4a9eff;
    --success-color: #28a745;
    --error-color: #dc3545;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background: var(--bg-light);
}

/* Landing Page Container */
#landing-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Header Section */
.landing-header {
    background: var(--bg-color);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-logo {
    max-height: 60px;
    width: auto;
}

.landing-header nav a {
    margin-left: 30px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .landing-header nav a:hover {
        color: var(--primary-color);
    }

    .landing-header nav a.btn-login {
        background: var(--primary-color);
        color: white;
        padding: 10px 24px;
        border-radius: 4px;
    }

        .landing-header nav a.btn-login:hover {
            background: var(--primary-dark);
            color: white;
        }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

    .hero-content h1 {
        font-size: 48px;
        font-weight: 700;
        margin: 0 0 24px 0;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 20px;
        margin: 0 0 40px 0;
        opacity: 0.95;
        line-height: 1.6;
    }

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

    .btn-primary:hover {
        background: var(--bg-light);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: var(--bg-color);
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 16px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin: 0 0 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
    }

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--text-color);
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.benefits-content {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
}

    .benefits-list li {
        padding: 20px 0 20px 60px;
        position: relative;
        font-size: 18px;
        line-height: 1.6;
        border-bottom: 1px solid var(--border-color);
    }

        .benefits-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 20px;
            width: 40px;
            height: 40px;
            background: var(--success-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 20px;
        }

        .benefits-list li:last-child {
            border-bottom: none;
        }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

    .cta-content h2 {
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 24px 0;
    }

    .cta-content p {
        font-size: 18px;
        margin: 0 0 40px 0;
        opacity: 0.95;
    }

/* Contact Form */
.contact-section {
    padding: 80px 20px;
    background: var(--bg-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 40px;
}

    .contact-form .form-group {
        margin-bottom: 24px;
    }

    .contact-form label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-color);
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        font-size: 15px;
        font-family: inherit;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .contact-form input:focus,
        .contact-form textarea:focus,
        .contact-form select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(47, 116, 185, 0.1);
        }

    .contact-form textarea {
        min-height: 120px;
        resize: vertical;
    }

    .contact-form .form-actions {
        display: flex;
        gap: 16px;
        justify-content: center;
        margin-top: 32px;
    }

    .contact-form .error {
        border-color: var(--error-color);
    }

/* Form Response Messages */
.form-response {
    padding: 16px 24px;
    border-radius: 4px;
    margin: 24px 0;
    text-align: center;
    font-weight: 500;
}

.form-response-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.landing-footer {
    background: var(--text-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.landing-footer p {
    margin: 0 0 16px 0;
    opacity: 0.8;
}

.landing-footer a {
    color: var(--primary-light);
    text-decoration: none;
}

    .landing-footer a:hover {
        text-decoration: underline;
    }

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 14px 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .benefits-list li {
        padding-left: 50px;
        font-size: 16px;
    }

        .benefits-list li:before {
            width: 32px;
            height: 32px;
            font-size: 16px;
        }

    .landing-header-content {
        flex-direction: column;
        gap: 16px;
    }

    .landing-header nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

        .landing-header nav a {
            margin-left: 0;
            text-align: center;
        }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .contact-form .form-actions {
        flex-direction: column;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .landing-header,
    .hero-buttons,
    .contact-section,
    .cta-section,
    .landing-footer {
        display: none;
    }

    body {
        background: white;
    }
}
