:root {
    --primary-color: #111111;
    --bg-color: #F3F3F1;
    --card-bg: #FFFFFF;
    --accent-color: #333333;
    --text-color: #111111;
    --text-light: #555555;
    --border-color: #E5E5E5;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Roboto Mono', monospace;
    --transition-speed: 0.2s;
    --shadow-soft: none;
    --shadow-hover: 4px 4px 0px rgba(0, 0, 0, 1);
}

html {
    scroll-behavior: smooth;
}

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

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* Remove Noise Texture Overlay */
body::after {
    display: none;
}

#grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Gradient Text Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(243, 243, 241, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.nav-links a::after {
    display: none;
}

/* Navbar button override */
.nav-links .btn-primary {
    color: white;
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn:active {
    transform: translateY(1px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #333;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary::after {
    display: none;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-outline::before {
    display: none;
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3.5rem;
    max-width: 600px;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Canvas */
.hero-visual {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-hover);
}

/* Viewport Glow - REMOVED */
.viewport-glow {
    display: none;
}

/* Sections */
.section {
    padding: 10rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Cards */
.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: none;
}

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

.quote-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    font-style: italic;
    line-height: 1.4;
}

.quote-card p {
    color: var(--primary-color);
    /* Override default light text */
    margin: 0;
}

.image-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    border: 1px solid var(--border-color);
}

.tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

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

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

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

.grid-2-uneven {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* What is Atlas */
.minimal-card {
    text-align: left;
}

.icon-line {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: inline-flex;
    padding: 0.8rem;
    background: #E5E5E5;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
}

.minimal-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.minimal-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Differentiators Section */
.differentiators {
    padding: 5rem 0;
}

/* The Atlas Process */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px -5px rgba(6, 182, 212, 0.1);
    transform: translateX(10px) scale(1.01);
    background: #F8FAFC;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.step-content .outcome {
    background: #F3F3F1;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border-left: 2px solid var(--primary-color);
    margin-bottom: 0;
    font-family: var(--font-mono);
}

/* Precision Care */
.gradient-card h3 {
    margin-bottom: 0.5rem;
}

.gradient-card p {
    color: var(--text-light);
}

.body-card {
    border-bottom: 4px solid #F87171;
}

.body-card:hover {
    border-bottom: 1px solid var(--border-color);
}

.mind-card {
    border-bottom: 4px solid #60A5FA;
}

.mind-card:hover {
    border-bottom: 1px solid var(--border-color);
}

.emotion-card {
    border-bottom: 4px solid #A78BFA;
}

.emotion-card:hover {
    border-bottom: 1px solid var(--border-color);
}

.spirit-card {
    border-bottom: 4px solid #34D399;
}

.spirit-card:hover {
    border-bottom: 1px solid var(--border-color);
}

/* Join Options */
.join-card {
    text-align: center;
    padding: 3rem;
}

.join-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.join-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Feature Lists (Outcomes & Who Is For) */
.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '>';
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 0;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.feature-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* OS Features & Dashboard Mockup */
.os-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
    border: 2px solid var(--primary-color);
    display: flex;
    overflow: hidden;
    position: relative;
}

.mockup-sidebar {
    width: 60px;
    background: #F3F3F1;
    border-right: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 15px;
}

.sidebar-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #FFFFFF;
    border: 1px solid var(--primary-color);
}

.sidebar-icon.active {
    background: var(--primary-color);
}

.sidebar-icon.bottom {
    margin-top: auto;
    margin-bottom: 20px;
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 50px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #FFFFFF;
}

.header-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.header-profile {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #CBD5E1;
}

.mockup-content {
    padding: 20px;
    height: 100%;
    position: relative;
}

/* Quadrant Layout */
.quadrant-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    position: relative;
}

/* Harmony Center Circle */
.harmony-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.harmony-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.harmony-score {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-mono);
}

.harmony-label {
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes harmonypulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
    }
}

/* Quadrant Cards */
.quadrant-card {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 12px;
    border: 1px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.quadrant-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.quadrant-icon {
    font-size: 1.2rem;
}

.quadrant-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
}

.quadrant-score {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.quadrant-bar {
    height: 6px;
    background: #F3F3F1;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--primary-color);
}

.quadrant-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Individual Quadrant Colors */
.body-quadrant .quadrant-score {
    color: #F87171;
}

.body-quadrant .quadrant-fill {
    background: linear-gradient(90deg, #F87171, #EF4444);
}

.mind-quadrant .quadrant-score {
    color: #60A5FA;
}

.mind-quadrant .quadrant-fill {
    background: linear-gradient(90deg, #60A5FA, #3B82F6);
}

.emotion-quadrant .quadrant-score {
    color: #A78BFA;
}

.emotion-quadrant .quadrant-fill {
    background: linear-gradient(90deg, #A78BFA, #8B5CF6);
}

.spirit-quadrant .quadrant-score {
    color: #34D399;
}

.spirit-quadrant .quadrant-fill {
    background: linear-gradient(90deg, #34D399, #10B981);
}

/* Old styles - keeping for backwards compatibility */
.readiness-card {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 12px;
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.score-ring {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--accent-color);
}

.score-trend {
    font-size: 0.7rem;
    color: #4ADE80;
}

.timeline-section {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-light);
}

.timeline-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    align-items: center;
    opacity: 0.6;
}

.timeline-item.active {
    opacity: 1;
    font-weight: 500;
    color: var(--primary-color);
}

.timeline-item.active::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 0;
}

.metrics-grid {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    gap: 10px;
}

.metric-card {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-light);
}

.metric-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-mono);
}

/* Credibility */
.credibility {
    text-align: center;
    background: #fff;
}

.beta-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #E5E5E5;
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.credibility-text {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

.testimonial-card p {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-card cite {
    color: var(--text-light);
    font-style: normal;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.final-cta .cta-group {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.microcopy {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    background: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.25rem;
}

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

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-tagline {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(243, 243, 241, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-overlay a {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Responsive */

/* Extra Small Devices (320px - 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 1.25rem;
    }

    /* Hero Section */
    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .subheadline {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-visual {
        height: 300px;
    }

    /* Buttons */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        min-height: 48px;
        width: 100%;
    }

    .btn-sm {
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
        min-height: 44px;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.75rem, 6vw, 2rem);
        margin-bottom: 0.75rem;
    }

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

    /* Cards */
    .card {
        padding: 1.5rem;
    }

    .minimal-card h3 {
        font-size: 1rem;
    }

    .minimal-card p {
        font-size: 0.9rem;
    }

    /* Grids */
    .grid-3,
    .grid-2,
    .grid-2x2,
    .grid-2-uneven {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Process Steps */
    .process-steps {
        gap: 1.5rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .step-number {
        min-width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    /* Dashboard Mockup */
    .dashboard-mockup {
        max-width: 100%;
        height: 280px;
        box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
    }

    .mockup-sidebar {
        width: 45px;
        padding-top: 15px;
        gap: 10px;
    }

    .sidebar-icon {
        width: 24px;
        height: 24px;
    }

    .mockup-header {
        height: 40px;
        padding: 0 12px;
    }

    .header-title {
        font-size: 0.75rem;
    }

    .header-profile {
        width: 22px;
        height: 22px;
    }

    .mockup-content {
        padding: 12px;
    }

    .quadrant-layout {
        gap: 8px;
    }

    .quadrant-card {
        padding: 8px;
    }

    .quadrant-icon {
        font-size: 1rem;
    }

    .quadrant-name {
        font-size: 0.65rem;
    }

    .quadrant-score {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .quadrant-bar {
        height: 4px;
    }

    /* Footer */
    .footer {
        padding: 3rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    /* CTA Blocks */
    .final-cta .cta-group {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-block {
        width: 100%;
    }

    /* Testimonials */
    .testimonial-card p {
        font-size: 1.1rem;
    }

    /* Feature Lists */
    .feature-list li {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
}

/* Small Devices (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 9rem 0 5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .subheadline {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-visual {
        height: 350px;
    }

    .btn {
        min-height: 48px;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .section {
        padding: 6rem 0;
    }

    .section-header h2 {
        font-size: clamp(2rem, 6vw, 2.25rem);
    }

    .grid-3,
    .grid-2,
    .grid-2x2,
    .grid-2-uneven {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .dashboard-mockup {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        gap: 1.5rem;
    }
}

/* Medium Devices (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 2rem;
    }

    .hero {
        padding: 10rem 0 6rem;
    }

    .hero-text h1 {
        font-size: clamp(2.75rem, 5vw, 3.25rem);
    }

    .hero-visual {
        height: 400px;
    }

    .section {
        padding: 8rem 0;
    }

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

    .grid-2-uneven {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .dashboard-mockup {
        height: 320px;
    }
}

/* Tablet and Small Desktop Adjustments */
@media (max-width: 1023px) {
    body {
        background-size: 30px 30px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Ensure all interactive elements have proper touch targets */
    .btn,
    .nav-links a,
    .mobile-menu-toggle,
    .mobile-menu-overlay a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .card:hover {
        transform: none;
        box-shadow: none;
    }

    /* Make cards tappable with active state instead */
    .card:active {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

    .process-step:hover {
        transform: none;
        box-shadow: none;
    }

    .process-step:active {
        transform: scale(0.98);
    }
}