/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F65E5E;
    --secondary-color: #F65E5E;
    --accent-color: #F65E5E;
    --brand-red: #F65E5E;
    --brand-red-dark: #D64545;
    --brand-red-muted: #A84848;
    --brand-red-soft: #FFF5F5;
    --text-dark: #6B1A1A;
    --text-light: #7A3030;
    --text-body: #5C2020;
    --text-heading: #6B1A1A;
    --bg-light: #FFF5F5;
    --white: #ffffff;
    --black: #F65E5E;
    --red: #F65E5E;
    --shadow: 0 4px 20px rgba(246, 94, 94, 0.12);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);

    /* Red & white theme */
    --bg-deep: #FFFFFF;
    --bg-surface: #FFF8F8;
    --bg-elevated: #FFFFFF;
    --bg-glass: #FFFFFF;
    --border-subtle: rgba(246, 94, 94, 0.14);
    --border-glow: rgba(246, 94, 94, 0.35);
    --text-primary: #6B1A1A;
    --text-muted: #7A3030;
    --text-dim: #8B4545;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-glow: 0 8px 40px rgba(246, 94, 94, 0.12);

    /* Logo — fixed brand colors (never change on scroll/transition) */
    --logo-nav-color: #F65E5E;
    --logo-footer-color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display), var(--font-body), sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ========== SITE-WIDE DARK THEME ========== */
.site-page,
.home-page {
    background: var(--bg-deep);
    color: var(--text-primary);
}

.site-page .grain,
.home-page .grain {
    display: none;
}

.home-page .grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(246, 94, 94, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 94, 94, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

/* Page enter / exit — white overlay sits BELOW navbar so logo stays visible */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: #FFFFFF;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s var(--ease-smooth);
}

.page-transition.is-leaving {
    opacity: 1;
    pointer-events: all;
}

/* Navbar stays above page transition — logo never dimmed */
.navbar,
.navbar-dark {
    isolation: isolate;
}

.page-content {
    animation: contentEnter 0.5s var(--ease-out) both;
    position: relative;
    z-index: 1;
}

@keyframes contentEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.is-loaded .page-content {
    /* legacy hook — animation handles enter */
}

/* Inner page sections — dark theme */
.site-page .page-header {
    background: var(--white);
    padding: 140px 0 72px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.site-page .page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--brand-red);
    position: relative;
}

.site-page .page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
}

.site-page .section-title {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
}

.site-page .section-subtitle {
    color: var(--text-muted);
}

.site-page .about-content,
.site-page .why-choose,
.site-page .team,
.site-page .timeline,
.site-page .services-overview,
.site-page .currency-pairs,
.site-page .process,
.site-page .contact-section,
.site-page .map-section,
.site-page .faq-section,
.site-page .blog-content,
.site-page .blog-submission-section,
.site-page .review-process,
.site-page .blog-post-content,
.site-page .newsletter-content {
    background: transparent;
}

.site-page .about-card,
.site-page .why-item,
.site-page .team-member,
.site-page .service-card,
.site-page .pair-card,
.site-page .timeline-desc,
.site-page .contact-form-container,
.site-page .contact-info-card,
.site-page .faq-item,
.site-page .blog-post-card,
.site-page .featured-post,
.site-page .sidebar-widget,
.site-page .submission-form-container,
.site-page .info-card,
.site-page .stat-card,
.site-page .submission-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}

.site-page .about-card h3,
.site-page .why-item h3,
.site-page .team-member h3,
.site-page .service-card h3,
.site-page .contact-form-container h2,
.site-page .contact-info-container h2,
.site-page .faq-question h3 {
    color: var(--text-primary);
}

.site-page .intro-text,
.site-page .about-card p,
.site-page .why-item p,
.site-page .member-bio,
.site-page .service-card > p,
.site-page .timeline-desc p,
.site-page .contact-form-container > p,
.site-page .info-content p,
.site-page .faq-answer p {
    color: var(--text-muted);
}

.site-page .why-choose,
.site-page .timeline,
.site-page .currency-pairs,
.site-page .map-section,
.site-page .review-process {
    background: var(--bg-surface);
}

.site-page .team-member,
.site-page .about-card {
    background: var(--bg-surface);
}

.site-page .member-role,
.site-page .why-number,
.site-page .about-icon,
.site-page .service-icon,
.site-page .info-icon {
    color: var(--accent-color);
}

.site-page .timeline-year {
    color: var(--accent-color);
    font-family: var(--font-mono);
}

.site-page .cta {
    background: transparent;
    padding: 80px 0;
}

.site-page .cta .container {
    text-align: center;
    max-width: 640px;
    padding: 3.5rem 2rem;
    background: var(--brand-red-soft);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
}

.site-page .btn-primary {
    background: var(--brand-red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.site-page .btn-primary:hover {
    background: var(--brand-red-dark);
    box-shadow: 0 8px 32px rgba(246, 94, 94, 0.25);
    transform: translateY(-2px);
}

.site-page .form-group label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.site-page .form-group input,
.site-page .form-group select,
.site-page .form-group textarea {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.site-page .form-group input:focus,
.site-page .form-group select:focus,
.site-page .form-group textarea:focus {
    border-color: var(--border-glow);
    box-shadow: 0 0 0 3px rgba(246, 94, 94, 0.12);
    outline: none;
}

.site-page .disclosure-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--secondary-color);
}

.site-page .disclosure-box p {
    color: var(--text-muted);
}

.site-page .blog-post-header,
.site-page .newsletter-header,
.site-page .admin-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--brand-red);
}

.site-page .blog-post-header h1,
.site-page .blog-post-header .breadcrumb a,
.site-page .newsletter-header h1,
.site-page .admin-header h1 {
    color: var(--brand-red);
}

.site-page .blog-post-header .breadcrumb span {
    color: var(--text-muted);
}

.site-page .risk-disclosure {
    background: var(--bg-surface);
}

/* ========== HOME PAGE — QUANT TERMINAL THEME ========== */
.home-page {
    background: var(--bg-deep);
    color: var(--text-primary);
}

.home-page .grain {
    display: none;
}

.home-page .grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(246, 94, 94, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 94, 94, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

.site-page .cta h2 {
    font-family: var(--font-display);
    color: var(--text-primary);
}

.site-page .cta p {
    color: var(--text-muted);
}

/* ========== LOGO — original PNG, stable on scroll & transitions ========== */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 100px;
    width: auto;
    max-width: 200px;
    display: block;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.footer-dark .footer-col > img {
    margin-bottom: 1rem;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
}

/* ========== NAVBAR — solid white, logo always on top ========== */
.navbar-dark {
    background: #FFFFFF !important;
    box-shadow: none;
    border-bottom: 1px solid var(--border-subtle);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10001;
    transition: box-shadow 0.35s var(--ease-smooth);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar-dark.scrolled {
    background: #FFFFFF !important;
    box-shadow: 0 4px 24px rgba(246, 94, 94, 0.1);
    border-bottom-color: rgba(246, 94, 94, 0.2);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar-dark .nav-menu a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.navbar-dark .nav-menu a:hover,
.navbar-dark .nav-menu a.active {
    color: var(--brand-red);
}

.navbar-dark .nav-menu a::after {
    background: var(--brand-red);
}

.navbar-dark .hamburger span {
    background: var(--brand-red);
}

.nav-cta {
    padding: 0.55rem 1.25rem !important;
    background: var(--brand-red) !important;
    border: 1px solid var(--brand-red) !important;
    border-radius: 100px !important;
    color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--brand-red-dark) !important;
    border-color: var(--brand-red-dark) !important;
    color: var(--white) !important;
}

/* Hero quant */
.hero-quant {
    background: transparent;
    padding: 140px 0 80px;
    text-align: left;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-quant::before { display: none; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    background: var(--brand-red-soft);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--brand-red);
    letter-spacing: 0.04em;
    margin-bottom: 1.75rem;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--brand-red);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(246, 94, 94, 0.45); }
    50% { opacity: 1; box-shadow: 0 0 0 6px rgba(246, 94, 94, 0); }
}

.hero-quant .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--text-heading);
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-red) 0%, #FF8A8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-quant .hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-metrics {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-metric .metric-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-metric .metric-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-metric .metric-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-quant .hero-buttons {
    justify-content: flex-start;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.home-page .btn-primary {
    background: var(--brand-red);
    color: var(--white);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.home-page .btn-primary:hover {
    background: var(--brand-red-dark);
    box-shadow: 0 8px 32px rgba(246, 94, 94, 0.25);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--brand-red);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--brand-red);
    background: var(--brand-red-soft);
    color: var(--brand-red-dark);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Terminal card */
.terminal-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow), 0 16px 48px rgba(246, 94, 94, 0.08);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: var(--brand-red-soft);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-dim);
}

.terminal-dots span:nth-child(1) { background: var(--brand-red); }
.terminal-dots span:nth-child(2) { background: #FF8A8A; }
.terminal-dots span:nth-child(3) { background: #FFFFFF; border: 1px solid var(--border-subtle); }

.terminal-title {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.terminal-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--brand-red);
    letter-spacing: 0.06em;
}

.terminal-status i {
    font-size: 0.45rem;
    margin-right: 4px;
    animation: pulse 2s ease infinite;
}

#equityChart {
    width: 100%;
    height: 220px;
    display: block;
}

.terminal-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-subtle);
}

.terminal-stat {
    background: var(--bg-surface);
    padding: 0.85rem 1rem;
    text-align: center;
}

.terminal-stat .label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.terminal-stat .value {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
}

.terminal-stat .value.positive { color: var(--brand-red); }
.terminal-stat .value.negative { color: #FF8A8A; }

/* Ticker */
.ticker-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--brand-red-soft);
    padding: 0.75rem 0;
}

.ticker {
    display: flex;
    gap: 3rem;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ticker strong {
    margin-left: 0.5rem;
    font-weight: 600;
}

.ticker .up { color: var(--brand-red); }
.ticker .down { color: #FF8A8A; }

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section shared */
.section-dark {
    padding: 100px 0;
    position: relative;
}

.section-head {
    max-width: 640px;
    margin-bottom: 3.5rem;
}

.section-head.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.home-page .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: left;
}

.section-head.centered .section-title {
    text-align: center;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Bento grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.bento-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--brand-red-soft);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.code-snippet {
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    background: var(--brand-red-soft);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand-red);
}

.code-snippet code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--brand-red);
}

/* Stats quant */
.stats-quant {
    background: var(--brand-red);
    border-top: none;
    border-bottom: none;
    padding: 80px 0;
    color: var(--white);
}

.stats-quant .stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.stats-quant .stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Pipeline */
.process-quant {
    padding: 100px 0;
}

.pipeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 3rem;
}

.pipeline-step {
    flex: 1;
    padding: 1.5rem;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.pipeline-step h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pipeline-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.pipeline-connector {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--border-glow), transparent);
    margin-top: 2.5rem;
    flex-shrink: 0;
}

/* Plans quant */
.plans-quant {
    padding: 100px 0;
    background: var(--bg-surface);
}

.plan-glass {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
}

.plan-glass:hover {
    border-color: var(--border-glow) !important;
    box-shadow: var(--shadow-glow) !important;
}

.plan-glass.featured {
    border-color: var(--border-glow) !important;
    transform: none !important;
    background: var(--brand-red-soft) !important;
}

.plan-badge {
    background: var(--brand-red) !important;
    color: var(--white) !important;
    font-family: var(--font-mono);
    font-size: 0.72rem !important;
    letter-spacing: 0.05em;
}

.plan-glass .plan-header h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
}

.plan-glass .amount {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.plan-glass .currency {
    color: var(--brand-red);
}

.plan-glass .period {
    color: var(--text-dim);
}

.plan-glass .plan-features li {
    color: var(--text-muted);
    border-bottom-color: var(--border-subtle) !important;
}

.plan-glass .plan-features i {
    color: var(--brand-red);
}

.home-page .btn-outline {
    border-color: var(--border-glow);
    color: var(--brand-red);
    border-radius: var(--radius-sm);
}

.home-page .btn-outline:hover {
    background: var(--brand-red-soft);
    border-color: var(--brand-red);
    color: var(--brand-red-dark);
}

/* CTA quant */
.cta-quant {
    padding: 100px 0;
    background: transparent;
}

.cta-quant h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-quant p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--brand-red-soft);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
}

/* Footer — red background, white logo & text */
.footer-dark {
    background: var(--brand-red);
    border-top: none;
    padding: 60px 0 24px;
}

.footer-dark p,
.footer-dark .footer-col ul li a,
.footer-dark .contact-info li {
    color: rgba(255, 255, 255, 0.88);
}

.footer-dark .footer-col h4 {
    color: var(--white);
    font-family: var(--font-display);
}

.footer-dark .footer-col ul li a:hover {
    color: var(--white);
}

.footer-dark .social-links a {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.footer-dark .social-links a:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--brand-red);
}

.footer-dark .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.footer-dark .footer-bottom p,
.footer-dark .footer-links a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-dark .footer-links a:hover {
    color: var(--white);
}

.footer-dark .contact-info i {
    color: var(--white);
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.6;
}

/* Home responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual { order: -1; }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .pipeline {
        flex-direction: column;
    }

    .pipeline-connector {
        width: 1px;
        height: 24px;
        margin: 0 auto;
        background: linear-gradient(180deg, var(--border-glow), transparent);
    }
}

@media (max-width: 768px) {
    .hero-quant {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .terminal-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar-dark .nav-menu {
        background: #FFFFFF !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-top: 1px solid var(--border-subtle);
    }

    .navbar-dark .nav-menu a {
        color: var(--text-muted);
    }

    .cta-inner {
        padding: 2.5rem 1.5rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10001;
    transition: box-shadow 0.35s var(--ease-smooth);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo Image Support — see .logo img block above for nav sizing */

.logo svg {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.logo-sutra {
    color: var(--secondary-color);
    font-size: 0.6em;
    margin-top: 0.2em;
    letter-spacing: 3px;
    font-weight: 400;
}

/* Custom stylized E for WAVE logo */
.wave-e {
    position: relative;
    display: inline-block;
    width: 0.6em;
    height: 1em;
}

.wave-e::before,
.wave-e::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.15em;
    background-color: var(--primary-color);
}

.wave-e::before {
    top: 0;
}

.wave-e::after {
    bottom: 0;
}

.wave-e-middle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.15em;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    transition: color 0.25s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s var(--ease-smooth);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    gap: 0;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: transform 0.3s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    color: var(--text-body);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.hero .hero-title {
    color: var(--text-heading);
}

.hero .hero-subtitle,
.hero .hero-location {
    color: var(--text-muted);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ffffff" opacity="0.1"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-location {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-location i {
    margin-right: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d43d3d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(246, 94, 94, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-red);
    border: 2px solid var(--brand-red);
}

.btn-secondary:hover {
    background: var(--brand-red);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-card,
.plan-card,
.service-card,
.about-card,
.why-item,
.bento-card {
    transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--brand-red);
    color: var(--white);
}

.stats .stat-number,
.stats .stat-item p {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Plans Section */
.plans {
    padding: 80px 0;
    background: var(--bg-light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.plan-card.featured {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    align-self: flex-end;
    margin-bottom: 8px;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--brand-red);
    color: var(--white);
    text-align: center;
}

.cta > .container > h2,
.cta > .container > p {
    color: var(--white);
}

.site-page .cta {
    background: transparent;
    color: var(--text-body);
}

.site-page .cta > .container > h2 {
    color: var(--text-heading);
}

.site-page .cta > .container > p {
    color: var(--text-muted);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--brand-red);
    border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--brand-red);
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-muted);
}

/* About Content */
.about-content {
    padding: 80px 0;
}

.about-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
}

.about-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.why-item:hover {
    transform: translateX(10px);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.why-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Team Section */
.team {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 50%, #F65E5E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.member-image i {
    font-size: 4rem;
    color: var(--white);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Timeline Section */
.timeline {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline-content {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-year {
    flex: 1;
    text-align: right;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.timeline-desc {
    flex: 1;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-desc h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-desc p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Services Section */
.services-overview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.service-features i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Currency Pairs */
.currency-pairs {
    padding: 80px 0;
    background: var(--bg-light);
}

.pairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.pair-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.pair-card:hover {
    transform: scale(1.05);
}

.pair-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pair-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pair-tag {
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pairs-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* Process Section */
.process {
    padding: 80px 0;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.process-arrow {
    color: var(--secondary-color);
    font-size: 2rem;
}

/* Risk Disclosure */
.risk-disclosure {
    padding: 60px 0;
    background: #f8f8f8;
}

.disclosure-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
}

.disclosure-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclosure-box p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-form-container > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    margin-top: 5px;
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.95rem;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: #f0f8f0;
    color: var(--brand-red);
    border: 1px solid var(--secondary-color);
    display: block;
}

.form-message.error {
    background: #f8f0f0;
    color: var(--brand-red);
    border: 1px solid var(--secondary-color);
    display: block;
}

.contact-info-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.info-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.social-connect {
    margin-top: 3rem;
}

.social-connect h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-links-large {
    display: flex;
    gap: 1rem;
}

.social-links-large a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links-large a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--brand-red);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.contact-info i {
    margin-top: 3px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 72px;
        flex-direction: column;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), visibility 0.35s;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
        padding: 1.5rem 0 2rem;
        border-bottom: 1px solid var(--border-subtle);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        gap: 0.25rem;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: all;
    }

    .site-page .nav-menu,
    .home-page .nav-menu {
        background: var(--bg-glass);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .timeline-content::before {
        left: 0;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .stats-grid,
    .features-grid,
    .plans-grid,
    .services-grid,
    .pairs-grid,
    .why-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.feature-icon,
.service-icon {
    animation: float 3s ease-in-out infinite;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-page .fade-in,
.home-page .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.site-page .fade-in.visible,
.home-page .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Styles */
.blog-content {
    padding: 80px 0;
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-main {
    min-height: 100vh;
}

/* Featured Post */
.featured-post {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    transition: var(--transition);
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-category {
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.featured-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.featured-content h2 a:hover {
    color: var(--secondary-color);
}

.featured-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 50%, #F65E5E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Blog Posts Grid */
.blog-posts h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.post-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.post-content h4 a:hover {
    color: var(--secondary-color);
}

.post-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-content .post-author {
    margin-top: 1rem;
}

.post-content .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.submit-post-widget {
    background: var(--brand-red);
    color: var(--white);
    text-align: center;
}

.submit-post-widget h3 {
    color: var(--white);
}

.submit-post-widget p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.92);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.category-list i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.category-list span {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    border-bottom: none;
}

.popular-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-content h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.popular-content h5 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.popular-content h5 a:hover {
    color: var(--secondary-color);
}

.popular-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--bg-light);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Blog Submission Form */
.blog-submission-section {
    padding: 80px 0;
}

.submission-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.submission-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.info-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.submission-guidelines {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.submission-guidelines h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.submission-guidelines ul {
    list-style: none;
}

.submission-guidelines li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.submission-guidelines i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.submission-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.submission-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.blog-submission-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Review Process */
.review-process {
    padding: 80px 0;
    background: var(--bg-light);
}

.review-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Admin Panel Styles */
.admin-header {
    background: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-subtle);
}

.admin-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.admin-dashboard {
    padding: 80px 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: var(--text-light);
    font-weight: 500;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.tab-btn:hover {
    color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.submission-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.submission-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.submission-card.pending {
    border-left: 4px solid var(--secondary-color);
}

.submission-card.approved {
    border-left: 4px solid var(--brand-red);
}

.submission-card.rejected {
    border-left: 4px solid #666666;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.submission-meta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.submission-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.submission-details span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.submission-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-success {
    background: var(--brand-red);
    color: var(--white);
}

.btn-success:hover {
    background: #333333;
}

.btn-danger {
    background: #666666;
    color: var(--white);
}

.btn-danger:hover {
    background: #444444;
}

.btn-warning {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-warning:hover {
    background: #d43d3d;
}

.submission-excerpt {
    margin-bottom: 1rem;
}

.submission-excerpt p {
    color: var(--text-light);
    line-height: 1.7;
}

.submission-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.submission-stats span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.submission-stats i {
    margin-right: 0.3rem;
    color: var(--accent-color);
}

/* Newsletter Queue */
.newsletter-queue {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.newsletter-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.newsletter-posts {
    margin-bottom: 2rem;
}

.newsletter-posts h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.newsletter-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.newsletter-post-item:last-child {
    border-bottom: none;
}

.post-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.post-checkbox label {
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.newsletter-settings {
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.newsletter-settings h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-body {
    padding: 2rem;
}

.preview-post h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.preview-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.preview-meta span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.preview-content {
    line-height: 1.8;
    color: var(--text-dark);
}

.preview-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.preview-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.preview-content li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Blog Post Page Styles */
.blog-post-header {
    background: var(--white);
    padding: 150px 0 80px;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--brand-red);
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-dim);
}

.post-header-content {
    max-width: 800px;
}

.post-header-content h1 {
    font-size: 3rem;
    margin: 1.5rem 0;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-heading);
}

.post-featured-image {
    padding: 0;
}

.post-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-post-content {
    padding: 80px 0;
}

.post-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.post-main {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.post-content {
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
}

.post-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.post-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.post-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.post-tags {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-tags span {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 1rem;
}

.post-share {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-share span {
    font-weight: 600;
    color: var(--primary-color);
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn.facebook {
    background: var(--secondary-color);
    color: var(--white);
}

.share-btn.twitter {
    background: var(--secondary-color);
    color: var(--white);
}

.share-btn.linkedin {
    background: var(--secondary-color);
    color: var(--white);
}

.share-btn.copy {
    background: var(--text-light);
    color: var(--white);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Author Bio */
.author-bio {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.author-bio-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 50%, #F65E5E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.author-bio-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.author-bio-text p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.author-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.author-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-post:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-content h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-content h4 a:hover {
    color: var(--secondary-color);
}

.related-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Post Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Table of Contents */
.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 0.8rem;
}

.toc-list a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: var(--transition);
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.toc-list a:hover {
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 1.5rem;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .submission-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header-content h1 {
        font-size: 2rem;
    }
    
    .post-main {
        padding: 2rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .author-bio-content {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .submission-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .submission-actions {
        justify-content: flex-start;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

/* Newsletter Styles */
.newsletter-header {
    background: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-subtle);
}

.newsletter-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-heading);
}

.newsletter-header p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.newsletter-date {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 500;
}

.newsletter-content {
    padding: 80px 0;
}

.newsletter-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-intro {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    text-align: center;
}

.newsletter-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.newsletter-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.newsletter-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.newsletter-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.newsletter-section h3 i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.newsletter-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.newsletter-post {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.newsletter-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.newsletter-post.featured {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(246, 94, 94, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.newsletter-post .post-image {
    width: 200px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.newsletter-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.newsletter-post:hover .post-image img {
    transform: scale(1.05);
}

.newsletter-post .post-content {
    flex: 1;
}

.newsletter-post .post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.newsletter-post .category {
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.newsletter-post .author {
    color: var(--text-light);
    font-size: 0.9rem;
}

.newsletter-post h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.newsletter-post h4 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.newsletter-post h4 a:hover {
    color: var(--secondary-color);
}

.newsletter-post p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
    gap: 1rem;
}

/* Market Update */
.market-update {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.market-summary h4,
.market-outlook h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.market-summary ul {
    list-style: none;
}

.market-summary li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.market-summary li:last-child {
    border-bottom: none;
}

.market-outlook p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Trading Tip */
.trading-tip {
    background: var(--brand-red);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.tip-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.tip-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.tip-author {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 5px;
    font-style: italic;
    color: var(--white);
}

/* Community Spotlight */
.community-spotlight {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.spotlight-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.spotlight-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-style: italic;
}

.spotlight-author {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Upcoming Events */
.upcoming-events {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.event-date {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.event-details p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.event-link:hover {
    color: var(--primary-color);
}

/* Newsletter Footer */
.newsletter-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.newsletter-footer .social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.newsletter-footer .social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.newsletter-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Newsletter */
@media (max-width: 768px) {
    .newsletter-header h1 {
        font-size: 2rem;
    }
    
    .newsletter-intro,
    .newsletter-section {
        padding: 2rem;
    }
    
    .newsletter-post {
        flex-direction: column;
    }
    
    .newsletter-post .post-image {
        width: 100%;
        height: 200px;
    }
    
    .market-update {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== CONTRAST — dark readable text on white / light backgrounds ========== */
.site-page,
.home-page {
    color: var(--text-body);
}

.site-page h1,
.site-page h2,
.site-page h3,
.site-page h4,
.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.feature-card h3,
.plan-card h3,
.service-card h3,
.about-card h3,
.why-item h3,
.bento-card h3,
.section-title,
.post-content h2,
.post-content h3,
.post-content h4,
.sidebar-widget h3,
.modal-header h3 {
    color: var(--text-heading);
}

.site-page p,
.feature-card p,
.plan-features li,
.service-card > p,
.about-card p,
.why-item p,
.bento-card p,
.section-desc,
.section-subtitle,
.intro-text,
.member-bio,
.post-content p,
.post-content li,
.checkbox-group label,
.form-help {
    color: var(--text-muted);
}

.home-page .cta-quant h2,
.cta-inner h2 {
    color: var(--text-heading);
}

.home-page .cta-quant p,
.cta-inner p {
    color: var(--text-muted);
}

.site-page .cta .container h2 {
    color: var(--text-heading);
}

.site-page .cta .container p {
    color: var(--text-muted);
}

.plan-glass .period,
.hero-metric .metric-label {
    color: var(--text-muted);
}

