/* ==========================================================================
   Homepage design system
   Loads after bootstrap.rtl.min.css + bootstrap-icons — homepage only.
   ========================================================================== */
:root {
    --home-navy: #0f172a;
    --home-navy-2: #1e3a5f;
    --home-blue: #3b82f6;
    --home-blue-light: #60a5fa;
    --home-purple: #a78bfa;
    --home-purple-2: #7c5cff;
    --home-ink: #1e293b;
    --home-muted: #64748b;
    --home-slate: #94a3b8;
    --home-bg: #f8fafc;
    --home-card-border: #eef2f7;
    --home-radius-lg: 20px;
    --home-radius-md: 14px;
}

/* ==========================================================================
   Base reassertions over Bootstrap's reboot (Vazirmatn everywhere on this page)
   ========================================================================== */
body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--home-bg);
    color: #1a202c;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a { color: var(--home-blue); }
a:hover { text-decoration: underline; }
.btn { font-family: inherit; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.home-nav {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.85rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.home-nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    padding: 0.55rem 0;
}
.home-nav.scrolled .home-brand-mark {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
}
.home-nav.scrolled .home-brand {
    font-size: 1.15rem;
}
.home-nav-inner {
    padding-left: 2rem;
    padding-right: 2rem;
}
@media (max-width: 768px) {
    .home-nav-inner {
        padding-left: calc(12px + env(safe-area-inset-left, 0px));
        padding-right: calc(12px + env(safe-area-inset-right, 0px));
    }
}
.home-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
    transition: font-size 0.3s ease;
}
.home-brand:hover {
    color: #fff;
    text-decoration: none;
}
.home-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--home-blue), var(--home-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
    transition: width 0.3s ease, height 0.3s ease, font-size 0.3s ease;
}
.home-nav-links {
    margin: 0;
}
.home-nav-link {
    position: relative;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35rem 0;
    text-decoration: none;
}
.home-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--home-blue-light), var(--home-purple));
    transition: width 0.25s ease;
}
.home-nav-link:hover,
.home-nav-link.active {
    color: #fff;
    text-decoration: none;
}
.home-nav-link:hover::after,
.home-nav-link.active::after {
    width: 100%;
}
.home-nav-actions .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.home-nav-actions .btn:hover {
    transform: translateY(-2px);
}

/* Custom animated hamburger -> X toggle (replaces Bootstrap's default icon) */
.home-nav-toggler {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    box-shadow: none !important;
}
.home-nav-toggler:hover {
    background: rgba(255, 255, 255, 0.06);
}
.home-nav-toggler-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.home-nav-toggler:not(.collapsed) .home-nav-toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.home-nav-toggler:not(.collapsed) .home-nav-toggler-bar:nth-child(2) {
    opacity: 0;
}
.home-nav-toggler:not(.collapsed) .home-nav-toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Smoother mobile collapse — fade alongside Bootstrap's default height animation */
#homeNavContent.collapsing {
    transition: height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
#homeNavContent.show {
    opacity: 1;
    transition: opacity 0.3s ease 0.05s;
}
@media (max-width: 991.98px) {
    #homeNavContent {
        background: rgba(15, 23, 42, 0.98);
        border-radius: 16px;
        margin-top: 0.75rem;
        padding: 1rem 1.25rem 1.25rem;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }
}

/* ==========================================================================
   Buttons — brand primary CTA
   ========================================================================== */
.home-btn-primary {
    background: linear-gradient(135deg, var(--home-blue), var(--home-purple-2));
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.home-btn-primary:hover,
.home-btn-primary:focus {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
    text-decoration: none;
}
.hero-buttons .btn,
.cta-buttons .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.hero-buttons .btn-outline-light:hover,
.cta-buttons .btn-outline-light:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--home-navy) 0%, var(--home-navy-2) 55%, var(--home-navy) 100%);
    padding-top: 76px;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.hero-shape-1 {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, var(--home-blue), transparent 70%);
}
.hero-shape-2 {
    width: 420px;
    height: 420px;
    bottom: -140px;
    left: -80px;
    background: radial-gradient(circle, var(--home-purple), transparent 70%);
    animation: home-float 10s ease-in-out infinite;
}
.hero-shape-3 {
    width: 320px;
    height: 320px;
    top: 42%;
    left: 45%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent 70%);
}
@keyframes home-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
    flex: 1;
}
.hero-content { text-align: right; }
.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}
.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    background: linear-gradient(to right, var(--home-blue-light), var(--home-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
    overflow-wrap: break-word;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--home-slate);
    margin-bottom: 2.25rem;
    line-height: 1.9;
    max-width: 560px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero flashcard mockup illustration */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
}
.mockup-card {
    position: absolute;
    inset: 0;
    border-radius: var(--home-radius-lg);
}
.mockup-card-back {
    background: rgba(167, 139, 250, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(9deg) translateY(6px);
}
.mockup-card-mid {
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(-6deg) translateY(2px);
}
.mockup-card-front {
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}
.mockup-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.mockup-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.mockup-chip-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--home-ink);
    background: var(--home-bg);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
}
.mockup-line {
    height: 12px;
    border-radius: 6px;
    background: #e2e8f0;
    margin-bottom: 0.75rem;
}
.mockup-line-lg { width: 85%; height: 18px; background: #cbd5e1; }
.mockup-line-sm { width: 45%; }
.mockup-line-md { width: 95%; }
.mockup-line-70 { width: 70%; }
.mockup-divider {
    height: 1px;
    background: var(--home-card-border);
    margin: 0.75rem 0 1.1rem;
}
.mockup-progress {
    margin-top: auto;
    height: 8px;
    border-radius: 999px;
    background: var(--home-card-border);
    overflow: hidden;
}
.mockup-progress span {
    display: block;
    width: 62%;
    height: 100%;
    background: linear-gradient(to right, var(--home-blue), var(--home-purple));
    border-radius: 999px;
}
.mockup-float {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.mockup-float-1 {
    top: -14px;
    left: -14px;
    background: #10b981;
    color: #fff;
    animation: home-float 6s ease-in-out infinite;
}
.mockup-float-2 {
    bottom: 6%;
    right: -18px;
    background: #f59e0b;
    color: #fff;
    animation: home-float 7s ease-in-out infinite reverse;
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding-top: 2rem;
    }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-mockup { max-width: 280px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .hero-inner {
        padding: 1.5rem calc(16px + env(safe-area-inset-left, 0px)) 2rem calc(16px + env(safe-area-inset-right, 0px));
    }
    .hero-title { font-size: 2.2rem; letter-spacing: 0.5px; }
    .hero-subtitle { font-size: 1rem; }
}
@media (max-width: 576px) {
    .hero-visual { display: none; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; letter-spacing: 0; }
}

/* Entrance animation */
.home-rise {
    opacity: 0;
    transform: translateY(28px);
    animation: home-rise 0.8s ease forwards;
    animation-delay: var(--home-delay, 0s);
}
@keyframes home-rise {
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .home-rise, .hero-shape-2, .mockup-float-1, .mockup-float-2 {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 32px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    padding: 0;
}
.hero-scroll-indicator:hover {
    border-color: rgba(255, 255, 255, 0.6);
}
.hero-scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 10px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: home-scroll-dot 1.6s ease infinite;
}
@keyframes home-scroll-dot {
    0% { opacity: 1; top: 8px; }
    70% { opacity: 0; top: 28px; }
    100% { opacity: 0; top: 8px; }
}
@media (max-width: 576px) {
    .hero-scroll-indicator { display: none; }
}

/* ==========================================================================
   Shared section heading rhythm
   ========================================================================== */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
    padding: 0 1.5rem;
}
.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--home-ink);
}
.section-subtitle {
    color: var(--home-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
    padding: 6rem 0;
    background: var(--home-bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (max-width: 768px) {
    .features-grid {
        padding-left: calc(16px + env(safe-area-inset-left, 0px));
        padding-right: calc(16px + env(safe-area-inset-right, 0px));
        grid-template-columns: 1fr;
    }
    .section-title { font-size: 1.5rem; }
}
.feature-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--home-card-border);
    border-radius: var(--home-radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s ease, transform 0.6s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}
.feature-index {
    position: absolute;
    top: 1.1rem;
    left: 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 1px;
}
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: var(--home-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--home-ink);
}
.feature-card p {
    color: var(--home-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   About — split panel
   ========================================================================== */
.about-split {
    padding: 6rem 0;
    background: var(--home-ink);
    color: #e2e8f0;
    overflow: hidden;
}
.about-split-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 3rem;
}
.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
}
.about-visual-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px dashed rgba(167, 139, 250, 0.4);
}
.about-visual-ring::before {
    content: '';
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), rgba(167, 139, 250, 0.15) 70%, transparent 100%);
    filter: blur(4px);
}
.about-visual-badge {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--home-blue), var(--home-purple-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.35);
}
.about-copy h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}
.about-copy p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--home-slate);
}
@media (max-width: 900px) {
    .about-split-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-visual { height: 200px; }
}
@media (max-width: 768px) {
    .about-copy h2 { font-size: 1.5rem; }
    .about-split-inner {
        padding-left: calc(16px + env(safe-area-inset-left, 0px));
        padding-right: calc(16px + env(safe-area-inset-right, 0px));
    }
}

/* ==========================================================================
   Stats / counters
   ========================================================================== */
.stats-section {
    padding: 5.5rem 0;
    background: #fff;
}
.stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}
.stat-card {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: var(--home-radius-lg);
    background: var(--home-bg);
    border: 1px solid var(--home-card-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}
.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, var(--home-blue), var(--home-purple-2));
}
.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--home-ink);
    line-height: 1.2;
    direction: ltr;
}
.stat-label {
    color: var(--home-muted);
    font-size: 0.95rem;
    margin-top: 0.35rem;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 1.9rem; }
    .stats-inner {
        padding-left: calc(16px + env(safe-area-inset-left, 0px));
        padding-right: calc(16px + env(safe-area-inset-right, 0px));
    }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ==========================================================================
   How it works — steps
   ========================================================================== */
.steps-section {
    padding: 6rem 0;
    background: var(--home-bg);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--home-card-border);
    border-radius: var(--home-radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}
.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--home-blue), var(--home-purple-2));
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--home-ink);
}
.step-card p {
    color: var(--home-muted);
    font-size: 0.92rem;
}
@media (max-width: 768px) {
    .steps-grid {
        padding-left: calc(16px + env(safe-area-inset-left, 0px));
        padding-right: calc(16px + env(safe-area-inset-right, 0px));
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 6rem 0;
    background: #fff;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.testimonial-card {
    background: var(--home-bg);
    border: 1px solid var(--home-card-border);
    border-radius: var(--home-radius-lg);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testimonial-text {
    color: var(--home-ink);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    min-height: 5.7em;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--home-blue), var(--home-purple));
}
.testimonial-name {
    font-weight: 700;
    color: var(--home-ink);
    font-size: 0.95rem;
}
.testimonial-level {
    color: var(--home-muted);
    font-size: 0.85rem;
}
@media (max-width: 768px) {
    .testimonials-grid {
        padding-left: calc(16px + env(safe-area-inset-left, 0px));
        padding-right: calc(16px + env(safe-area-inset-right, 0px));
    }
    .testimonial-text { min-height: 0; }
}

/* ==========================================================================
   Closing CTA banner
   ========================================================================== */
.cta-banner {
    position: relative;
    padding: 5.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--home-navy) 0%, var(--home-navy-2) 55%, var(--home-navy) 100%);
    color: #fff;
    overflow: hidden;
}
.cta-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 92, 255, 0.25), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.cta-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--home-blue-light), var(--home-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-text {
    color: var(--home-slate);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .cta-title { font-size: 1.75rem; }
}

/* ==========================================================================
   Scroll reveal (shared by features / about / cta)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Footer (home-only — components/home-footer.blade.php)
   ========================================================================== */
.home-footer {
    background: var(--home-navy);
    color: #cbd5e1;
    position: relative;
}
.home-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(to right, var(--home-blue), var(--home-purple));
}
.home-footer-top {
    padding: 4rem 1.5rem 2.5rem;
}
.home-footer-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-brand-col .home-brand {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}
.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--home-slate);
    max-width: 320px;
    margin-bottom: 1.25rem;
}
.footer-social {
    display: flex;
    gap: 0.6rem;
}
.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
    background: linear-gradient(135deg, var(--home-blue), var(--home-purple-2));
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}
.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.65rem;
}
.footer-links a {
    color: var(--home-slate);
    font-size: 0.92rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}
.home-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.4rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--home-slate);
}
@media (max-width: 900px) {
    .home-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}
@media (max-width: 576px) {
    .home-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-desc { margin-left: auto; margin-right: auto; }
    .footer-social { justify-content: center; }
    .home-footer-top {
        padding-left: calc(16px + env(safe-area-inset-left, 0px));
        padding-right: calc(16px + env(safe-area-inset-right, 0px));
    }
}
