/* Design Tokens - matching dashboard */
:root {
    /* Linen */
    --linen-100: #FAF8F5;
    --linen-200: #F5F1EB;
    --linen-300: #E8E3D9;
    --linen-400: #D4C9A8;
    --linen-500: #C4B87A;
    --linen-600: #A89A5C;
    --linen-700: #8B7D3F;

    /* Stone */
    --stone-100: #F5F3F0;
    --stone-200: #EDE8E0;
    --stone-300: #DDD5C8;
    --stone-400: #C4B8A8;
    --stone-500: #A89A88;
    --stone-600: #8B7D6B;
    --stone-700: #6E6254;

    /* Brick */
    --brick-100: #F5E6E0;
    --brick-200: #EACFC4;
    --brick-300: #D4A090;
    --brick-400: #C4846E;
    --brick-500: #B8623D;
    --brick-600: #9A5233;
    --brick-700: #7D4229;

    /* Sage */
    --sage-100: #F0F5F0;
    --sage-200: #D4E4D4;
    --sage-300: #A8C8A8;
    --sage-400: #7CAC7C;
    --sage-500: #5A9A5A;
    --sage-600: #4A844A;
    --sage-700: #3A6E3A;

    /* Black */
    --black-100: #F0F0F0;
    --black-200: #D4D4D4;
    --black-300: #A3A3A3;
    --black-400: #737373;
    --black-500: #525252;
    --black-600: #404040;
    --black-700: #2C2825;

    --white: #FFFFFF;

    /* Fonts */
    --font-heading: "Spectral", serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --font-accent: "Spectral", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black-700);
    line-height: 1.6;
    background: var(--white);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1rem; }

p {
    color: var(--black-500);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: var(--linen-100);
    padding: 0.75rem 0;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--black-700);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: opacity 0.2s, color 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brick-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brick-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 98, 61, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-secondary {
    background: var(--white);
    color: var(--black-700);
    border: 1px solid var(--stone-300);
}

.btn-secondary:hover {
    background: var(--stone-100);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Focus states for accessibility */
.btn:focus-visible {
    outline: 2px solid var(--brick-500);
    outline-offset: 2px;
}

a:focus-visible {
    outline: 2px solid var(--brick-500);
    outline-offset: 2px;
}

button:focus-visible {
    outline: 2px solid var(--brick-500);
    outline-offset: 2px;
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -10%;
    margin-bottom: -5%;
}

.hero-content {
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    color: var(--white);
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 400;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--stone-200);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-subtitle em {
    font-family: var(--font-accent);
    font-style: italic;
}

/* Sections */
.section {
    padding: 8rem 2rem;
    background: var(--linen-100);
}

/* Section transitions - subtle gradient dividers */
.dashboard-section {
    position: relative;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--linen-100) 0%, var(--white) 100%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-section .section-container {
    position: relative;
    z-index: 1;
}

.bottom-cta-section {
    position: relative;
}

.bottom-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--linen-100) 0%, var(--white) 100%);
    pointer-events: none;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--black-700);
}

.section-header p {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    padding: 2rem;
    aspect-ratio: 1 / 0.75;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    animation: fadeSlideUp 0.6s ease forwards;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 1rem;
    color: var(--brick-500);
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--stone-200);
    color: var(--black-700);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--black-500);
}

/* Editorial Section */
.editorial-section {
    padding-top: 4rem;
}

.editorial-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    transform: translateY(30px);
}

.editorial-content.animate-in {
    animation: fadeSlideUp 0.6s ease forwards;
}

.editorial-text {
    flex: 1;
}

.editorial-text h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--stone-300);
    color: var(--black-700);
}

.editorial-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black-500);
}

.editorial-image {
    flex: 1;
}

.editorial-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Dashboard Features Section */
.dashboard-section {
    background: var(--white);
    padding: 6rem 2rem;
}

.z-feature {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
}

.z-feature.animate-in {
    animation: fadeSlideUp 0.6s ease forwards;
}

.z-feature-right {
    flex-direction: row;
}

.z-feature-left {
    flex-direction: row-reverse;
}

.z-feature-text {
    flex: 1;
}

.z-feature-text h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--stone-300);
    color: var(--black-700);
}

.z-feature-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black-500);
}

.z-feature-graphic {
    flex: 1;
}

.z-feature-graphic > div {
    height: 360px;
}

/* Demo Dashboard (Feature 1) */
.demo-dashboard {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    align-items: center;
}

.demo-sliders {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--black-600);
}

.demo-slider-value {
    font-family: var(--font-accent);
    font-weight: 500;
}

.demo-slider-track {
    height: 8px;
    background: linear-gradient(to right, var(--stone-200), var(--linen-300), var(--stone-200));
    border-radius: 4px;
    position: relative;
}

.demo-slider-fill {
    height: 100%;
    background: var(--linen-400);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.demo-slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--linen-500);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: left 0.5s ease;
}

.demo-total {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.demo-total-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--black-500);
    margin-bottom: 0.5rem;
}

.demo-total-value {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 600;
    color: var(--black-700);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.demo-total-range {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--stone-500);
}

.demo-range-bar {
    width: 80px;
    height: 6px;
    background: linear-gradient(to right, var(--stone-200), var(--linen-300), var(--stone-200));
    border-radius: 3px;
    position: relative;
}

.demo-range-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--linen-500);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Demo Compare (Feature 2) */
.demo-compare {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.demo-compare-legend {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--stone-100);
}

.demo-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--black-600);
    transition: opacity 0.4s ease;
}

.demo-legend-hidden {
    opacity: 0;
}

.demo-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.demo-csi-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.demo-csi-row {
    display: grid;
    grid-template-columns: 24px 140px 1fr 50px;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
}

.demo-csi-code {
    color: var(--stone-400);
    font-weight: 500;
}

.demo-csi-name {
    color: var(--black-600);
}

.demo-csi-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-bar {
    height: 10px;
    border-radius: 0 3px 3px 0;
    transition: width 0.6s ease, opacity 0.4s ease;
}

.demo-bar-sd {
    background: var(--linen-500);
}

.demo-bar-a {
    background: var(--sage-500);
}

.demo-bar-b {
    background: var(--brick-400);
}

.demo-bar-hidden {
    opacity: 0;
    width: 0 !important;
}

.demo-csi-value {
    text-align: right;
    font-weight: 500;
    color: var(--black-700);
}

/* Demo Transparency (Feature 3) */
.demo-transparency {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-transparency-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.demo-transparency-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--black-500);
}

.demo-transparency-total {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black-700);
}

.demo-budget-bar {
    display: flex;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.demo-budget-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1.2s ease;
    width: 0;
}

.demo-budget-segment.animate-fill {
    transition: width 1.2s ease;
}

.demo-budget-segment span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease 0.8s;
}

.demo-budget-segment.animate-fill span {
    opacity: 1;
}

.demo-budget-original {
    background: var(--linen-500);
}

.demo-budget-original.animate-fill {
    width: 87.7%;
}

.demo-budget-changes {
    background: var(--brick-400);
}

.demo-budget-changes.animate-fill {
    width: 6.6%;
}

.demo-budget-remaining {
    background: var(--sage-300);
}

.demo-budget-remaining.animate-fill {
    width: 5.7%;
}

.demo-budget-legend {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.demo-budget-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--black-600);
}

.demo-budget-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.demo-budget-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--brick-100);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--brick-600);
}

.demo-alert-icon {
    width: 20px;
    height: 20px;
    background: var(--brick-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Demo Chat (Feature 4) */
.demo-chat {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.demo-chat-messages {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.demo-message {
    display: flex;
    gap: 0.75rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.demo-message-hidden {
    opacity: 0;
    transform: translateY(10px);
}

.demo-message-user {
    justify-content: flex-end;
}

.demo-message-bubble {
    max-width: 80%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.demo-message-user .demo-message-bubble {
    background: var(--linen-200);
    color: var(--black-700);
    border-bottom-right-radius: 4px;
}

.demo-message-mo .demo-message-bubble {
    background: var(--stone-100);
    color: var(--black-700);
    border-bottom-left-radius: 4px;
}

/* Thinking indicator */
.demo-message-thinking {
    display: flex;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
}

.demo-message-thinking .demo-thinking-bubble {
    background: var(--stone-100);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-thinking-dot {
    width: 8px;
    height: 8px;
    background: var(--stone-400);
    border-radius: 50%;
    animation: thinkingBounce 1.4s ease-in-out infinite;
}

.demo-thinking-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.demo-thinking-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes thinkingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

.demo-message-avatar {
    width: 32px;
    height: 32px;
    background: var(--brick-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.demo-chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--stone-200);
    gap: 0.75rem;
}

.demo-chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--stone-200);
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--stone-100);
}

.demo-chat-input button {
    padding: 0.75rem 1.25rem;
    background: var(--brick-500);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.6;
}

.logo-carousel {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 3rem;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: var(--stone-100);
    border-radius: 8px;
    min-width: 140px;
}

.logo-item span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--stone-600);
    letter-spacing: 0.02em;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Dashboard CTA */
.dashboard-cta {
    text-align: center;
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(30px);
}

.dashboard-cta.animate-in {
    animation: fadeSlideUp 0.6s ease forwards;
}

.dashboard-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--black-700);
}

.dashboard-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--black-500);
}

.dashboard-cta .logo-carousel {
    margin-bottom: 2.5rem;
}

/* CTA Section */
.cta-section {
    background: var(--linen-100);
}

.cta-section h2 {
    margin-bottom: 0.75rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--black-700);
    color: var(--stone-300);
    padding: 4rem 2rem 2rem;
    border-top: 2px solid var(--brick-500);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--stone-400);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-col a {
    display: block;
    color: var(--stone-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.contact-form input,
.contact-form textarea {
    background: var(--black-600);
    border: 1px solid var(--black-500);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white);
    transition: border-color 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--stone-500);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brick-500);
    background: var(--black-500);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--black-600);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--stone-500);
}

/* Pricing Section */
.pricing-section {
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(196, 184, 122, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 25%, rgba(70, 130, 130, 0.5) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 85%, rgba(196, 184, 122, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 70%, rgba(70, 130, 130, 0.35) 0%, transparent 45%),
        linear-gradient(160deg, #2a2520 0%, #1a1816 40%, #252320 100%);
    position: relative;
}

.pricing-section .section-header h2 {
    color: var(--white);
}

.pricing-section .section-header p {
    color: var(--stone-400);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-card:not(.pricing-card-featured):hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card-featured {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.3),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brick-500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-card-featured .pricing-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--white);
}

.pricing-card-featured .pricing-header h3 {
    color: var(--white);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
}

.pricing-card-featured .price-amount {
    color: var(--white);
}

.price-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card-featured .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.pricing-card-featured .pricing-desc {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-card-featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--sage-500);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

.pricing-card .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.pricing-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* FAQ Section */
.faq-section {
    background: var(--linen-100);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black-700);
}

.faq-header p {
    font-size: 1rem;
    color: var(--black-500);
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--stone-300);
}

.faq-item:first-child {
    border-top: 1px solid var(--stone-300);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--black-700);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--brick-500);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--black-400);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--black-500);
}

/* Bottom CTA Section */
.bottom-cta-section {
    background: var(--white);
}

.bottom-cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bottom-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
}

.bottom-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--black-700);
}

.bottom-cta-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--black-500);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        aspect-ratio: auto;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .editorial-content {
        flex-direction: column;
        gap: 2rem;
    }

    .editorial-image {
        order: -1;
    }

    .z-feature {
        flex-direction: column !important;
        gap: 2rem;
    }

    .z-feature-graphic {
        order: -1;
    }

    .demo-dashboard {
        flex-direction: column;
    }

    .demo-csi-row {
        grid-template-columns: 24px 100px 1fr 45px;
        font-size: 0.65rem;
    }

    .demo-budget-legend {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        padding: 1rem;
        padding-top: 140px;
    }

    .hero-subtitle br {
        display: none;
    }

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

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

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bottom-cta-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bottom-cta-image {
        order: -1;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}
