/* ============================================
   COSMIC COMMONS — Investor Landing Page
   Brand: Barbre Family Crest
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Barbre Crest Colors */
    --crimson: #8B1538;
    --crimson-light: #A91D45;
    --crimson-dark: #6B1029;
    
    --royal-blue: #1E3A5F;
    --royal-blue-light: #2A4D7A;
    --royal-blue-dark: #152A45;
    
    --purple: #4A2C6A;
    --purple-light: #5D3A82;
    --purple-dark: #3A2254;
    
    --gold: #C9A227;
    --gold-light: #D9B84A;
    --gold-dark: #A8871F;
    
    /* Neutrals */
    --white: #FEFEFE;
    --off-white: #F8F6F3;
    --cream: #F2EDE4;
    --gray-100: #E8E4DD;
    --gray-200: #D1CCC3;
    --gray-400: #8A847A;
    --gray-600: #5A5650;
    --gray-800: #2D2B28;
    --black: #1A1918;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-800);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    margin-bottom: 1em;
}

strong {
    font-weight: 600;
    color: var(--crimson);
}

em {
    font-style: italic;
    color: var(--purple);
}

a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

a:hover {
    color: var(--crimson);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(139, 21, 56, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 21, 56, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--royal-blue);
    border: 2px solid var(--royal-blue);
}

.btn-secondary:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--crimson);
    background: linear-gradient(135deg, var(--crimson) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s var(--ease-out);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--gray-600);
    transition: color 0.2s var(--ease-out);
}

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--crimson);
    color: var(--white) !important;
    border-radius: 2px;
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl) var(--space-md);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(139, 21, 56, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(74, 44, 106, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin-bottom: var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 2px;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.title-accent {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--crimson) 0%, var(--purple) 50%, var(--royal-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.title-main {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--royal-blue);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.scroll-indicator {
    width: 20px;
    height: 32px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--crimson);
    border-radius: 2px;
    animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(6px); }
}

/* --- Sections --- */
.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

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

.section-header-light .section-title,
.section-header-light .section-intro {
    color: var(--white);
}

.section-header-light .section-intro {
    opacity: 0.9;
}

.section-tag {
    display: inline-block;
    margin-bottom: var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* --- Vision Section --- */
.vision-section {
    background: var(--off-white);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.vision-card {
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.vision-card-main {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-dark) 100%);
    color: var(--white);
    border: none;
}

.vision-card-main h3,
.vision-card-main p {
    color: var(--white);
}

.vision-card-main strong {
    color: var(--gold);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-sm);
    color: var(--crimson);
}

.vision-card-main .card-icon {
    color: var(--gold);
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.vision-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.card-features {
    list-style: none;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.card-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* --- Offerings Section --- */
.offerings-section {
    background: linear-gradient(180deg, var(--royal-blue-dark) 0%, var(--purple-dark) 100%);
    color: var(--white);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.offering-card {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
}

.offering-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.offering-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.offering-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.offering-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
}

.offering-details {
    list-style: none;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offering-details li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.offering-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.offering-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    transition: all 0.2s var(--ease-out);
}

.offering-link:hover {
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

/* --- Governance Section --- */
.governance-section {
    background: var(--cream);
}

.governance-diagram {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto var(--space-lg);
}

.faction {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 4px;
    border: 2px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.faction:hover {
    transform: scale(1.02);
}

.faction-producer { border-color: var(--crimson); }
.faction-procurer { border-color: var(--royal-blue); }
.faction-promoter { border-color: var(--purple); }

.faction-producer:hover { box-shadow: 0 10px 40px rgba(139, 21, 56, 0.15); }
.faction-procurer:hover { box-shadow: 0 10px 40px rgba(30, 58, 95, 0.15); }
.faction-promoter:hover { box-shadow: 0 10px 40px rgba(74, 44, 106, 0.15); }

.faction-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
}

.faction-producer .faction-icon { color: var(--crimson); }
.faction-procurer .faction-icon { color: var(--royal-blue); }
.faction-promoter .faction-icon { color: var(--purple); }

.faction h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.faction-role {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--gray-400);
    margin-bottom: var(--space-sm);
}

.faction-rights {
    list-style: none;
    text-align: left;
}

.faction-rights li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.faction-rights li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--gray-400);
}

.governance-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 1.5rem;
    background: var(--gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    z-index: 10;
}

.governance-note {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-md);
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: 0 4px 4px 0;
}

.governance-note p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* --- Documents Preview --- */
.documents-preview {
    background: var(--off-white);
}

.docs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.docs-text .section-tag {
    margin-bottom: var(--space-xs);
}

.docs-text .section-title {
    margin-bottom: var(--space-md);
}

.docs-text p {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.docs-list {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.docs-list li {
    display: flex;
    flex-direction: column;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-100);
}

.doc-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--royal-blue);
}

.doc-desc {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.docs-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doc-stack {
    position: relative;
    width: 280px;
    height: 360px;
}

.doc-card {
    position: absolute;
    width: 220px;
    height: 280px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s var(--ease-out);
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: var(--crimson);
    border-radius: 2px;
}

.doc-card::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    right: 40px;
    bottom: 20px;
    background: repeating-linear-gradient(
        0deg,
        var(--gray-100) 0px,
        var(--gray-100) 1px,
        transparent 1px,
        transparent 12px
    );
}

.doc-1 {
    top: 0;
    left: 30px;
    z-index: 3;
}

.doc-2 {
    top: 20px;
    left: 15px;
    z-index: 2;
    transform: rotate(-3deg);
}

.doc-2::before { background: var(--royal-blue); }

.doc-3 {
    top: 40px;
    left: 0;
    z-index: 1;
    transform: rotate(-6deg);
}

.doc-3::before { background: var(--purple); }

.doc-stack:hover .doc-1 { transform: translateY(-10px) rotate(2deg); }
.doc-stack:hover .doc-2 { transform: translateY(-5px) rotate(-1deg); }
.doc-stack:hover .doc-3 { transform: translateY(0) rotate(-4deg); }

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--royal-blue-dark) 100%);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-content .section-tag {
    color: var(--gold);
}

.contact-content .section-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.contact-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

.contact-criteria {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.contact-criteria h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.contact-criteria ul {
    list-style: none;
}

.contact-criteria li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-criteria li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.contact-form-wrapper {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    transition: all 0.2s var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Footer --- */
.footer {
    background: var(--black);
    color: var(--gray-200);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-sm);
}

.footer-logo .logo-mark {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--crimson) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-org {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: color 0.2s var(--ease-out);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-legal p {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-400);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-card-main {
        grid-column: span 1;
    }
    
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .governance-diagram {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .governance-center {
        position: static;
        transform: none;
        margin: var(--space-md) auto;
    }
    
    .docs-content {
        grid-template-columns: 1fr;
    }
    
    .docs-visual {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: var(--space-md);
        padding: var(--space-lg);
        background: var(--white);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
        transition: right 0.4s var(--ease-out);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.125rem;
    }
    
    .nav-cta {
        margin-top: var(--space-sm);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
