/* ============================================
   PETRA GEO MARKETING SITE
   Premium Dark Theme Design
   ============================================ */

/* === CSS Variables === */
:root {
    /* Colors */
    --bg-primary: #0c0e14;
    --bg-secondary: #141620;
    --bg-tertiary: #1a1d2e;
    --text-primary: #e8e8ec;
    --text-secondary: #8b8da0;
    --text-tertiary: #5a5c6e;
    
    /* Accent Colors */
    --accent-blue: #4a9eff;
    --accent-gold: #d4a853;
    --accent-teal: #2dd4bf;
    
    /* Agent Colors */
    --agent-radar: #14b8a6;
    --agent-quill: #8b5cf6;
    --agent-pulse: #f97316;
    --agent-holly: #10b981;
    
    /* Typography */
    --font-display: 'Clash Display', sans-serif;
    --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --spacing-unit: 8px;
    --section-padding: calc(var(--spacing-unit) * 15);
    
    /* Effects */
    --glass-bg: rgba(20, 22, 32, 0.6);
    --glass-border: rgba(232, 232, 236, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Grain Overlay === */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: calc(var(--spacing-unit) * 3) 0;
    background: rgba(12, 14, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    color: var(--accent-blue);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border: 1px solid var(--accent-blue);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: rgba(74, 158, 255, 0.1);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#crystal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    padding: 0 calc(var(--spacing-unit) * 4);
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 5);
    max-width: 560px;
}

.scroll-indicator {
    position: absolute;
    bottom: calc(var(--spacing-unit) * 6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    opacity: 0.6;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--text-secondary));
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #5aa7ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(74, 158, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(74, 158, 255, 0.05);
}

.btn-large {
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 5);
    font-size: 18px;
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* === Sections === */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 10);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === How It Works === */
.how-it-works {
    background: var(--bg-secondary);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
}

.step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: calc(var(--spacing-unit) * 5);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

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

.step:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(74, 158, 255, 0.15);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.15);
    border-radius: 16px;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing-unit) * 3);
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.08);
}

.step-icon svg {
    width: 48px;
    height: 48px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, var(--glass-border), var(--accent-blue), var(--glass-border));
    position: relative;
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-blue);
    font-size: 18px;
}

/* === Agents === */
.agents {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 4);
}

.agent-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: calc(var(--spacing-unit) * 5);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.agent-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.agent-card[data-agent="radar"]:hover {
    border-color: var(--agent-radar);
    box-shadow: 0 16px 48px rgba(20, 184, 166, 0.15);
}

.agent-card[data-agent="quill"]:hover {
    border-color: var(--agent-quill);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.15);
}

.agent-card[data-agent="pulse"]:hover {
    border-color: var(--agent-pulse);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.15);
}

.agent-card[data-agent="holly"]:hover {
    border-color: var(--agent-holly);
    box-shadow: 0 16px 48px rgba(16, 185, 129, 0.15);
}

.agent-shard {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.agent-emoji {
    font-size: 48px;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--agent-holly);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--agent-holly);
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.agent-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.agent-role {
    font-size: 16px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.agent-tasks {
    list-style: none;
}

.agent-tasks li {
    position: relative;
    padding-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-secondary);
    line-height: 1.6;
}

.agent-tasks li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* === Case Study === */
.case-study {
    background: var(--bg-secondary);
    overflow: hidden;
}

.case-study-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: center;
    overflow: hidden;
}

.case-study-content {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s ease;
    min-width: 0;
}

.case-study-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.case-study-client h3 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.case-study-url {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-blue);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.case-study-description {
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.stat {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: calc(var(--spacing-unit) * 3);
    backdrop-filter: blur(12px);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.case-study-quote {
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-blue);
    padding-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.case-study-quote cite {
    display: block;
    font-size: 14px;
    font-style: normal;
    color: var(--text-secondary);
    margin-top: calc(var(--spacing-unit) * 2);
}

.case-study-chart {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s ease 0.2s;
    min-width: 0;
}

.case-study-chart.visible {
    opacity: 1;
    transform: translateX(0);
}

.chart-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: calc(var(--spacing-unit) * 4);
    backdrop-filter: blur(12px);
}

.chart-container canvas {
    max-width: 100%;
    height: auto;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.chart-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
}

.chart-period {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-tertiary);
}

/* === Pricing === */
.pricing {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 4);
}

.pricing-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: calc(var(--spacing-unit) * 5);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(74, 158, 255, 0.15);
}

.pricing-card-featured {
    border-color: var(--accent-blue);
    background: rgba(74, 158, 255, 0.05);
}

.pricing-badge {
    position: absolute;
    top: calc(var(--spacing-unit) * 3);
    right: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    background: var(--accent-blue);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
}

.pricing-header {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: calc(var(--spacing-unit) * 1);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.price-amount {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 700;
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-save {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.price-commitment {
    font-size: 14px;
    color: var(--accent-teal);
    font-weight: 600;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 4);
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    margin-bottom: calc(var(--spacing-unit) * 5);
    min-height: 200px;
}

.pricing-features li {
    position: relative;
    padding-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.pricing-best-for {
    font-size: 13px;
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

/* === Report Form === */
.report-section {
    background: var(--bg-secondary);
}

.report-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
}

.report-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: calc(var(--spacing-unit) * 8);
    backdrop-filter: blur(12px);
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

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

.report-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.2;
}

.report-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 6);
    line-height: 1.6;
}

.report-form {
    text-align: left;
}

.form-group {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 3);
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: calc(var(--spacing-unit) * 2);
    background: rgba(20, 22, 32, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(74, 158, 255, 0.05);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.report-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-note {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    line-height: 1.5;
}

/* === Footer === */
.footer {
    background: var(--bg-secondary);
    padding: calc(var(--spacing-unit) * 10) 0;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: calc(var(--spacing-unit) * 10);
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.footer-links a,
.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--text-primary);
}

/* === Responsive === */
@media (max-width: 1200px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }
    
    .step-connector {
        width: 1px;
        height: 40px;
        margin: 0 auto;
        background: linear-gradient(to bottom, var(--glass-border), var(--accent-blue), var(--glass-border));
    }
    
    .step-connector::after {
        content: '↓';
        bottom: -20px;
        top: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .case-study-container {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }
}

@media (max-width: 900px) {
    :root {
        --section-padding: calc(var(--spacing-unit) * 10);
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .agents-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .case-study-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: clamp(28px, 6vw, 48px);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
        text-align: center;
    }
    
    .footer-links,
    .footer-legal {
        align-items: center;
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: calc(var(--spacing-unit) * 8);
    }
    
    .hero-content {
        padding: 0 calc(var(--spacing-unit) * 3);
    }
    
    .hero-title {
        font-size: clamp(36px, 10vw, 64px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .report-content {
        padding: calc(var(--spacing-unit) * 4);
    }
    
    .step-icon {
        width: 64px;
        height: 64px;
    }
    
    .step-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .chart-container {
        padding: calc(var(--spacing-unit) * 3);
    }
    
    .case-study-container {
        padding: 0 calc(var(--spacing-unit) * 3);
        gap: calc(var(--spacing-unit) * 5);
    }
    
    .case-study-client h3 {
        font-size: 28px;
    }
    
    .case-study-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .stat {
        padding: calc(var(--spacing-unit) * 2);
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .case-study-quote {
        font-size: 17px;
    }
    
    .pricing-card {
        padding: calc(var(--spacing-unit) * 4);
    }
    
    .report-section .section-header,
    .how-it-works .section-header,
    .agents .section-header,
    .pricing .section-header {
        padding: 0 calc(var(--spacing-unit) * 3);
    }
}
