/* ===== CSS Variables ===== */
:root {
    /* Troy High Colors */
    --primary: #8B0000;
    --primary-dark: #6B0000;
    --primary-light: #a01010;
    
    /* Neutrals */
    --black: #1a1a1a;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #868e96;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f1f3f5;
    --gray-50: #f8f9fa;
    --white: #ffffff;
    
    /* Accent */
    --accent: #c9a227;
    
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

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

.lead {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.text-center { text-align: center; }

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1.0625rem;
}

/* ===== Layout ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    height: 70px;
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(139, 0, 0, 0.06);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(139, 0, 0, 0.08);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition);
    letter-spacing: -0.01em;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

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

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    padding: 6rem 1.5rem 4rem;
    text-align: center;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ===== Page Header ===== */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 7rem 1.5rem 3.5rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin: 0;
}

/* ===== Stats ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    display: block;
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.cta-center {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== Mission Statement ===== */
.mission-statement {
    background: var(--gray-900);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.mission-statement blockquote {
    color: var(--white);
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.75;
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--primary);
    padding: 4rem 0;
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.cta-box p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ===== About Intro ===== */
.about-intro h2 {
    margin-bottom: 1.5rem;
}

.about-intro p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

/* ===== Values ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.value-icon-text {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.value-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

.value-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    gap: 1.5rem;
}

.team-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.team-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.team-photo {
    margin-bottom: 1.25rem;
}

.photo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-500);
    margin: 0 auto;
    border: 2px solid var(--gray-200);
}

.team-role {
    display: inline-block;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.team-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.team-handle {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.team-class {
    color: var(--gray-600);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-quote {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.6;
}

/* Leader Featured Card */
.leader-featured {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.leader-card-horizontal {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    display: flex;
    overflow: hidden;
}

.leader-photo {
    background: var(--primary);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-photo .photo-placeholder {
    width: 100px;
    height: 100px;
    font-size: 2rem;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
}

.leader-info {
    padding: 2rem;
    flex: 1;
}

.leader-role {
    display: inline-block;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.leader-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.leader-handle {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.leader-class {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-quote {
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.7;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin: 0;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

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

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-500);
    transition: transform var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-500);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand .logo {
    color: var(--white);
    font-size: 1.125rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.social-icons a {
    color: var(--gray-500);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.social-icons a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid,
    .team-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.0625rem; }
    
    .section { padding: 3.5rem 0; }
    
    /* Mobile Nav */
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.875rem 1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Grids */
    .features-grid,
    .team-grid-2,
    .team-grid-3,
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Leader Card */
    .leader-card-horizontal {
        flex-direction: column;
    }
    
    .leader-info {
        text-align: center;
    }
    
    .leader-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--primary);
        padding-top: 1rem;
        margin-top: 0.5rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-group .btn {
        width: 100%;
        max-width: 280px;
    }
}