/* ── Landing Page Styles ─────────────────────────────────────────── */

:root {
    --landing-primary: #4f46e5;
    --landing-primary-dark: #3730a3;
    --landing-primary-light: #818cf8;
    --landing-secondary: #0ea5e9;
    --landing-accent: #f59e0b;
    --landing-dark: #1e1b4b;
    --landing-gradient: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    --landing-gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

/* ── Reset for Landing Pages ─────────────────────────────────────── */
.landing-page {
    padding-top: 0 !important;
}

/* ── Navbar ──────────────────────────────────────────────────────── */
.landing-nav {
    background: rgba(30, 27, 75, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease;
    padding: 0.75rem 0;
}
.landing-nav .navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}
.landing-nav .navbar-brand i {
    color: var(--landing-accent);
}
.landing-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}
.landing-nav .nav-link:hover {
    color: var(--landing-accent) !important;
}
.landing-nav .btn-register {
    background: var(--landing-gradient);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.landing-nav .btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

/* ── Hero Section ────────────────────────────────────────────────── */
.hero-section {
    background: var(--landing-gradient-dark);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    animation: heroGlow 10s ease-in-out 2s infinite alternate;
}
@keyframes heroGlow {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 540px;
}
.hero-cta .btn {
    padding: 0.85rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta .btn:hover {
    transform: translateY(-2px);
}
.hero-cta .btn-primary {
    background: var(--landing-gradient);
    border: none;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}
.hero-cta .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}
.hero-cta .btn-outline-light {
    border-width: 2px;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}
.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--landing-accent);
}
.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero illustration / mockup */
.hero-visual {
    position: relative;
    z-index: 2;
}
.hero-mockup {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.hero-mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1.2rem;
}
.hero-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.hero-mockup-dot:first-child { background: #ef4444; }
.hero-mockup-dot:nth-child(2) { background: #f59e0b; }
.hero-mockup-dot:nth-child(3) { background: #22c55e; }
.hero-mockup-card {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255,255,255,0.06);
}
.hero-mockup-card .badge {
    font-size: 0.7rem;
}
.hero-mockup-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 0.5rem;
}
.hero-mockup-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--landing-gradient);
}

/* ── Trusted-by / Social proof bar ───────────────────────────────── */
.trusted-section {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.trusted-section .text-muted {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Section common styles ───────────────────────────────────────── */
.landing-section {
    padding: 5rem 0;
}
.landing-section-alt {
    background: #f8fafc;
}
.landing-section-dark {
    background: var(--landing-gradient-dark);
    color: #fff;
}
.section-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--landing-primary);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Feature Cards ───────────────────────────────────────────────── */
.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--landing-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
}
.feature-icon-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.feature-icon-blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.feature-icon-green { background: linear-gradient(135deg, #059669, #34d399); }
.feature-icon-orange { background: linear-gradient(135deg, #ea580c, #fb923c); }
.feature-icon-pink { background: linear-gradient(135deg, #db2777, #f472b6); }
.feature-icon-teal { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.feature-icon-indigo { background: linear-gradient(135deg, #4338ca, #818cf8); }
.feature-icon-amber { background: linear-gradient(135deg, #d97706, #fbbf24); }
.feature-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Module detail section ───────────────────────────────────────── */
.module-detail {
    padding: 4rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.module-detail:last-child {
    border-bottom: none;
}
.module-detail-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}
.module-detail h3 {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.module-detail p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}
.module-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.module-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #334155;
}
.module-feature-list li i {
    color: #22c55e;
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Module preview card (fake UI) */
.module-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.module-preview-header {
    background: #1e293b;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.module-preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.module-preview-body {
    padding: 1.25rem;
}
.module-preview-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #475569;
}

/* ── How It Works ────────────────────────────────────────────────── */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--landing-gradient);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
}
.step-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.step-card p {
    color: #64748b;
    font-size: 0.95rem;
}
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.5rem;
}

/* ── Benefit / Value props ───────────────────────────────────────── */
.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.benefit-icon-light {
    background: rgba(255,255,255,0.1);
    color: var(--landing-accent);
}
.benefit-item h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}
.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Testimonials / Quotes ───────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--landing-primary-light);
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    opacity: 0.3;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    padding-top: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--landing-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
}
.testimonial-role {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ── Pricing / CTA Section ───────────────────────────────────────── */
.cta-section {
    background: var(--landing-gradient-dark);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.cta-text {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}
.cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    background: var(--landing-accent);
    border: none;
    color: #1e1b4b;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
    color: #1e1b4b;
}
.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.landing-footer {
    background: #0f0e26;
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 1.5rem;
}
.landing-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.landing-footer a:hover {
    color: var(--landing-accent);
}
.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff !important;
}
.footer-brand i {
    color: var(--landing-accent);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    font-size: 0.9rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* ── Legal pages ─────────────────────────────────────────────────── */
.legal-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
}
.legal-page h1 {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--landing-dark);
}
.legal-page h2 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--landing-dark);
}
.legal-page h3 {
    font-weight: 600;
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-page p, .legal-page li {
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
}
.legal-page ul {
    padding-left: 1.5rem;
}

/* ── Animations (scroll reveal) ──────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive adjustments ──────────────────────────────────────── */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .cta-title { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-value { font-size: 1.5rem; }
}
@media (max-width: 768px) {
    .hero-section { min-height: auto; padding: 6rem 0 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .hero-visual { margin-top: 2rem; }
    .landing-section { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
    .step-connector { display: none; }
    .module-detail { padding: 2.5rem 0; }
}
