/* ============================================
   12 Stars Edu App - Public Landing Page
   Premium UI aligned with login & Nexus dashboards
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --landing-brand-gradient: linear-gradient(135deg, #0749ed 0%, #09baef 100%);
    --landing-primary: #0749ed;
    --landing-primary-dark: #09baef;
    --landing-primary-deeper: #0539bd;
    --landing-primary-light: #e8f6fd;
    --landing-accent: #09baef;
    --landing-success: #10b981;
    --landing-warning: #f59e0b;
    --landing-danger: #ef4444;
    --landing-purple: #6366f1;

    --landing-bg: #f8fafc;
    --landing-surface: #ffffff;
    --landing-text: #0f172a;
    --landing-text-muted: #64748b;
    --landing-border: #e2e8f0;

    --landing-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --landing-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --landing-shadow-lg: 0 20px 50px rgba(7, 73, 237, 0.18);
    --landing-shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
    --landing-shadow-preview: 0 25px 60px rgba(15, 23, 42, 0.2);

    --landing-radius: 20px;
    --landing-radius-sm: 14px;
    --landing-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.landing-page {
    min-height: 100vh;
    font-family: var(--landing-font);
    background: var(--landing-bg);
    color: var(--landing-text);
    position: relative;
    overflow-x: hidden;
}

.landing-page a {
    text-decoration: none;
}

/* Tabler icons base (page uses EmptyLayout — stylesheet loaded in Home.razor) */
.landing-page .ti {
    font-family: "tabler-icons" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing-btn i {
    font-size: 1.125rem;
    line-height: 1;
}

.hero-badge i,
.hero-floating-badge i,
.cta-icon i {
    line-height: 1;
}

/* Ambient backdrop */
.landing-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.landing-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(7, 73, 237, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 186, 239, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
}

.landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.landing-orb-1 {
    width: 480px;
    height: 480px;
    background: #60a5fa;
    top: -120px;
    right: -80px;
    animation: orbFloat 18s ease-in-out infinite;
}

.landing-orb-2 {
    width: 360px;
    height: 360px;
    background: #67e8f9;
    bottom: 20%;
    left: -100px;
    animation: orbFloat 22s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

/* Header */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.landing-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.landing-brand {
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.landing-brand:hover {
    opacity: 0.88;
}

.landing-brand-logo {
    width: auto;
    height: 40px;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.landing-brand img {
    width: auto;
    height: 65px;
    max-width: 220px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-nav-link {
    color: var(--landing-text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.landing-nav-link i {
    font-size: 1rem;
    line-height: 1;
}

.landing-nav-link:hover {
    color: var(--landing-primary);
    background: var(--landing-primary-light);
}

/* Buttons */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.landing-btn:hover {
    transform: translateY(-2px);
}

.landing-btn-sm {
    padding: 10px 18px;
    font-size: 0.875rem;
    border-radius: 10px;
}

.landing-btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.landing-btn-primary {
    background: var(--landing-brand-gradient);
    color: #fff;
    
}

.landing-btn-primary:hover {
    box-shadow: 0 8px 28px rgba(9, 186, 239, 0.45);
    color: #fff;
}

.landing-btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.landing-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.landing-btn-cta {
    background: #fff;
    color: var(--landing-primary);
    padding: 14px 32px;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

.landing-btn-cta:hover {
    background: #f8fafc;
    color: var(--landing-primary-deeper);
    box-shadow: 0 12px 36px rgba(7, 73, 237, 0.2);
}

/* Hero */
.hero-section {
    background: var(--landing-brand-gradient);
    color: #fff;
    padding: 72px 28px 100px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 100%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--landing-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    font-size: 1rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
}

.hero-highlight {
    display: block;
    background: linear-gradient(90deg, #ffffff 0%, #bae6fd 55%, #7dd3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 32px;
    max-width: 520px;
    color: #e0f7ff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--landing-radius-sm);
    backdrop-filter: blur(12px);
    max-width: fit-content;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat-icon {
    font-size: 1.375rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.hero-stat strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-stat span {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
}

/* Hero visual / preview card */
.hero-visual {
    position: relative;
}

.hero-preview-card {
    background: var(--landing-surface);
    border-radius: var(--landing-radius);
    box-shadow: var(--landing-shadow-preview);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: previewFloat 6s ease-in-out infinite;
}

@keyframes previewFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--landing-border);
}

.hero-preview-dots {
    display: flex;
    gap: 6px;
}

.hero-preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.hero-preview-dots span:nth-child(1) { background: #fca5a5; }
.hero-preview-dots span:nth-child(2) { background: #fde047; }
.hero-preview-dots span:nth-child(3) { background: #86efac; }

.hero-preview-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--landing-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-preview-title i {
    font-size: 1rem;
    color: var(--landing-primary);
}

.hero-preview-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-preview-metric {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--landing-border);
}

.hero-preview-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-primary-light);
    color: var(--landing-primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.hero-preview-metric-icon.success {
    background: #d1fae5;
    color: var(--landing-success);
}

.hero-preview-metric-icon.warning {
    background: #fef3c7;
    color: var(--landing-warning);
}

.hero-preview-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--landing-text-muted);
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-preview-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--landing-text);
    margin: 0;
}

.hero-preview-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 72px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid var(--landing-border);
    margin-top: 4px;
}

.hero-preview-bar {
    flex: 1;
    height: var(--h);
    background: var(--landing-brand-gradient);
    border-radius: 6px 6px 2px 2px;
    opacity: 0.85;
    animation: barPulse 3s ease-in-out infinite;
}

.hero-preview-bar:nth-child(2) { animation-delay: 0.2s; opacity: 0.95; }
.hero-preview-bar:nth-child(3) { animation-delay: 0.4s; }
.hero-preview-bar:nth-child(4) { animation-delay: 0.6s; opacity: 1; }
.hero-preview-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes barPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.hero-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--landing-surface);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--landing-text);
    box-shadow: var(--landing-shadow-md);
    border: 1px solid var(--landing-border);
    animation: badgeFloat 5s ease-in-out infinite;
}

.hero-floating-badge i {
    color: var(--landing-primary);
    font-size: 1.125rem;
}

.badge-security {
    top: -12px;
    left: -16px;
}

.badge-cloud {
    bottom: 24px;
    right: -12px;
    animation-delay: 1.5s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Sections */
.landing-section {
    padding: 96px 28px;
    position: relative;
    z-index: 1;
}

.landing-section-alt {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
}

.landing-container {
    max-width: 1180px;
    margin: 0 auto;
}

.landing-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--landing-primary-light);
    color: var(--landing-primary-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-eyebrow i {
    font-size: 0.875rem;
    line-height: 1;
}

.landing-section-header h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    color: var(--landing-text);
}

.landing-section-header p {
    color: var(--landing-text-muted);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Feature cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius);
    padding: 32px 28px;
    text-align: left;
    box-shadow: var(--landing-shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
   
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--landing-brand-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--landing-shadow-lg);
    border-color: rgba(7, 73, 237, 0.22);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-icon i {
    line-height: 1;
}

.feature-icon.primary {
    background: linear-gradient(135deg, #e8f6fd 0%, #d0effc 100%);
    color: var(--landing-primary);
}

.feature-icon.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--landing-success);
}

.feature-icon.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--landing-warning);
}

.feature-icon.info {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: var(--landing-accent);
}

.feature-icon.purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: var(--landing-purple);
}

.feature-icon.danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: var(--landing-danger);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--landing-text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

/* Roles grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--landing-bg);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-sm);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: default;
}

.role-card:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 73, 237, 0.3);
    background: var(--landing-primary-light);
    box-shadow: var(--landing-shadow-md);
}

.role-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0864f7;
    color: #fff;
    font-size: 1.375rem;
    
}

.role-card span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--landing-text);
    text-align: center;
}

.role-card-icon i {
    line-height: 1;
}

#benefits.landing-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ecfeff 50%, #f8fafc 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 36px 32px;
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius);
    box-shadow: var(--landing-shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--landing-shadow-md);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-primary-light);
    color: var(--landing-primary);
    font-size: 1.375rem;
    margin-bottom: 16px;
}

.benefit-icon i {
    line-height: 1;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--landing-brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.benefit-card p {
    color: var(--landing-text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

/* CTA */
.cta-section {
    position: relative;
    background: var(--landing-brand-gradient);
    color: #fff;
    padding: 88px 28px;
    text-align: center;
    overflow: hidden;
}

.cta-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    font-size: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-section h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.cta-section p {
    font-size: 1.0625rem;
    opacity: 0.92;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.65;
    color: #e0f7ff;
}

/* Footer */
.landing-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 28px;
    position: relative;
    z-index: 1;
}

.landing-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-footer-brand img,
.landing-footer-logo {
    width: auto;
    height: 36px;
    max-width: 180px;
    border-radius: 0;
    object-fit: contain;
}

.landing-footer-brand > div > span {
    display: block;
    color: #f1f5f9;
    font-weight: 700;
    font-size: 1rem;
}

.landing-footer-tagline {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.landing-footer-copy {
    margin: 0;
    font-size: 0.8125rem;
    text-align: center;
}

.landing-footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.landing-footer-links a {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.landing-footer-links a i {
    font-size: 1rem;
    line-height: 1;
}

.landing-footer-links a:hover {
    color: #f1f5f9;
}

/* Loading */
.landing-loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-bg);
}

.landing-loading-content {
    text-align: center;
}

.landing-loading-content p {
    margin-top: 16px;
    color: var(--landing-text-muted);
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .badge-security {
        left: 0;
    }

    .badge-cloud {
        right: 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .landing-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .landing-footer-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 56px 20px 80px;
    }

    .landing-section {
        padding: 72px 20px;
    }

    .landing-header-inner {
        padding: 12px 20px;
    }

    .landing-nav-link {
        display: none;
    }

    .features-grid,
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        width: 100%;
        justify-content: center;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-floating-badge {
        display: none;
    }

    .cta-section {
        padding: 72px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .landing-orb,
    .hero-preview-card,
    .hero-floating-badge,
    .hero-preview-bar {
        animation: none;
    }

    .landing-btn:hover,
    .feature-card:hover,
    .role-card:hover,
    .benefit-card:hover {
        transform: none;
    }
}
