/* Landing Page Styles */
:root {
    --primary-color: #10A37F;
    --secondary-color: #202123;
    --background-color: #FFFFFF;
    --text-color: #353740;
    --accent-color: #6E6E80;
    --light-gray: #f8f9fa;
    --border-color: #e5e5e5;
    --section-padding: 5rem 0;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0c8c6a;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #0c8c6a;
    border-color: #0c8c6a;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

/* Hero Section */
.landing-header {
    position: relative;
    background-color: var(--light-gray);
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
    background-image: url('../images/ai-assistant-hero.svg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Features Section */
.features-section {
    background-color: var(--background-color);
}

.feature-card {
    padding: 2rem;
    text-align: center;
    height: 100%;
    background-color: white;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: rgba(16, 163, 127, 0.1);
    color: var(--primary-color);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--accent-color);
}

/* Use Cases Section */
.use-cases-section {
    background-color: var(--light-gray);
}

.use-case-card {
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    height: 100%;
    background-color: white;
}

.use-case-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.use-case-description {
    color: var(--accent-color);
}

/* Technical Details Section */
.tech-details-section {
    background-color: var(--background-color);
}

.tech-detail-card {
    padding: 2rem;
    height: 100%;
    background-color: white;
}

.tech-detail-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-detail-title svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

.tech-detail-description {
    color: var(--accent-color);
}

/* Feedback Form Section */
.feedback-section {
    background-color: var(--light-gray);
}

.feedback-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
}

.form-text {
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.rating-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rating-option {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-option:hover {
    border-color: var(--primary-color);
}

.rating-option input {
    margin-right: 0.5rem;
}

.feature-feedback {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    background-color: var(--light-gray);
}

/* Footer */
.landing-footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Navigation */
.landing-nav {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

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

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .landing-header {
        padding: 5rem 0;
        background-position: center;
        background-size: cover;
    }
    
    .hero-content {
        background-color: rgba(255, 255, 255, 0.9);
        padding: 2rem;
        border-radius: var(--border-radius);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .feature-card, .use-case-card, .tech-detail-card {
        padding: 1.5rem;
    }
    
    .feedback-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .landing-header {
        padding: 4rem 0;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Custom Styles for Checkboxes and Radios */
.custom-control {
    position: relative;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-color: #fff;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.custom-radio .custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    transform: scale(1);
}

.custom-checkbox .custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

/* Form Feedback */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
}

/* Alert Styles */
.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}