/* Radio Check Website Styles */

/* ==================== CSS Variables ==================== */
:root {
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --navy: #1a2e44;
    --navy-light: #243447;
    --navy-dark: #0d1b2a;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --text-body: #cbd5e1;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #22c55e;
    --border: rgba(255, 255, 255, 0.1);
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--navy-dark);
    color: var(--text-body);
    line-height: 1.6;
}

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

a:hover {
    color: var(--primary);
}

h1, h2, h3, h4 {
    color: var(--text-light);
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* ==================== Navigation ==================== */
.navbar {
    background: var(--navy);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

.nav-logo:hover {
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-body);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-light);
    border-bottom-color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.hero-content {
    max-width: 700px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 8px;
}

.hero-tagline {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.hero-description {
    font-style: italic;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== Emergency Notice ==================== */
.emergency-notice {
    background: linear-gradient(90deg, var(--danger), #dc2626);
    padding: 20px;
    text-align: center;
}

.emergency-notice .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.emergency-notice i {
    font-size: 24px;
    color: var(--text-light);
}

.emergency-notice p {
    color: var(--text-light);
    margin: 0;
}

/* ==================== Features Section ==================== */
.features {
    padding: 80px 0;
    background: var(--navy);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
    border-color: var(--primary);
}

.feature-card .feature-short {
    color: var(--text-muted);
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.feature-card .feature-expanded {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.7;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.feature-card:hover .feature-short {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.feature-card:hover .feature-expanded {
    max-height: 300px;
    opacity: 1;
    margin-top: 12px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-light);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ==================== For Who Section ==================== */
.for-who {
    padding: 80px 0;
    background: var(--navy-dark);
}

.for-who h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.audience-card {
    background: var(--navy);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.audience-card i {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.audience-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.audience-card p {
    color: var(--text-muted);
}

/* ==================== Supporters Section ==================== */
.supporters {
    padding: 60px 0;
    background: var(--navy);
    text-align: center;
}

.supporters-label {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.supporters-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.supporters-logos a {
    display: block;
    transition: transform 0.3s ease;
}

.supporters-logos a:hover {
    transform: scale(1.05);
}

.supporters-logos img {
    max-width: 120px;
    max-height: 70px;
    object-fit: contain;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--navy-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-section ul a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== Page Content ==================== */
.page-header {
    padding: 140px 20px 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 0;
    background: var(--navy);
}

.content-section {
    max-width: 800px;
    margin: 0 auto 48px;
}

.content-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.content-section h3 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.content-section p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.content-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-section ul li {
    margin-bottom: 8px;
    color: var(--text-body);
}

/* ==================== AI Team Cards ==================== */
.ai-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.ai-card {
    background: var(--navy-light);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.ai-card:hover {
    transform: translateY(-4px);
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ai-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-light);
}

.ai-avatar-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ai-info h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.ai-role {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
}

.ai-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ==================== Contact Form ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(13, 148, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 14px;
}

.crisis-numbers {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
}

.crisis-numbers h4 {
    color: var(--danger);
    margin-bottom: 12px;
}

.crisis-numbers p {
    margin-bottom: 8px;
}

.contact-form {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-body);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--navy-dark);
    color: var(--text-light);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ==================== Mobile Responsive ==================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features h2,
    .for-who h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

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

    .emergency-notice .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 16px 40px;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .feature-card,
    .audience-card {
        padding: 24px;
    }

    .supporters-logos img {
        max-width: 80px;
    }
}

/* ==================== Modal Styles ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(13, 148, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal-icon i {
    font-size: 36px;
    color: var(--primary-light);
}

.modal-content h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.modal-content p {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px;
        margin: 20px;
    }
    
    .modal-content h2 {
        font-size: 22px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a2e44 0%, #0d1b2a 100%);
    border-top: 2px solid #4a90a4;
    padding: 20px 24px;
    z-index: 10000;
    animation: slideUpBanner 0.4s ease;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.cookie-text i {
    font-size: 28px;
    color: #4a90a4;
}

.cookie-text strong {
    color: #fff;
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.cookie-text p {
    color: #a0b4c4;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid #4a90a4;
    color: #4a90a4;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #4a90a4;
    color: #0d1b2a;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}
