/* ABOUT PAGE STYLES - MODERN SPECS v9.5 */

/* 1. BASE LAYOUT & VARIABLES */
:root {
    --hero-padding: 80px 20px 40px;
}

/* Specialized About layout - Baseline positioning moved to global style.v9.css */
#about-overlay,
#support-overlay {
    background: var(--bg-body, #121212);
}

/* Animations move to the scroll container per Fix Option 1 */
.about-scroll-container {
    transition: transform 0.25s ease-out;
}


/* SCROLL CONTAINER */
.about-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 60px;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. NAVIGATION OVERLAY */
.about-nav {
    height: auto;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: env(safe-area-inset-top, 16px) 24px 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-align: left;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .nav-links.desktop-only {
        display: flex;
    }
}

.nav-links a {
    font-size: 14px;
    color: #a1a1a6;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffffff;
}

.btn-close-round {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-close-round:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-close-round svg {
    width: 20px;
    height: 20px;
}

/* SUPPORT VIEW VISIBILITY FIX */
.support-view {
    display: block;
    width: 100%;
    animation: fadeIn 0.3s ease-out;
}

.support-view.hidden {
    display: none !important;
}

/* 3. HERO SECTION */
.about-hero {
    padding: var(--hero-padding);
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(20, 20, 22, 1) 0%, rgba(18, 18, 18, 1) 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero-title {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 56px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero {
    text-align: left;
    /* Force left */
    padding: var(--hero-padding);
    background: radial-gradient(circle at 10% 30%, rgba(10, 132, 255, 0.15) 0%, transparent 50%);
    /* Prevent internal scroll - CRITICAL FIX */
    width: 100%;
    box-sizing: border-box;
}

.about-hero::-webkit-scrollbar {
    display: none !important;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: #a1a1a6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: 0;
    /* Align left */
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    /* Align left */
    margin-bottom: 24px;
}

@media (min-width: 600px) {
    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
}

.btn-primary-large {
    background: #0a84ff;
    /* Apple Blue */
    color: white;
    border: none;
    height: 50px;
    padding: 0 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-large:active {
    transform: scale(0.96);
}

.btn-secondary-large {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    height: 50px;
    padding: 0 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.link-tertiary {
    font-size: 14px;
    color: #0a84ff;
    text-decoration: none;
    margin-top: 8px;
    display: inline-block;
}

.hero-trust {
    font-size: 12px;
    color: #636366;
    margin-top: 16px;
}

/* 4. TRUST BAR */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile: 2x2 */
    gap: 12px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .trust-bar {
        grid-template-columns: repeat(4, 1fr);
        /* Desktop: 4x1 */
    }
}

.trust-card {
    background: rgba(28, 28, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.trust-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.trust-card h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.trust-card p {
    margin: 0;
    font-size: 11px;
    color: #8e8e93;
    line-height: 1.3;
}

/* 5. FEATURES GRID (Pillars) */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 80px;
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: #1c1c1e;
    /* Card BG */
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.feature-card h3 {
    font-size: 22px;
    margin: 0 0 12px;
    color: #fff;
}

.feature-card p {
    font-size: 15px;
    color: #a1a1a6;
    line-height: 1.5;
    margin-bottom: 24px;
}

.feature-card ul {
    padding-left: 20px;
    color: #d1d1d6;
    font-size: 14px;
    line-height: 1.6;
}

.feature-card li {
    margin-bottom: 8px;
}

/* 6. STEPS (How it Works) */
.steps-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: left;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .step-item {
        flex: 1;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .step-line {
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        flex: 0.5;
        margin-top: 20px;
    }
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0a84ff;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.step-item h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.step-item p {
    margin: 0;
    font-size: 14px;
    color: #8e8e93;
    line-height: 1.4;
}

.step-line {
    display: none;
    /* Hide on mobile */
}

/* 7. TRACKING (Grid layout) */
.tracking-explanation {
    background: #1c1c1e;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 80px;
}

.tracking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .tracking-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.tracking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.tracking-card h4 {
    margin: 8px 0 4px;
    font-size: 16px;
}

.tracking-card p {
    font-size: 13px;
    color: #a1a1a6;
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.gps {
    background: rgba(48, 209, 88, 0.2);
    color: #30d158;
}

.badge.prediction {
    background: rgba(10, 132, 255, 0.2);
    color: #0a84ff;
}

.tracking-note {
    font-size: 13px;
    color: #ff9f0a;
    /* Warning Orange */
    margin-top: 16px;
    background: rgba(255, 159, 10, 0.1);
    padding: 12px;
    border-radius: 8px;
}

/* 8. PARTNER SECTION & CARDS */
.partner-section {
    background: linear-gradient(135deg, #1c1c1e 0%, #171717 100%);
    border-radius: 24px;
    padding: 40px 24px;
    margin-bottom: 40px;
    /* Reduced from 80px */
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content {
    padding: 24px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 20px;
    color: #fff;
}

.legal-content p,
.legal-content ul {
    color: #a1a1a6;
    margin-bottom: 16px;
    line-height: 1.6;
}

.partner-header h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.partner-header p {
    color: #8e8e93;
    margin-bottom: 32px;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.partner-card {
    background: #000;
    padding: 24px;
    border-radius: 16px;
}

.partner-card h4 {
    color: #fff;
    margin-bottom: 8px;
}

.partner-card p {
    color: #636366;
    font-size: 13px;
}

/* 9. INFO GRID (Privacy & Team) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-column h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #fff;
}

.check-list {
    list-style: none;
    /* Custom bullets */
    padding: 0;
    font-size: 15px;
    color: #d1d1d6;
}

.check-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #30d158;
    font-weight: 800;
}

.links-row a {
    color: #0a84ff;
    margin-right: 16px;
    text-decoration: none;
    font-size: 14px;
}

/* 10. FAQ ACCORDION */
.faq-section {
    max-width: 800px;
    margin: 0 auto 80px;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

.accordion-header:hover {
    color: #0a84ff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #8e8e93;
    font-size: 15px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Arbitrary high enough value */
    padding-bottom: 20px;
}

.arrow {
    transition: transform 0.3s;
}

.accordion-item.active .arrow {
    transform: rotate(180deg);
}

/* 11. CONTACT FORM */
.contact-section {
    max-width: 600px;
    margin: 0 auto 80px;
}

.contact-form {
    background: #1c1c1e;
    padding: 32px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    color: #8e8e93;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: #2c2c2e;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: border 0.2s, background 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: #3a3a3c;
    border-color: #0a84ff;
    outline: none;
}

.form-textarea {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: #30d158;
    /* Success Green */
    color: white;
    border: none;
    height: 50px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-submit:hover {
    opacity: 0.9;
}

/* 12. FOOTER */
.about-footer {
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    color: #636366;
    font-size: 13px;
}

/* UTILS */
.hidden {
    display: none !important;
}

/* LIGHT MODE OVERRIDES - Only essential ones for now */
.support-view {
    padding-top: 80px;
    /* Clear the sticky header since there is no hero */
    padding-left: 24px;
    padding-right: 24px;
}

body.light-mode #about-overlay {
    background: #f5f5f7;
    color: #000;
}

body.light-mode .about-nav {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-brand,
body.light-mode .nav-links a {
    color: #000;
}

body.light-mode .btn-close-round {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

body.light-mode .about-hero {
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, #e5e5ea 70%);
}

body.light-mode .gradient-text {
    background: linear-gradient(135deg, #000000 0%, #636366 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .hero-subtitle {
    color: #636366;
}

body.light-mode .btn-secondary-large {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

body.light-mode .trust-card,
body.light-mode .feature-card,
body.light-mode .tracking-explanation,
body.light-mode .partner-card,
body.light-mode .contact-form {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .feature-card h3,
body.light-mode .trust-card h4,
body.light-mode .partner-card h4,
body.light-mode .accordion-header,
body.light-mode .info-column h3 {
    color: #000;
}

body.light-mode .feature-card p,
body.light-mode .feature-card ul,
body.light-mode .check-list {
    color: #3c3c43;
}

body.light-mode .form-input,
body.light-mode .form-textarea,
body.light-mode .form-select {
    background: #f2f2f7;
    color: #000;
}

body.light-mode .partner-section {
    background: #f2f2f7;
    border: none;
}

/* 13. PARTNER HERO & NEW LANDING ELEMENTS */
.partner-hero {
    padding: 60px 24px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(10, 132, 255, 0.1) 0%, transparent 70%);
}


.about-hero,
.partner-hero {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.about-hero::-webkit-scrollbar,
.partner-hero::-webkit-scrollbar {
    display: none !important;
}

.partner-hero h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.partner-hero p {
    color: #a1a1a6;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-primary {
    background: #0a84ff;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* SOLUTION GRID */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
}

@media (min-width: 768px) {
    .solution-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.micro-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 13px;
    color: #8e8e93;
    text-align: left;
}

.micro-list li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
}

.micro-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #0a84ff;
}

.contact-card-v2 {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    text-align: left;
    margin-top: 24px;
}

/* 14. LEGAL CONTENT STYLES */
.legal-content {
    padding: 24px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.legal-content h3 {
    font-size: 20px;
    margin: 32px 0 12px;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.legal-content p,
.legal-content li {
    font-size: 15px;
    line-height: 1.6;
    color: #e5e5ea !important;
    /* High contrast secondary */
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.legal-content a {
    color: #0a84ff !important;
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.updated-date {
    font-size: 13px;
    color: #a1a1a6 !important;
    margin-bottom: 24px;
    display: block;
}