* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2d3748;
    --accent-color: #e53e3e;
    --warning-severe: #c53030;
    --warning-moderate: #dd6b20;
    --warning-early: #d69e2e;
    --success-color: #38a169;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --blue-dark: #2c5282;
    --blue-medium: #4299e1;
    --purple-dark: #44337a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(66, 153, 225, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 62, 62, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.tagline {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-style: italic;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    color: #e2e8f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Crisis Banner */
.crisis-banner {
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    border-bottom: 4px solid #742a2a;
}

.crisis-banner h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.crisis-banner p {
    font-size: 1.15rem;
    font-weight: 600;
}

/* Content Sections */
.content-section {
    padding: 5rem 2rem;
}

.alt-bg {
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

.stories-section {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 900;
}

.stories-section h2 {
    color: white;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.stories-section .section-intro {
    color: #cbd5e0;
}

/* Reality Check Box */
.reality-check {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 3rem;
    border-radius: 15px;
    border-left: 6px solid var(--accent-color);
    margin-bottom: 3rem;
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.15);
}

.lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.lead strong {
    color: var(--accent-color);
    font-weight: 800;
}

/* AIAA Grid */
.what-is-aiaa {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.what-is-aiaa h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.aiaa-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--blue-medium);
    transition: all 0.3s;
}

.aiaa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.aiaa-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.aiaa-item p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Fellowship Box */
.fellowship-box {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--purple-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.fellowship-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.fellowship-box p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.8;
}

/* Warning Categories */
.warning-categories {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.warning-category {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 6px solid;
}

.warning-category.severe {
    border-left-color: var(--warning-severe);
    background: linear-gradient(135deg, #fff5f5 0%, white 100%);
}

.warning-category.moderate {
    border-left-color: var(--warning-moderate);
    background: linear-gradient(135deg, #fffaf0 0%, white 100%);
}

.warning-category.early {
    border-left-color: var(--warning-early);
    background: linear-gradient(135deg, #fffff0 0%, white 100%);
}

.warning-category h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.warning-category.severe h3 {
    color: var(--warning-severe);
}

.warning-category.moderate h3 {
    color: var(--warning-moderate);
}

.warning-category.early h3 {
    color: var(--warning-early);
}

.warning-category ul {
    list-style: none;
}

.warning-category li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.warning-category li:last-child {
    border-bottom: none;
}

.warning-category.severe li:before {
    content: "🚨";
    position: absolute;
    left: 0;
}

.warning-category.moderate li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.warning-category.early li:before {
    content: "⚡";
    position: absolute;
    left: 0;
}

/* Reality Box */
.reality-box {
    background: linear-gradient(135deg, #2c5282 0%, #2d3748 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.reality-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.reality-box p {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    transition: all 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.4);
}

.quote-mark {
    font-size: 5rem;
    color: rgba(255,255,255,0.3);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.story {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author {
    font-size: 1rem;
    color: #cbd5e0;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

/* Hope Box */
.hope-box {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(56, 161, 105, 0.3);
}

.hope-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
}

.hope-box p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.highlight {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Solution Points */
.solution-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.point {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-top: 5px solid var(--blue-medium);
    transition: all 0.3s;
}

.point:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.point h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.point p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Meeting Info */
.meeting-info {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.meeting-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.meeting-info ul {
    margin-bottom: 2rem;
    list-style: none;
}

.meeting-info li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
}

.meeting-info li:last-child {
    border-bottom: none;
}

.meeting-info li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

.welcome {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--blue-medium);
}

.welcome strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Twelve Steps */
.twelve-steps {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    counter-reset: step-counter;
    list-style: none;
}

.twelve-steps li {
    padding: 1.5rem 0;
    padding-left: 4rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--border-color);
    counter-increment: step-counter;
    line-height: 1.8;
}

.twelve-steps li:last-child {
    border-bottom: none;
}

.twelve-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-dark) 100%);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.note {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.intro {
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.emphasis {
    background: linear-gradient(135deg, #fff5e6 0%, #feebc8 100%);
    padding: 2rem;
    border-left: 5px solid var(--warning-moderate);
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hero Secondary */
.hero-secondary {
    background: linear-gradient(135deg, #2c5282 0%, #2d3748 100%);
    color: white;
    text-align: center;
}

.hero-secondary h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-secondary p {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.center {
    text-align: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #cbd5e0;
    padding: 3rem 2rem;
    text-align: center;
}

footer p {
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Extra Small Devices (Phones, 320px to 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    /* Navigation - Hamburger Style */
    nav {
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 1rem 0;
    }

    .nav-links a {
        padding: 0.75rem;
        text-align: center;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        padding: 4rem 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .tagline {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Crisis Banner */
    .crisis-banner {
        padding: 1.5rem 1rem;
    }

    .crisis-banner h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .crisis-banner p {
        font-size: 0.9rem;
    }

    /* Content Sections */
    .content-section {
        padding: 3rem 1rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Reality Check */
    .reality-check {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .lead {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* AIAA Grid */
    .what-is-aiaa {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .what-is-aiaa h3 {
        font-size: 1.4rem;
    }

    .aiaa-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .aiaa-item {
        padding: 1.5rem;
    }

    .aiaa-item .icon {
        font-size: 2rem;
    }

    .aiaa-item p {
        font-size: 1rem;
    }

    /* Fellowship Box */
    .fellowship-box {
        padding: 2rem 1.5rem;
    }

    .fellowship-box h3 {
        font-size: 1.5rem;
    }

    .fellowship-box p {
        font-size: 1rem;
    }

    /* Warning Categories */
    .warning-categories {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .warning-category {
        padding: 1.5rem;
    }

    .warning-category h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .warning-category li {
        font-size: 1rem;
        padding: 0.75rem 0;
        padding-left: 1.8rem;
    }

    /* Reality Box */
    .reality-box {
        padding: 2rem 1.5rem;
    }

    .reality-box h3 {
        font-size: 1.5rem;
    }

    .reality-box p {
        font-size: 1.1rem;
    }

    /* Testimonials */
    .testimonials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .quote-mark {
        font-size: 3rem;
    }

    .story {
        font-size: 1rem;
    }

    .author {
        font-size: 0.9rem;
    }

    /* Hope Box */
    .hope-box {
        padding: 2rem 1.5rem;
    }

    .hope-box h3 {
        font-size: 1.6rem;
    }

    .hope-box p {
        font-size: 1.1rem;
    }

    .highlight {
        font-size: 1.5rem;
    }

    /* Solution Points */
    .solution-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .point {
        padding: 1.5rem;
    }

    .point h3 {
        font-size: 1.3rem;
    }

    .point p {
        font-size: 0.95rem;
    }

    /* Meeting Info */
    .meeting-info {
        padding: 1.5rem;
    }

    .meeting-info h3 {
        font-size: 1.4rem;
    }

    .meeting-info li {
        font-size: 1rem;
        padding-left: 2rem;
    }

    /* Twelve Steps */
    .twelve-steps {
        padding: 1.5rem;
    }

    .twelve-steps li {
        padding: 1.2rem 0;
        padding-left: 3.5rem;
        font-size: 1rem;
    }

    .twelve-steps li:before {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }

    /* Hero Secondary */
    .hero-secondary {
        padding: 3rem 1rem;
    }

    .hero-secondary h2 {
        font-size: 1.8rem;
    }

    .hero-secondary p {
        font-size: 1.1rem;
    }

    /* Footer */
    footer {
        padding: 2rem 1rem;
    }

    footer p {
        font-size: 0.85rem;
    }
}

/* Small Devices (Phones, 481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    nav {
        padding: 0 1.5rem;
    }

    .logo {
        font-size: 1.7rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding: 5rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1.15rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

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

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

/* Medium Devices (Tablets, 768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    nav {
        padding: 0 2rem;
    }

    .logo {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.95rem;
    }

    .hero {
        padding: 6rem 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 4.5rem 2rem;
    }

    .content-section h2 {
        font-size: 2.5rem;
    }

    /* Testimonials - 1 column on tablets for readability */
    .testimonials {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* AIAA Grid - 2 columns on tablets */
    .aiaa-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Solution Points - 2 columns */
    .solution-points {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Warning categories stay single column for readability */
    .warning-categories {
        grid-template-columns: 1fr;
    }
}

/* Large Tablets (1025px to 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    .aiaa-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets for touch devices */
    .cta-button {
        min-height: 48px;
        padding: 1.2rem 2.5rem;
    }

    .nav-links a {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }

    /* Remove hover effects on touch devices */
    .aiaa-item:hover,
    .point:hover,
    .testimonial:hover {
        transform: none;
    }

    /* Better spacing for touch */
    .warning-category li {
        padding: 1rem 0;
        padding-left: 2rem;
    }

    /* Disable animations on touch for better performance */
    .hero-badge {
        animation: none;
    }
}

/* Landscape Phone Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 3rem 2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

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

/* Print Styles */
@media print {
    .hero::before,
    .hero-overlay,
    .nav-links,
    .cta-button,
    .cta-buttons {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
        background: white;
    }

    .content-section {
        page-break-inside: avoid;
    }
}

/* Meeting Finder & Schedule Styles */
.meeting-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.meeting-type {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.meeting-type h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.meeting-schedule {
    margin-bottom: 2.5rem;
}

.meeting-schedule h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.meeting-schedule ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.meeting-schedule li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
}

.meeting-schedule li:last-child {
    border-bottom: none;
}

.meeting-link, .meeting-password, .meeting-notice {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.meeting-link a, .meeting-schedule a {
    color: var(--blue-medium);
    text-decoration: underline;
}

.meeting-types-info {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.meeting-types-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.meeting-format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.format {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--blue-medium);
}

.format h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* FAQ Styles */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 3px solid var(--blue-medium);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Newcomer Guide Styles */
.newcomer-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.newcomer-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
    padding-top: 4rem;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
}

.newcomer-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.newcomer-step p {
    margin: 0;
    font-size: 1.05rem;
}

.first-30-days {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 6px solid var(--accent-color);
}

.first-30-days h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--blue-medium);
}

.timeline-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    margin: 0;
    font-size: 1.05rem;
}

/* Family & Friends Styles */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.family-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.family-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

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

.family-section li {
    padding: 0.75rem 0;
    padding-left: 1.8rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.family-section li:last-child {
    border-bottom: none;
}

.family-section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--blue-medium);
    font-size: 1.5rem;
}

.family-section p {
    margin-bottom: 0.75rem;
}

.family-section a {
    color: var(--blue-medium);
    text-decoration: underline;
}

.crisis-family {
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(197, 48, 48, 0.3);
}

.crisis-family h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.crisis-family p {
    margin-bottom: 1rem;
}

.crisis-family ul {
    list-style: none;
}

.crisis-family li {
    padding: 0.75rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.1rem;
}

.crisis-family li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.resource-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--blue-medium);
}

.resource-category h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.resource-category ul {
    list-style: none;
}

.resource-category li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.resource-category li:last-child {
    border-bottom: none;
}

.resource-category a {
    color: var(--blue-medium);
    text-decoration: underline;
    transition: color 0.3s;
}

.resource-category a:hover {
    color: var(--blue-dark);
}

.resource-category p {
    margin-bottom: 1rem;
}

.note-small {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.contact-method {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--blue-medium);
}

.contact-method h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.contact-method p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-method a {
    color: var(--blue-medium);
    text-decoration: underline;
    font-weight: 600;
}

.contact-method ul {
    list-style: none;
    margin-top: 1rem;
}

.contact-method li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.contact-method li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
