/* ===== CSS Variables ===== */
:root {
    --color-bg-dark: #0f1729;
    --color-bg-darker: #0a0f1c;
    --color-bg-card: #1a2337;
    --color-bg-card-hover: #232d45;
    --color-gold: #d4a84b;
    --color-gold-light: #e8c777;
    --color-gold-dark: #b8923d;
    --color-red: #c74a4a;
    --color-red-light: #e05555;
    --color-blue: #4a7cc7;
    --color-blue-light: #6b9fe0;
    --color-green: #4ac77a;
    --color-green-light: #6be09a;
    --color-purple: #8b6bc7;
    --color-purple-light: #a88be0;
    --color-pink: #c76b8b;
    --color-text: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --color-border: #2d3a52;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-glow: 0 0 60px rgba(212, 168, 75, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* ===== Promo Banner ===== */
.promo-banner {
    background: linear-gradient(90deg, var(--color-gold-dark) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    color: var(--color-bg-dark);
    padding: 12px 0;
    text-align: center;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform var(--transition-medium);
}

.promo-banner p {
    margin: 0;
}

.promo-banner strong {
    font-weight: 700;
}

.promo-banner a {
    color: var(--color-bg-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.promo-banner a:hover {
    color: var(--color-bg-darker);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    top: 0;
    background: rgba(15, 23, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
}

.logo-10x {
    color: var(--color-gold);
}

.logo-org {
    color: var(--color-text);
}

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

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.btn-nav {
    background: var(--color-gold);
    color: var(--color-bg-dark) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--color-gold-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 168, 75, 0.4);
    color: var(--color-bg-dark);
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 40px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-red) 0%, transparent 70%);
    bottom: 0;
    left: -100px;
    opacity: 0.1;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    opacity: 0.08;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.hero-subtitle {
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    color: var(--color-blue-light);
}

.highlight-gold {
    color: var(--color-gold);
}

.gold-shine {
    color: var(--color-gold);
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.org-topologies-link {
    color: #eb1f30 !important;
    font-weight: 600;
}

.org-topologies-link:hover {
    color: #ff3344 !important;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    max-width: 540px;
}

.hero-powered {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-description strong {
    color: var(--color-text);
}

.hero-quote {
    background: var(--color-bg-card);
    border-left: 4px solid var(--color-gold);
    padding: 20px 24px;
    margin-bottom: 40px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--color-text-muted);
}

.hero-quote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-book {
    text-align: center;
}

.book-wrapper {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.book-cover {
    max-width: 340px;
    border-radius: 8px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    transition: transform var(--transition-medium);
    animation: bookEntrance 1.5s ease-out forwards;
}

@keyframes bookEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateY(-180deg) rotateZ(-10deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotateY(-20deg) rotateZ(3deg);
    }
    75% {
        transform: scale(0.95) rotateY(10deg) rotateZ(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) rotateZ(0deg);
    }
}

.book-wrapper:hover .book-cover {
    transform: translateY(-8px) rotate(1deg);
}

.book-glow {
    position: absolute;
    inset: 20%;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
}

.book-authors {
    margin-top: 20px;
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(212, 168, 75, 0.1);
    border-radius: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.section-description strong {
    color: var(--color-text);
}

/* ===== Mandates Section ===== */
.mandates-section {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
    padding-top: 60px;
}

.mandates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.mandate-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.mandate-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.mandate-card:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(212, 168, 75, 0.3);
    transform: translateY(-4px);
}

.mandate-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.mandate-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-bg-dark);
}

.mandate-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.mandate-card p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.mandate-card em {
    color: var(--color-gold);
    font-style: normal;
    font-weight: 500;
}

.mandate-spectrum {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.spectrum-bar {
    flex: 1;
    height: 6px;
    background: linear-gradient(90deg, var(--color-purple) 0%, var(--color-green) 100%);
    border-radius: 3px;
}

.work-bar {
    background: linear-gradient(90deg, var(--color-pink) 0%, var(--color-blue) 100%);
}

/* Map Reveal */
.map-reveal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.map-image {
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    max-width: 468px;
    display: block;
    margin: 0 auto;
}

.map-reveal {
    margin-bottom: 80px;
}

.map-text h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.map-text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.highlight-text {
    background: var(--color-bg-card);
    border-left: 4px solid var(--color-gold);
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin-top: 24px;
}

.highlight-text strong {
    color: var(--color-gold);
}

/* ===== Intelligences Section ===== */
.intelligences-section {
    background: var(--color-bg-darker);
    padding-top: 10px;
}

.intelligence-map {
    text-align: center;
    margin-bottom: 60px;
}

.quadrants-image {
    max-width: 624px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

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

.intelligence-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.intelligence-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.intelligence-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.card-header {
    margin-bottom: 16px;
}

.intelligence-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.doing .intelligence-badge {
    background: rgba(139, 107, 199, 0.2);
    color: var(--color-purple-light);
}

.doing:hover {
    border-color: var(--color-purple);
}

.delivering .intelligence-badge {
    background: rgba(199, 107, 139, 0.2);
    color: var(--color-pink);
}

.delivering:hover {
    border-color: var(--color-pink);
}

.directing .intelligence-badge {
    background: rgba(74, 124, 199, 0.2);
    color: var(--color-blue-light);
}

.directing:hover {
    border-color: var(--color-blue);
}

.driving .intelligence-badge {
    background: rgba(74, 199, 122, 0.2);
    color: var(--color-green-light);
}

.driving:hover {
    border-color: var(--color-green);
}

.intelligence-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.intelligence-card > p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.example {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.example strong {
    color: var(--color-text-muted);
}

/* ===== Topologies Section ===== */
.topologies-section {
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
}

.topologies-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn.pulse {
    animation: tabPulse 2s ease-in-out;
}

.tab-btn:nth-child(2).pulse {
    animation-delay: 0.15s;
}

.tab-btn:nth-child(3).pulse {
    animation-delay: 0.3s;
}

@keyframes tabPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 transparent;
    }
    20%, 40%, 60% {
        box-shadow: 0 0 20px 3px var(--color-gold);
        border-color: var(--color-gold);
    }
    30%, 50%, 70% {
        box-shadow: 0 0 0 0 transparent;
        border-color: var(--color-border);
    }
}

.tab-btn:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text);
}

.tab-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg-dark);
}

.topology-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.topology-panel.active {
    display: block;
}

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

.topology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.topology-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    max-width: 520px;
    display: block;
    margin: 0 auto;
}

.topology-info h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.topology-tagline {
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.topology-info > p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.topology-traits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trait {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-bg-card);
    border-radius: 10px;
}

.trait-label {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 100px;
}

.trait-value {
    color: var(--color-text);
    font-weight: 500;
}

/* ===== AI Section ===== */
.ai-section {
    background: var(--color-bg-dark);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 60px;
    align-items: center;
}

.ai-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.ai-text > p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.ai-text strong {
    color: var(--color-gold);
}

.ai-list {
    list-style: none;
    margin-top: 32px;
}

.ai-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-muted);
}

.ai-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
}

.ai-list li strong {
    color: var(--color-text);
}

.highlight-quote {
    background: var(--color-bg-card);
    border-left: 4px solid var(--color-gold);
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin-top: 24px;
    font-size: 1.1rem;
}

.ai-visual img {
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    max-width: 520px;
    display: block;
    margin: 0 auto;
}

/* ===== Principles Section ===== */
.principles-section {
    background: var(--color-bg-darker);
}

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

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.principle-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.principle-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
}

.principle-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--color-text);
}

.principle-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 168, 75, 0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

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

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-brand p {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

.footer-links .divider {
    opacity: 0.3;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom .copyright {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 24px rgba(212, 168, 75, 0.4);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(212, 168, 75, 0.5);
    color: var(--color-bg-dark);
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        order: 1;
    }

    .hero-book {
        order: 0;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

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

    .map-reveal,
    .topology-grid,
    .ai-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-content {
        order: 0;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 23, 41, 0.98);
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--color-border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 8px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .topologies-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .book-cover {
        max-width: 280px;
    }

    .promo-banner {
        font-size: 0.75rem;
        padding: 10px 0;
    }

    .promo-banner p {
        line-height: 1.4;
    }
}

/* Ensure images never overflow on mobile */
@media (max-width: 768px) {
    .map-image,
    .quadrants-image,
    .topology-image img,
    .ai-visual img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .map-image {
        max-width: 100%;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1rem;
    }
}
