/* Yemeni Marketing - Premium Dark Theme */
/* Colors derived exclusively from the YM logo gradient */

:root {
    /* Logo-Derived Palette */
    --navy-deepest: #0C1425;
    --navy-dark: #111B30;
    --navy-mid: #1A2744;
    --navy-card: #162035;
    --navy-border: rgba(91, 184, 232, 0.12);

    --blue-brand: #3A7BBF;
    --blue-sky: #5BB8E8;
    --blue-light: #87CEEB;
    --blue-glow: rgba(91, 184, 232, 0.25);
    --accent-gradient: linear-gradient(135deg, #1A2744, #5BB8E8);
    --accent-gradient-text: linear-gradient(135deg, #3A7BBF, #87CEEB);
    --accent-gradient-btn: linear-gradient(135deg, #3A7BBF, #5BB8E8);

    --text-white: #FFFFFF;
    --text-light: #C8D8E8;
    --text-muted: #8A9BB5;
    --text-dim: #5A6A80;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-light);
    line-height: 1.7;
    background-color: var(--navy-deepest);
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent { color: var(--blue-sky); }
.text-white { color: var(--text-white); }
.text-grey { color: var(--text-muted); }
.text-muted { color: var(--text-muted); }

.fw-bold { font-weight: 700; }
.fst-italic { font-style: italic; }
.lead { font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; color: var(--text-light); }
.text-sm { font-size: 0.875rem; }
.fs-md { font-size: 2rem; }
.fs-lg { font-size: 1.5rem; }

/* Skool Logo Colors — exact brand match */
.skool-s { color: #24339A; }
.skool-k { color: #E1493A; }
.skool-o1 { color: #EAAE4F; }
.skool-o2 { color: #4AB9F4; }
.skool-l { color: #E1493A; }

/* Layout & Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm { max-width: 800px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Sections */
section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--navy-dark);
}
.section-white {
    background-color: var(--navy-mid);
}
.section-dark {
    background: radial-gradient(ellipse at top, var(--navy-mid) 0%, var(--navy-deepest) 70%);
    color: var(--text-white);
}
.section-dark .section-title,
.section-dark h3,
.section-dark p,
.section-dark-card h3 {
    color: var(--text-white);
}

.section-dark-card {
    background: var(--navy-dark);
    color: var(--text-white);
}
.section-brand {
    background: var(--accent-gradient);
    text-align: center;
}
.border-top-glow {
    border-top: 1px solid var(--navy-border);
    box-shadow: inset 0 20px 40px -20px var(--blue-glow);
}

/* Navigation */
.navbar {
    background: rgba(12, 20, 37, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navy-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#nav-logo { height: 40px; }

/* Buttons & CTAs */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-nav {
    padding: 10px 22px;
    background: rgba(91, 184, 232, 0.12);
    color: var(--blue-sky);
    border: 1px solid var(--navy-border);
}
.btn-nav:hover {
    background: var(--blue-sky);
    color: var(--navy-deepest);
}

.btn-primary {
    background: var(--accent-gradient-btn);
    color: white;
    box-shadow: 0 4px 20px 0 var(--blue-glow);
    padding: 18px 36px;
    font-size: 1.125rem;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px 0 rgba(91, 184, 232, 0.4);
}

.btn-white {
    background: var(--text-white);
    color: var(--navy-dark);
    padding: 18px 36px;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

.btn-large {
    width: 100%;
    max-width: 400px;
}

/* Icons */
.icon, .icon-sm, .icon-lg {
    display: inline-block;
    vertical-align: middle;
}
.icon { width: 20px; height: 20px; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 48px; height: 48px; }

/* Components */
.card {
    background: var(--navy-card);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--navy-border);
}
.card .card-title { color: var(--text-white); }

.glass-card {
    background: rgba(26, 39, 68, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--navy-border);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: radial-gradient(ellipse at top center, var(--navy-mid) 0%, var(--navy-deepest) 70%);
}
.hero-pretext {
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue-sky);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-inline: auto;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}
.trust-badge {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.trust-badge .icon-shield { color: var(--blue-sky); }
.next-slot { font-size: 0.875rem; margin-top: 0.5rem; color: var(--text-muted); }
.trust-badge-dark {
    background: rgba(91, 184, 232, 0.08);
    border: 1px solid var(--navy-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Problem Section */
.problem {
    background-color: var(--navy-dark);
}
.problem p, .problem .lead, .problem li {
    color: var(--text-light);
}
.problem .fw-bold { color: var(--text-white); }
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 768px) {
    .problem-grid { grid-template-columns: 1fr; }
}
.check-list { list-style: none; }
.check-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 500;
}
.check-list .icon { color: #34D399; stroke-width: 3; }
.alert-box {
    background: rgba(249, 115, 22, 0.1);
    border-left: 4px solid #F97316;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    color: var(--text-light);
}
.data-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 1rem;
}
.data-stat {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    width: 30%;
}
.data-label { width: 70%; font-weight: 500; color: var(--text-muted); }
.data-header { font-weight: 700; border-bottom: 1px solid var(--navy-border); padding-bottom: 0.5rem; color: var(--text-white); }
.data-highlight { font-weight: 700; font-size: 1.1rem; color: var(--blue-sky); }

/* Gaps Section */
.system-gaps {
    background-color: var(--navy-mid);
}
.system-gaps .section-title { color: var(--text-white); }
.gap-card {
    position: relative;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 14px;
    padding: 2rem;
}
.gap-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--blue-sky);
    z-index: 0;
    opacity: 0.1;
}
.gap-card h3, .gap-content { position: relative; z-index: 1; }
.gap-card h3 { color: var(--text-white); }
.gap-card p { color: var(--text-light); }
.gap-sub { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-white); }
.fix-box {
    background: rgba(91, 184, 232, 0.06);
    border: 1px solid var(--navy-border);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}
.mini-list { list-style: inside; font-size: 0.9rem; color: var(--text-muted); }
.mini-list li { margin-bottom: 0.25rem; }
.result-box {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--navy-border);
    font-weight: 600;
    color: var(--blue-sky);
}
.micro-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(91, 184, 232, 0.06);
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid var(--navy-border);
}
.micro-data span { color: var(--text-light); }

/* Diagnostic Offer */
.diagnostic {
    background: var(--navy-dark);
}
.offer-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.offer-item {
    display: flex;
    gap: 20px;
    background: rgba(91, 184, 232, 0.04);
    border: 1px solid var(--navy-border);
    padding: 2rem;
    border-radius: 14px;
    transition: border-color 0.3s;
}
.offer-item:hover {
    border-color: rgba(91, 184, 232, 0.3);
}
.offer-icon { font-size: 2rem; }
.offer-title { color: var(--text-white); margin-bottom: 0.5rem; font-size: 1.25rem; }
.offer-list { list-style: disc; margin-left: 20px; margin-top: 0.5rem; color: var(--text-muted); }
.offer-list li { margin-bottom: 0.25rem; }
.example-box {
    background: rgba(91, 184, 232, 0.08);
    border-left: 3px solid var(--blue-sky);
    padding: 10px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    border-radius: 0 8px 8px 0;
}

/* Guarantee */
.guarantee-box h3 { color: var(--text-white); }
.guarantee-box p { color: var(--text-muted); }

/* Timeline */
.how-it-works {
    background-color: var(--navy-dark);
}
.how-it-works .section-title { color: var(--text-white); }
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue-sky), transparent);
}
@media (max-width: 600px) {
    .timeline::before { left: 20px; }
}
.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}
.timeline-time {
    width: 80px;
    text-align: right;
    font-weight: 700;
    color: var(--blue-sky);
    flex-shrink: 0;
    padding-top: 20px;
}
@media (max-width: 600px) {
    .timeline-item { flex-direction: column; gap: 10px; }
    .timeline-time { text-align: left; padding-left: 40px; }
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: 95px;
    top: 25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue-sky);
    border: 3px solid var(--navy-dark);
    box-shadow: 0 0 10px var(--blue-glow);
}
@media (max-width: 600px) {
    .timeline-item::after { left: 15px; }
}
.timeline-content { flex-grow: 1; }
.timeline-content .card { background: var(--navy-card); }
.timeline-content .card p { color: var(--text-light); }
.timeline-goal { color: var(--text-muted); font-style: italic; margin-top: 0.5rem; }
.border-accent { border: 1px solid var(--blue-sky); box-shadow: 0 0 20px var(--blue-glow); }

/* Proof */
.proof {
    background-color: var(--navy-mid);
}
.proof .section-title { color: var(--text-white); }
.proof-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--navy-border);
    transition: transform 0.3s;
}
.shadow-hover:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.grayscale { filter: grayscale(100%); opacity: 0.5; }
.testimonial-card { max-width: 700px; text-align: center; }
.brand-stars { color: #FBBF24; font-size: 1.5rem; }
.testimonial-text { font-size: 1.125rem; font-style: italic; font-weight: 500; color: var(--text-light); }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 15px; }
.author-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-border); }
.author-name { color: var(--text-white); font-weight: 600; }
.author-title { color: var(--text-muted); font-size: 0.875rem; }

/* Qualifications */
.qualifications {
    background: var(--navy-deepest);
}
.qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) { .qual-grid { grid-template-columns: 1fr; } }
.qual-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 14px;
    padding: 2rem;
}
.qual-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }
.qual-header h3 { color: var(--text-white); }
.qual-list { list-style: none; }
.qual-list li { margin-bottom: 1rem; padding-left: 30px; position: relative; color: var(--text-muted); }
.is-for .qual-list li::before { content: '✓'; position: absolute; left: 0; color: #34D399; font-weight: bold; }
.not-for .qual-list li::before { content: '✕'; position: absolute; left: 0; color: #EF4444; font-weight: bold; }

/* FAQ */
.faq {
    background-color: var(--navy-dark);
}
.faq .section-title { color: var(--text-white); }
.accordion-item {
    border: 1px solid var(--navy-border);
    background: var(--navy-card);
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}
.accordion-header {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    transition: background 0.2s;
}
.accordion-header:hover { background: rgba(91, 184, 232, 0.05); }
.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-muted);
}
.accordion-content.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}
.icon-plus { font-size: 1.5rem; font-weight: 400; transition: transform 0.3s; color: var(--blue-sky); }
.active-icon { transform: rotate(45deg); }

/* Final CTA */
.final-cta .subtitle { color: rgba(255,255,255,0.85); }

.alert-box-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #FCD34D;
    padding: 12px;
    border-radius: 10px;
    max-width: 500px;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--navy-deepest);
    border-top: 1px solid var(--navy-border);
}
.footer-logo { height: 30px; opacity: 0.4; transition: opacity 0.3s; }
.footer-logo:hover { opacity: 1; }
.footer p { color: var(--text-dim); }

/* Forms */
.form-card { padding: 3rem; max-width: 800px; margin: 0 auto; }
@media (max-width: 768px) { .form-card { padding: 1.5rem; } }
.form-section-title {
    color: var(--blue-sky);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--navy-border);
}
.form-section-title:first-child { margin-top: 0; }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-white); }
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--navy-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-white);
    background-color: var(--navy-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--blue-sky);
    box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; }
select.form-control { appearance: auto; }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(12, 20, 37, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--navy-mid);
    width: 100%; max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--navy-border);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; font-size: 2.5rem; line-height: 1;
    color: var(--text-muted); cursor: pointer; transition: color 0.2s;
    font-weight: 300;
}
.modal-close:hover { color: var(--blue-sky); }

/* Responsive helpers */
@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero { padding-top: 100px; padding-bottom: 60px; }
    .grid-3 { grid-template-columns: 1fr; }
    .offer-item { flex-direction: column; }
    .trust-indicators { flex-direction: column; align-items: center; }
}
