/* ============================================
   Classica Hub — Landing Page v2
   Gebbia-inspired experiential design
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Instrument+Sans:wght@400;500;600;700&family=Schibsted+Grotesk:wght@400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #FBF9F7;
    --dark: #2B261C;
    --gold: #F9A01B;
    --mid: #6F5C44;
    --tan: #C6B5A1;
    --dark-warm: #1E1A14;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Instrument Sans', -apple-system, sans-serif;
    --ui: 'Schibsted Grotesk', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--dark-warm);
}

body {
    font-family: var(--sans);
    color: var(--dark);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

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

/* Scroll-triggered reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(251, 249, 247, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(43, 38, 28, 0.06);
    padding: 0.75rem 3rem;
}

.nav-logo img {
    height: 43px;
    transition: height 0.4s ease;
}

.nav.scrolled .nav-logo img {
    height: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--ui);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    font-family: var(--ui) !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    background: var(--dark);
    color: var(--cream) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--dark) !important;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    font-family: var(--ui);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(3rem, 12vw, 11.5rem);
    line-height: 0.8;
    color: var(--dark);
    max-width: 1200px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
    font-weight: 300;
    letter-spacing: -3px;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-family: var(--sans);
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.55;
    color: var(--mid);
    max-width: 600px;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
    font-family: var(--ui);
    font-weight: 600;
    font-size: 1rem;
    background: var(--dark);
    color: white;
    padding: 0.875rem 2.25rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 160, 27, 0.3);
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background: #e8920f;
    color: var(--dark);
}

.btn-secondary {
    font-family: var(--ui);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--mid);
    padding: 0.875rem 1.5rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* --- Dashboard Preview --- */
.hero-dashboard {
    margin-top: 4rem;
    width: 100%;
    max-width: 1400px;
    position: relative;
    opacity: 0;
    animation: scaleIn 1.2s 1s forwards;
}

.dashboard-frame {
    background: var(--dark-warm);
    border-radius: 12px;
    padding: 8px;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.04),
        0 24px 48px rgba(0,0,0,0.08),
        0 48px 96px rgba(0,0,0,0.06);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s ease;
}

.dashboard-frame:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.04),
        0 32px 64px rgba(0,0,0,0.12),
        0 64px 128px rgba(0,0,0,0.08);
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
}

.dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.dashboard-dot.red { background: #ff5f57; }
.dashboard-dot.yellow { background: #febc2e; }
.dashboard-dot.green { background: #28c840; }

.dashboard-content {
    background: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    min-height: 500px;
}

/* Dashboard mockup interior */
.dash-mock {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 500px;
}

.dash-sidebar {
    background: #213b2d;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dash-sidebar-logo {
    color: white;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(230, 197, 102, 0.3);
}

.dash-sidebar-item {
    color: rgba(255,255,255,0.6);
    font-family: var(--ui);
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.2s;
}

.dash-sidebar-item.active {
    background: rgba(230, 197, 102, 0.15);
    color: #e6c566;
}

.dash-main {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-header h2 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dash-stat {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.06);
}

.dash-stat-label {
    font-family: var(--ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mid);
    margin-bottom: 0.375rem;
}

.dash-stat-value {
    font-family: var(--sans);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

.dash-stat-change {
    font-family: var(--ui);
    font-size: 0.7rem;
    color: #28c840;
    margin-top: 0.25rem;
}

.dash-table {
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    flex: 1;
}

.dash-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.75fr;
    padding: 0.75rem 1rem;
    font-family: var(--ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mid);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.dash-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.75fr;
    padding: 0.75rem 1rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    align-items: center;
}

.dash-badge {
    font-family: var(--ui);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.dash-badge.green { background: #dcfce7; color: #166534; }
.dash-badge.blue { background: #dbeafe; color: #1e40af; }
.dash-badge.gold { background: #fef3c7; color: #92400e; }

/* Glow effect behind dashboard */
.hero-dashboard::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(249, 160, 27, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- Marquee / Ticker --- */
.ticker {
    background: var(--dark-warm);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    animation: slideLeft 30s linear infinite;
}

.ticker-item {
    font-family: var(--ui);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(251, 249, 247, 0.5);
    padding: 0 2.5rem;
    flex-shrink: 0;
}

.ticker-dot {
    color: var(--gold);
    padding: 0 0.5rem;
}

/* --- Data Section --- */
.data-section {
    background: var(--dark-warm);
    padding: 8rem 2rem;
    color: var(--cream);
}

.data-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.data-text h2 {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 4.875rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.data-text p {
    font-family: var(--sans);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--tan);
    max-width: 480px;
}

.data-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.data-stat {
    text-align: center;
}

.data-stat-number {
    font-family: var(--sans);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.data-stat-label {
    font-family: var(--ui);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tan);
}

/* --- Features Section --- */
.features {
    padding: 8rem 2rem;
    background: var(--cream);
}

.features-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-badge {
    font-family: var(--ui);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 4.875rem);
    line-height: 1.1;
    color: var(--dark);
    max-width: 1100px;
    margin-bottom: 4rem;
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(43, 38, 28, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: white;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
    border-color: transparent;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(249, 160, 27, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--gold);
}

/* SVG line icons for feature cards */
.feature-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--gold);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.icon-courses::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15v-3.75m0 0h-.008v.008H6.75V11.25Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15v-3.75m0 0h-.008v.008H6.75V11.25Z'/%3E%3C/svg%3E");
}

.icon-library::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25'/%3E%3C/svg%3E");
}

.icon-gradebook::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12'/%3E%3C/svg%3E");
}

.icon-parents::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z'/%3E%3C/svg%3E");
}

.icon-brand::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42'/%3E%3C/svg%3E");
}

.icon-security::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z'/%3E%3C/svg%3E");
}

.feature-card h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.feature-card p {
    font-family: var(--sans);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--mid);
}

/* --- Steps Section --- */
.steps {
    padding: 8rem 2rem;
    background: white;
}

.steps-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.step-number {
    font-family: var(--sans);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.step h3 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step p {
    font-family: var(--sans);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mid);
}

/* --- Quote / Testimonial --- */
.quote-section {
    padding: 8rem 2rem;
    background: var(--cream);
    text-align: center;
}

.quote-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.quote-text {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.quote-author {
    font-family: var(--ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mid);
    letter-spacing: 0.05em;
}

/* --- CTA Section --- */
.cta-section {
    padding: 8rem 2rem;
    background: var(--dark-warm);
    text-align: center;
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 160, 27, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 4.875rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.cta-section p {
    font-family: var(--sans);
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--tan);
    margin-bottom: 2.5rem;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    padding: 3rem 2rem;
    color: rgba(251, 249, 247, 0.5);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 24px;
    opacity: 0.5;
}

.footer-text {
    font-family: var(--ui);
    font-size: 0.8125rem;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 26, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--cream);
    border-radius: 16px;
    padding: 3rem;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--mid);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-title {
    font-family: var(--serif);
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-sub {
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--mid);
    margin-bottom: 2rem;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-form .form-group {
    margin-bottom: 1.25rem;
}

.modal-form label {
    display: block;
    font-family: var(--ui);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(43, 38, 28, 0.15);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--dark);
    background: white;
    transition: border-color 0.2s;
    outline: none;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(249, 160, 27, 0.1);
}

.modal-form textarea {
    resize: vertical;
}

.modal-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.form-status {
    text-align: center;
    margin-top: 1rem;
    font-family: var(--sans);
    font-size: 0.875rem;
}

.form-status.success { color: #166534; }
.form-status.error { color: #991b1b; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav { padding: 1rem 1.5rem; }
    .nav.scrolled { padding: 0.75rem 1.5rem; }
    .nav-links a:not(.nav-cta) { display: none; }

    .hero { padding: 7rem 1.5rem 3rem; }

    .dash-mock { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-table-header,
    .dash-table-row { grid-template-columns: 2fr 1fr 1fr; }
    .dash-table-header > :nth-child(4),
    .dash-table-header > :nth-child(5),
    .dash-table-row > :nth-child(4),
    .dash-table-row > :nth-child(5) { display: none; }

    .data-inner { grid-template-columns: 1fr; gap: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
