/* Modern Landing Page Styles for A11yForge */
/* Inspired by Theme1 and Theme2 with theme support */

:root {
    /* Color variables - dynamically set by theme manager */
    --color-primary: #1f6feb;
    --color-secondary: #0969da;
    --color-accent: #00b3a4;
    --color-background: #ffffff;
    --color-surface: #f6f8fa;
    --color-text: #0a0a0a;
    --color-textMuted: #5f6b7a;
    --color-border: #d0d7de;

    /* Font variables */
    --font-heading: system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-body: system-ui, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Dynamic gradients & effects */
    --gradient-hero: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-cta: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-accent: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-card: var(--color-background);
    --effect-glass-border: var(--color-border);
    --effect-glass-shadow: var(--shadow-md);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.solstice-landing,
.horizon-landing,
.aurora-landing {
    display: none;
}

/* Modern Header */
.modern-header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-header .navbar {
    background-color: var(--color-background) !important;
}

@media (max-width: 992px) {
    .modern-header .navbar-collapse {
        background-color: var(--color-background);
        padding: var(--spacing-sm) 0;
        margin-top: var(--spacing-sm);
        border-top: 1px solid var(--color-border);
    }
}

.modern-header .navbar {
    padding: var(--spacing-sm) 0;
}

.modern-header .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.modern-header .navbar-brand:hover {
    opacity: 0.8;
}

.navbar-brand-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.modern-header .nav-link {
    color: var(--color-text);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.modern-header .nav-link:hover {
    color: var(--color-primary);
    background-color: var(--color-surface);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero, linear-gradient(135deg, var(--color-primary), var(--color-accent)));
    color: white;
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1920px) {
    .hero-grid {
        max-width: 1600px;
        gap: var(--spacing-2xl);
    }
}

@media (min-width: 2560px) {
    .hero-grid {
        max-width: 1920px;
    }
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: white;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--color-primary);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Feature Section */
.features-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-background);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-textMuted);
    max-width: 700px;
    margin: 0 auto;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (min-width: 1400px) {
    .card-grid {
        gap: var(--spacing-xl);
    }
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.feature-card {
    background: var(--gradient-card, var(--color-background));
    background-color: var(--color-background);
    border: 1px solid var(--effect-glass-border, var(--color-border));
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--effect-glass-shadow, var(--shadow-md));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent, linear-gradient(90deg, var(--color-primary), var(--color-accent)));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent, linear-gradient(135deg, var(--color-primary), var(--color-accent)));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.feature-icon svg,
.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--color-textMuted);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.feature-card ul li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Stats Section */
.stats-section {
    background-color: var(--color-surface);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--color-textMuted);
    font-size: 1rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-cta, linear-gradient(135deg, var(--color-primary), var(--color-accent)));
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

/* Modern Footer */
.modern-footer {
    background-color: var(--color-text);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Solstice Bloom Theme Enhancements */
html[data-theme='solstice'] body {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 107, 107, 0.18), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(78, 205, 196, 0.16), transparent 52%),
        var(--color-background);
    color: var(--color-text);
}

html[data-theme='solstice'] .solstice-landing {
    display: block;
}

html[data-theme='solstice'] .classic-landing {
    display: none;
}

html[data-theme='solstice'] .modern-header {
    background-color: rgba(255, 246, 240, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.25);
    box-shadow: 0 24px 48px rgba(196, 77, 88, 0.18);
}

html[data-theme='solstice'] .hero-section {
    color: #211622;
    text-shadow: none;
}

html[data-theme='solstice'] .hero-section::before {
    opacity: 0.18;
    filter: hue-rotate(18deg) saturate(1.15);
}

html[data-theme='solstice'] .hero-text h1,
html[data-theme='solstice'] .hero-text .lead {
    color: inherit;
}

html[data-theme='solstice'] .btn-hero-secondary {
    background-color: rgba(33, 22, 34, 0.12);
    color: #211622;
    border: 2px solid rgba(33, 22, 34, 0.2);
}

html[data-theme='solstice'] .btn-hero-secondary:hover {
    background-color: rgba(33, 22, 34, 0.2);
    color: #211622;
}

html[data-theme='solstice'] .feature-card,
html[data-theme='solstice'] .stat-card {
    backdrop-filter: blur(18px);
}

html[data-theme='solstice'] .stat-card {
    background: var(--gradient-card, var(--color-background));
    border: 1px solid var(--effect-glass-border, var(--color-border));
    box-shadow: var(--effect-glass-shadow, var(--shadow-md));
}

html[data-theme='solstice'] .theme-switcher {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 22px 45px rgba(196, 77, 88, 0.18);
}

html[data-theme='solstice'] .theme-switcher select {
    background-color: rgba(255, 255, 255, 0.75);
}

/* Solstice Bloom Layout */
.solstice-shell {
    width: min(1180px, 100% - 3rem);
    margin: 0 auto;
    padding: clamp(var(--spacing-lg), 8vw, var(--spacing-2xl)) 0;
}

.solstice-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.35);
    color: var(--color-text);
    backdrop-filter: blur(10px);
}

.solstice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.solstice-btn--primary {
    background: var(--gradient-accent, linear-gradient(135deg, var(--color-primary), var(--color-accent)));
    color: white;
    box-shadow: 0 20px 45px rgba(196, 77, 88, 0.25);
    border: none;
}

.solstice-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 55px rgba(196, 77, 88, 0.3);
}

.solstice-btn--ghost {
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(33, 22, 34, 0.15);
    color: #211622;
}

.solstice-btn--ghost:hover {
    background: rgba(33, 22, 34, 0.12);
    border-color: rgba(33, 22, 34, 0.3);
}

.solstice-btn--inline {
    padding: 0.5rem 0;
    color: var(--color-primary);
    font-weight: 600;
}

.solstice-btn--inline:hover {
    color: var(--color-secondary);
}

.solstice-hero {
    position: relative;
    overflow: hidden;
    color: #211622;
    background: var(--gradient-hero, linear-gradient(135deg, var(--color-primary), var(--color-accent)));
}

.solstice-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
        radial-gradient(circle at 110% 10%, rgba(78, 205, 196, 0.35), transparent 60%);
    opacity: 0.7;
}

.solstice-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(var(--spacing-xl), 8vw, var(--spacing-2xl));
    align-items: start;
}

.solstice-hero__content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: var(--spacing-md) 0;
}

.solstice-hero__content p {
    font-size: 1.125rem;
    max-width: 32rem;
    color: rgba(33, 22, 34, 0.85);
}

.solstice-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.solstice-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.solstice-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.solstice-metric dt {
    font-size: 1.75rem;
    font-weight: 700;
    color: #211622;
}

.solstice-metric dd {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(33, 22, 34, 0.75);
}

.solstice-hero__visual {
    display: grid;
    gap: var(--spacing-md);
}

.solstice-hero-card {
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: 0 30px 60px rgba(196, 77, 88, 0.2);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.solstice-hero-card header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.solstice-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 107, 107, 0.15);
    color: #c44d58;
}

.solstice-hero-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #211622;
}

.solstice-icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.solstice-icon-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-sm);
    align-items: start;
}

.solstice-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 205, 196, 0.2);
    color: #c44d58;
    flex-shrink: 0;
}

.solstice-icon-list h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #211622;
}

.solstice-icon-list p {
    margin: 0.35rem 0 0;
    color: rgba(33, 22, 34, 0.75);
    font-size: 0.95rem;
}

.solstice-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-sm);
}

.solstice-hero-stats > div {
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    background: rgba(33, 22, 34, 0.08);
    text-align: center;
    border: 1px solid rgba(33, 22, 34, 0.08);
}

.solstice-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #211622;
}

.solstice-stat-label {
    font-size: 0.85rem;
    color: rgba(33, 22, 34, 0.7);
}

.solstice-section-head {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.solstice-section-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    margin: 0;
    color: #211622;
}

.solstice-section-head p {
    margin: 0;
    color: rgba(33, 22, 34, 0.72);
}

.solstice-panels {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.solstice-panel-grid {
    margin-top: var(--spacing-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.solstice-panel-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 107, 107, 0.18);
    box-shadow: 0 24px 48px rgba(196, 77, 88, 0.15);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.solstice-panel-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #211622;
}

.solstice-panel-card p {
    margin: 0;
    color: rgba(33, 22, 34, 0.75);
}

.solstice-panel-card ul {
    margin: var(--spacing-sm) 0 0;
    padding-left: 1.125rem;
    color: rgba(33, 22, 34, 0.7);
}

.solstice-flow {
    background: var(--color-surface);
}

.solstice-flow__shell {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.solstice-flow__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--spacing-md);
}

.solstice-flow__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-md);
    align-items: start;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 107, 107, 0.14);
    box-shadow: 0 20px 45px rgba(196, 77, 88, 0.14);
}

.solstice-flow__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 700;
    color: #211622;
    background: rgba(78, 205, 196, 0.2);
}

.solstice-flow__step h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #211622;
}

.solstice-flow__step p {
    margin: 0.4rem 0 0;
    color: rgba(33, 22, 34, 0.72);
}

.solstice-insights__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--spacing-xl);
    align-items: stretch;
}

.solstice-insights__primary {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 107, 107, 0.2);
    box-shadow: 0 26px 52px rgba(196, 77, 88, 0.15);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.solstice-icon-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.solstice-icon-block {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    background: rgba(33, 22, 34, 0.06);
    color: #211622;
}

.solstice-icon-block p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(33, 22, 34, 0.75);
}

.solstice-insights__secondary {
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid rgba(33, 22, 34, 0.08);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    box-shadow: 0 22px 44px rgba(196, 77, 88, 0.12);
}

.solstice-insights__secondary ul {
    margin: 0;
    padding-left: 1.125rem;
    color: rgba(33, 22, 34, 0.7);
}

.solstice-cta {
    background: var(--gradient-cta, linear-gradient(135deg, var(--color-primary), var(--color-accent)));
    color: #211622;
    position: relative;
    overflow: hidden;
}

.solstice-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 140% 0%, rgba(255, 255, 255, 0.55), transparent 55%);
    opacity: 0.6;
}

.solstice-cta__shell {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.solstice-cta__shell h2 {
    margin: var(--spacing-sm) 0;
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.solstice-cta__shell p {
    margin: 0;
    max-width: 32rem;
    color: rgba(33, 22, 34, 0.75);
    font-size: 1.05rem;
}

.solstice-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* ============================================================
   HORIZON MAGAZINE THEME - Split Screen Layout
   ============================================================ */

html[data-theme='horizon'] .horizon-landing {
    display: block;
}

html[data-theme='horizon'] .classic-landing,
html[data-theme='horizon'] .solstice-landing,
html[data-theme='horizon'] .aurora-landing {
    display: none;
}

html[data-theme='horizon'] body {
    background: var(--color-background);
    font-family: var(--font-body);
}

/* Horizon Hero - Split Diagonal Layout */
.horizon-hero {
    position: relative;
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    background: var(--gradient-hero, linear-gradient(135deg, #1a2332 0%, #2d3748 100%));
}

.horizon-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--gradient-heroAccent, linear-gradient(135deg, rgba(0, 217, 255, 0.95) 0%, rgba(255, 176, 32, 0.85) 100%));
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.horizon-hero__content {
    position: relative;
    z-index: 2;
    padding: clamp(var(--spacing-xl), 8vw, var(--spacing-2xl));
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.horizon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 217, 255, 0.2);
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-bottom: var(--spacing-md);
}

.horizon-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 var(--spacing-lg);
    letter-spacing: -0.02em;
}

.horizon-hero__subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.horizon-hero__actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.horizon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid;
    position: relative;
    overflow: hidden;
}

.horizon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: 0;
}

.horizon-btn:hover::before {
    left: 100%;
}

.horizon-btn > * {
    position: relative;
    z-index: 1;
}

.horizon-btn--primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text);
}

.horizon-btn--primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--effect-glowCyan, 0 0 40px rgba(0, 217, 255, 0.3));
}

.horizon-btn--secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.horizon-btn--secondary:hover {
    background: white;
    color: var(--color-text);
    transform: translateY(-2px);
}

.horizon-hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.horizon-floating-card {
    background: white;
    padding: var(--spacing-xl);
    box-shadow: var(--effect-cardShadow, 0 20px 60px rgba(26, 35, 50, 0.15));
    max-width: 400px;
    position: relative;
}

.horizon-floating-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: var(--gradient-accent);
    z-index: -1;
}

.horizon-floating-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 var(--spacing-md);
    color: var(--color-text);
}

.horizon-stat-grid {
    display: grid;
    gap: var(--spacing-sm);
}

.horizon-stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--color-surface);
}

.horizon-stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.horizon-stat-text strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
}

.horizon-stat-text span {
    font-size: 0.875rem;
    color: var(--color-textMuted);
}

/* Horizon Magazine Grid Section */
.horizon-magazine {
    padding: var(--spacing-2xl) 0;
    background: var(--color-background);
}

.horizon-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.horizon-section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.horizon-section-header h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: var(--color-text);
    margin: 0 0 var(--spacing-md);
    letter-spacing: -0.02em;
}

.horizon-section-header p {
    font-size: 1.25rem;
    color: var(--color-textMuted);
    max-width: 700px;
    margin: 0 auto;
}

.horizon-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.horizon-card {
    background: var(--gradient-card, white);
    padding: var(--spacing-xl);
    box-shadow: var(--effect-cardShadow, 0 20px 60px rgba(26, 35, 50, 0.15));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.horizon-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.horizon-card:hover {
    transform: translateX(8px);
}

.horizon-card:hover::after {
    transform: scaleY(1);
}

.horizon-card--large {
    grid-column: span 8;
}

.horizon-card--small {
    grid-column: span 4;
}

.horizon-card--feature {
    grid-column: span 6;
}

.horizon-card__number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    opacity: 0.3;
}

.horizon-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 var(--spacing-md);
    color: var(--color-text);
}

.horizon-card p {
    color: var(--color-textMuted);
    line-height: 1.7;
    margin: 0;
}

.horizon-card ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0 0;
}

.horizon-card ul li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--color-text);
}

.horizon-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent);
}

/* Horizon CTA Section */
.horizon-cta {
    background: var(--gradient-hero, linear-gradient(135deg, #1a2332 0%, #2d3748 100%));
    color: white;
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.horizon-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 70%);
    border-radius: 50%;
}

.horizon-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.horizon-cta h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.horizon-cta p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   AURORA FLOW THEME - Organic Flowing Layout
   ============================================================ */

html[data-theme='aurora'] .aurora-landing {
    display: block;
}

html[data-theme='aurora'] .classic-landing,
html[data-theme='aurora'] .solstice-landing,
html[data-theme='aurora'] .horizon-landing {
    display: none;
}

html[data-theme='aurora'] body {
    background:
        var(--gradient-wave1, radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.15), transparent 50%)),
        var(--gradient-wave2, radial-gradient(ellipse at 80% 70%, rgba(16, 185, 129, 0.12), transparent 50%)),
        var(--gradient-wave3, radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08), transparent 60%)),
        var(--color-background);
    animation: var(--effect-flowAnimation, flow 8s ease-in-out infinite);
}

@keyframes flow {
    0%, 100% {
        background-position: 0% 50%, 100% 50%, 50% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 100%;
    }
}

.aurora-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

.aurora-blob {
    position: absolute;
    border-radius: var(--effect-organicRadius, 60% 40% 30% 70% / 60% 30% 70% 40%);
    filter: blur(60px);
    opacity: 0.3;
    animation: morph 8s ease-in-out infinite;
}

.aurora-blob--1 {
    top: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
    animation-delay: 0s;
}

.aurora-blob--2 {
    bottom: 10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
    animation-delay: 2s;
}

.aurora-blob--3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    animation-delay: 4s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(180deg) scale(1.1);
    }
}

.aurora-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.aurora-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.aurora-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--effect-glassBorder, rgba(99, 102, 241, 0.2));
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    backdrop-filter: blur(10px);
    margin-bottom: var(--spacing-lg);
}

.aurora-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 var(--spacing-lg);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aurora-hero__subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.aurora-hero__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.aurora-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.aurora-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px;
    background: var(--gradient-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aurora-btn:hover::before {
    opacity: 1;
}

.aurora-btn--primary {
    background: var(--gradient-cta);
    color: white;
    box-shadow: var(--effect-glassShadow, 0 25px 50px rgba(99, 102, 241, 0.15));
}

.aurora-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.25);
}

.aurora-btn--secondary {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--effect-glassBorder, rgba(99, 102, 241, 0.2));
    color: var(--color-text);
    backdrop-filter: blur(10px);
}

.aurora-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
}

.aurora-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.aurora-metric-card {
    background: var(--gradient-card, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border: 2px solid var(--effect-glassBorder, rgba(99, 102, 241, 0.2));
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--effect-glassShadow, 0 25px 50px rgba(99, 102, 241, 0.15));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aurora-metric-card:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.25);
}

.aurora-metric-card__value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.aurora-metric-card__label {
    font-size: 1rem;
    color: var(--color-textMuted);
    font-weight: 500;
}

/* Aurora Flow Cards Section */
.aurora-flow {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.aurora-section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.aurora-section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 var(--spacing-md);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aurora-section-header p {
    font-size: 1.25rem;
    color: var(--color-textMuted);
    max-width: 700px;
    margin: 0 auto;
}

.aurora-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.aurora-flow-card {
    background: var(--gradient-card, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border: 2px solid var(--effect-glassBorder, rgba(99, 102, 241, 0.2));
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--effect-glassShadow, 0 25px 50px rgba(99, 102, 241, 0.15));
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.aurora-flow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.aurora-flow-card:hover::before {
    opacity: 1;
    transform: translate(-25%, -25%);
}

.aurora-flow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(99, 102, 241, 0.25);
    border-color: var(--color-primary);
}

.aurora-flow-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.aurora-flow-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

.aurora-flow-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.aurora-flow-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text);
}

.aurora-flow-card p {
    color: var(--color-textMuted);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.aurora-flow-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aurora-flow-card ul li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--color-text);
}

.aurora-flow-card ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.5rem;
    line-height: 1;
}

/* Aurora CTA Section */
.aurora-cta {
    background: var(--gradient-hero, linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%));
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.aurora-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid var(--effect-glassBorder, rgba(99, 102, 241, 0.2));
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--effect-glassShadow, 0 25px 50px rgba(99, 102, 241, 0.15));
}

.aurora-cta h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aurora-cta p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text);
}

/* Solstice responsiveness */
@media (max-width: 1200px) {
    .solstice-shell {
        width: min(1040px, 100% - 2.5rem);
    }
}

@media (max-width: 992px) {
    .solstice-hero__grid {
        grid-template-columns: 1fr;
    }

    .solstice-hero__visual {
        grid-template-columns: 1fr;
    }

    .solstice-hero__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solstice-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .solstice-insights__grid {
        grid-template-columns: 1fr;
    }

    .solstice-cta__shell {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .solstice-shell {
        width: min(100%, 100% - 2rem);
        padding: var(--spacing-xl) 0;
    }

    .solstice-hero__metrics {
        grid-template-columns: 1fr;
    }

    .solstice-hero__content h1 {
        font-size: clamp(2.1rem, 8vw, 2.8rem);
    }

    .solstice-panel-card {
        padding: var(--spacing-md);
    }

    .solstice-icon-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .solstice-btn {
        width: 100%;
    }

    .solstice-btn--ghost,
    .solstice-btn--primary {
        justify-content: center;
    }

    .solstice-hero__actions {
        flex-direction: column;
    }

    .solstice-hero-card {
        padding: var(--spacing-md);
    }
}

/* Theme Switcher */
.floating-controls {
    position: fixed;
    bottom: calc(var(--spacing-lg) + 4.5rem);
    right: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-md);
    z-index: 1030;
}

.floating-controls__block {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.floating-controls__block:empty {
    display: none;
}

.theme-switcher {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    min-width: 220px;
    max-width: 260px;
    width: auto;
}

.theme-switcher:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.theme-switcher-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.theme-switcher label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.theme-switcher label svg {
    color: var(--color-text);
}

.theme-switcher select {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-background);
    color: var(--color-text);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-switcher select:hover {
    border-color: var(--color-primary);
}

.theme-switcher select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

/* Ensure theme switcher is accessible on all screen sizes */
@media (max-width: 768px) {
    .floating-controls {
        bottom: calc(var(--spacing-md) + 4rem);
        right: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .floating-controls {
        bottom: calc(var(--spacing-sm) + 4rem);
        right: var(--spacing-sm);
        left: var(--spacing-sm);
        align-items: stretch;
    }

    .floating-controls__block {
        justify-content: flex-start;
    }

    .theme-switcher {
        max-width: none;
        min-width: 0;
        width: 100%;
    }
}

/* Horizon Responsive Design */
@media (max-width: 1200px) {
    .horizon-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .horizon-card--large {
        grid-column: span 6;
    }

    .horizon-card--feature {
        grid-column: span 6;
    }

    .horizon-card--small {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .horizon-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .horizon-hero::before {
        width: 100%;
        height: 40%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
    }

    .horizon-hero__visual {
        order: -1;
    }

    .horizon-grid {
        grid-template-columns: 1fr;
    }

    .horizon-card--large,
    .horizon-card--feature,
    .horizon-card--small {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .horizon-floating-card {
        max-width: 100%;
    }

    .horizon-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Aurora Responsive Design */
@media (max-width: 992px) {
    .aurora-blob {
        width: 300px !important;
        height: 300px !important;
    }

    .aurora-flow-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .aurora-metrics {
        grid-template-columns: 1fr;
    }

    .aurora-btn {
        width: 100%;
        justify-content: center;
    }

    .aurora-blob {
        width: 200px !important;
        height: 200px !important;
        filter: blur(40px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text .lead {
        font-size: 1.125rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .theme-switcher {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    .hero-section {
        padding: var(--spacing-xl) 0;
    }

    .features-section,
    .stats-section,
    .cta-section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text .lead {
        font-size: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-lg);
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .theme-switcher {
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
        left: var(--spacing-sm);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .theme-switcher-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .theme-switcher select {
        flex: 1;
        min-width: 120px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Skip Links for Accessibility */
.skip-links {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.skip-link {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 var(--radius-md) 0;
    box-shadow: var(--shadow-lg);
}

.skip-link:focus {
    position: fixed;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    width: auto;
    height: auto;
    z-index: 10000;
}

/* Utilities */
.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (min-width: 1920px) {
    .container-custom {
        max-width: 1600px;
        padding: 0 var(--spacing-xl);
    }
}

@media (min-width: 2560px) {
    .container-custom {
        max-width: 1920px;
        padding: 0 var(--spacing-2xl);
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-primary {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 0.6s ease-out 0.6s forwards;
    opacity: 0;
}
