@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #F9EED9;
    /* Logo Cream */
    --text-primary: #1D1D1B;
    /* Logo Dark */
    --text-secondary: rgba(29, 29, 27, 0.7);
    --accent-red: #EE3124;
    /* Logo Red */
    --accent-blue: #3a7bd5;
    --accent-purple: #9d50bb;
    --gradient-red: linear-gradient(135deg, #EE3124 0%, #b31d14 100%);
    --gradient-glow: linear-gradient(135deg, rgba(238, 49, 36, 0.1) 0%, rgba(179, 29, 20, 0.1) 100%);
    --border-color: rgba(29, 29, 27, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(29, 29, 27, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-headers: 'Outfit', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --font-poppins: 'Poppins', sans-serif;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    cursor: auto !important;
}

/* --- Decorative Background Glows --- */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    cursor: auto !important;
}

.bg-glow {
    position: absolute;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.05;
    mix-blend-mode: multiply;
    /* Better for light backgrounds */
}

.glow-1 {
    top: -20%;
    right: -10%;
    background: var(--accent-red);
}

.glow-2 {
    bottom: -20%;
    left: -10%;
    background: var(--text-primary);
}

.glow-3 {
    top: 40%;
    left: 30%;
    background: var(--accent-red);
    width: 40vw;
    height: 40vw;
}


/* --- Typography --- */
h1,
h2,
h3 {
    font-family: var(--font-headers);
    font-weight: 800;
    line-height: 1;
    /* Increased for better readability */
    letter-spacing: -0.02em;
    /* Relaxed spacing */
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(90deg, #d41b07, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.serif-italic {
    font-family: var(--font-poppins);
    font-weight: 500;
    text-transform: none;
}

/* --- Layout --- */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 6vw;
}

section {
    padding: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    /* Prevent child overflow from triggering horizontal scroll */
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    background: rgba(249, 238, 217, 0.8);
}

.logo {
    font-family: var(--font-headers);
    font-weight: 800;
    font-size: clamp(1rem, 4vw, 1.4rem);
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.availability {
    font-size: clamp(0.6rem, 2vw, 0.7rem);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.availability::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-menu {
    border: 1px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 4px;
    font-size: clamp(0.7rem, 2.5vw, 0.8rem);
    text-transform: uppercase;
    font-weight: 800;
    transition: 0.3s;
}

.btn-menu:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Header Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 3vw;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .availability {
        font-size: 0.6rem;
        gap: 6px;
    }
    
    .availability::before {
        width: 5px;
        height: 5px;
    }
    
    .btn-menu {
        padding: 8px 20px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 2vw;
        gap: 12px;
    }
    
    .nav-right {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .availability {
        font-size: 0.55rem;
    }
    
    .btn-menu {
        padding: 8px 16px;
        font-size: 0.65rem;
        min-width: 140px;
        width: auto;
    }
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a0000 0%, #330000 25%, #000000 50%, #1a0a0a 75%, #2d0000 100%);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 140px;
    width: 100%;
    min-width: 100%;
}

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(238, 49, 36, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 49, 36, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 80%);
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    color: white;
    margin-bottom: 30px;
    font-family: var(--font-headers);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-row {
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
}

.hero-row span {
    display: block;
    transform: translateY(0);
}

.hero-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.hero-subtitle {
    max-width: 100%;
    text-align: center;
    font-size: clamp(1rem, 4vw, 1.4rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 40px;
}

.hero-btn {
    padding: 14px 28px;
    font-size: clamp(0.8rem, 3vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #b31d14 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(238, 49, 36, 0.4);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(238, 49, 36, 0.5);
}

.hero-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .hero .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 4rem);
        line-height: 1;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-cta {
        gap: 12px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .hero .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 3rem);
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-cta {
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: 140px;
        width: 100%;
        max-width: 200px;
    }
}

/* --- Sharp Cut Transition --- */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--bg-color);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 10;
}

/* Hide old wavy divider if still in HTML but CSS should be clean */
.wave-divider {
    display: none;
}


/* --- Expertise --- */
.expertise {
    background: var(--bg-color);
}

.expertise-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 30px;
    transition: 0.4s;
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    min-width: 60px;
    text-align: center;
    transition: 0.3s ease;
}

.expertise-item:hover .expertise-icon {
    transform: scale(1.1);
    color: var(--accent-red);
}

.expertise-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.expertise-name {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-family: var(--font-headers);
    font-weight: 700;
    text-align: left;
}

.expertise-item:hover .expertise-name {
    color: var(--accent-red);
    transform: skewX(-5deg) translateX(20px);
}

.expertise-desc {
    font-family: var(--font-poppins);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: right;
    max-width: 400px;
    font-style: normal;
}

.expertise-footer {
    padding: 10px 0 5px;
    text-align: center;
}

.expertise-footer p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-poppins);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Marquee --- */
.marquee {
    background: var(--accent-red);
    padding: 30px 0;
    overflow: hidden;
    width: 100%;
    transform: rotate(-1deg) scale(1.1);
    /* Slightly more scale to ensure coverage */
    transform-origin: center;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-headers);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    color: var(--bg-color);
    /* Light cream text on red marquee */
    margin-right: 120px;
}

/* --- Approach --- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.approach-card {
    background: rgba(29, 29, 27, 0.02);
    border: 1px solid var(--border-color);
    padding: 80px 60px;
    transition: 0.5s;
}

.approach-card:hover {
    background: var(--accent-red);
}

.approach-card:hover .approach-num,
.approach-card:hover h3,
.approach-card:hover p {
    color: black;
}

.approach-card h3 {
    font-size: 3.5rem;
    margin: 30px 0;
    color: var(--accent-red);
}

.approach-num {
    font-family: var(--font-poppins);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent-red);
}

/* --- Animations --- */
@keyframes revealUp {
    from {
        transform: translateY(110%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Stagger Logic --- */
.display-title.reveal {
    transition-delay: 0.1s;
}

.display-body.reveal {
    transition-delay: 0.3s;
}

/* --- Section Tag --- */
.section-tag {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent-red);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-tag::before {
    content: '';
    width: 80px;
    height: 2px;
    background: var(--accent-red);
}

/* --- Who This Is For Section --- */
.who-this-is-for {
    background: var(--bg-color);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.audience-intro-text {
    margin-bottom: 120px;
}

.audience-intro-text h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    font-family: var(--font-headers);
}

.audience-intro-text .animated-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px) rotateZ(-5deg);
    transition: all 0.8s var(--ease-out-expo);
    margin-right: 0.1em;
}

.audience-intro-text .animated-word.active {
    opacity: 1;
    transform: translateY(0) rotateZ(0);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    margin-bottom: 120px;
}

.audience-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.5s var(--ease-out-expo);
}

.audience-item:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.audience-icon {
    flex-shrink: 0;
}

.audience-icon i {
    font-size: 2rem;
    color: var(--accent-red);
    transition: all 0.5s var(--ease-out-expo);
}

.audience-item:hover .audience-icon i {
    transform: scale(1.2);
    color: var(--accent-red);
}

.audience-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--font-headers);
}

.audience-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-poppins);
    font-weight: 500;
}

.audience-content .animated-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s var(--ease-out-expo);
}

.audience-content .animated-word.active {
    opacity: 1;
    transform: translateY(0);
}

.not-for-section {
    text-align: center;
    margin-bottom: 120px;
    position: relative;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(238, 49, 36, 0.05) 0%, rgba(179, 29, 20, 0.02) 100%);
    border-radius: 20px;
    border: 2px solid rgba(238, 49, 36, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.divider-line {
    width: 100px;
    height: 3px;
    background: var(--accent-red);
    margin: 0 auto 40px;
}

.not-for-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--accent-red);
    font-family: var(--font-headers);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

.not-for-desc {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-family: var(--font-poppins);
    font-weight: 500;
    position: relative;
}

.not-for-title .animated-word,
.not-for-desc .animated-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease-out-expo);
}

.not-for-title .animated-word.active {
    opacity: 1;
    transform: translateY(0);
    color: var(--accent-red);
}

.not-for-desc .animated-word.active {
    opacity: 1;
    transform: translateY(0);
    color: var(--text-primary);
}

/* Add hover effect for emphasis */
.not-for-section:hover .not-for-title {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.not-for-section:hover {
    background: linear-gradient(135deg, rgba(238, 49, 36, 0.08) 0%, rgba(179, 29, 20, 0.04) 100%);
    transition: background 0.3s ease;
}

.why-now-section {
    position: relative;
}

.why-now-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: rgba(29, 29, 27, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.5s var(--ease-out-expo);
}

.why-item:hover {
    background: white;
    transform: translateY(-5px);
}

.why-item:hover .why-number {
    color: var(--text-primary);
}

.why-item:hover .why-text .animated-word {
    color: var(--text-primary);
}

/* Add gentle shake animation */
@keyframes shake {
    0%, 100% { transform: translateY(-5px) translateX(0); }
    50% { transform: translateY(-5px) translateX(0.5px); }
}

.why-item:hover {
    animation: shake 0.4s ease-in-out;
}

.why-number {
    font-family: var(--font-headers);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-red);
    flex-shrink: 0;
    min-width: 50px;
    transition: color 0.5s;
}

.why-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-poppins);
}

.why-text .animated-word {
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s var(--ease-out-expo);
}

.why-text .animated-word.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays for animated words */
.animated-word:nth-child(1) {
    transition-delay: 0.1s;
}

.animated-word:nth-child(2) {
    transition-delay: 0.15s;
}

.animated-word:nth-child(3) {
    transition-delay: 0.2s;
}

.animated-word:nth-child(4) {
    transition-delay: 0.25s;
}

.animated-word:nth-child(5) {
    transition-delay: 0.3s;
}

.animated-word:nth-child(6) {
    transition-delay: 0.35s;
}

.animated-word:nth-child(7) {
    transition-delay: 0.4s;
}

.animated-word:nth-child(8) {
    transition-delay: 0.45s;
}

.animated-word:nth-child(9) {
    transition-delay: 0.5s;
}

.animated-word:nth-child(10) {
    transition-delay: 0.55s;
}

.animated-word:nth-child(11) {
    transition-delay: 0.6s;
}

.animated-word:nth-child(12) {
    transition-delay: 0.65s;
}

.animated-word:nth-child(13) {
    transition-delay: 0.7s;
}

.animated-word:nth-child(14) {
    transition-delay: 0.75s;
}

.animated-word:nth-child(15) {
    transition-delay: 0.8s;
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .audience-item {
        padding: 30px;
    }

    .why-now-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .audience-intro-text h2 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
}

/* --- Authority Audit CTA Section - Ultimate Animation Experience --- */
.authority-audit {
    background: linear-gradient(135deg, #050b16 0%, #1a1f2e 50%, #050b16 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Background Elements */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--accent-red);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite ease-in-out;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 60%;
    animation-delay: 2s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 20%;
    animation-delay: 3s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 90%;
    animation-delay: 4s;
}

.particle-6 {
    width: 7px;
    height: 7px;
    top: 70%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes floatParticle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    20% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-40px) scale(1.2);
    }

    80% {
        opacity: 0.8;
        transform: translateY(-60px) scale(1);
    }
}

.bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(238, 49, 36, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border: 1px solid rgba(238, 49, 36, 0.2);
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    border-radius: 41% 59% 41% 59% / 41% 59% 41% 59%;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: rotate(90deg) scale(1.1);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg) scale(1);
        opacity: 0.3;
    }

    75% {
        transform: rotate(270deg) scale(0.9);
        opacity: 0.5;
    }
}

/* --- Authority Audit Section --- */
.authority-audit-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(238, 49, 36, 0.03) 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.audit-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header & Title */
.audit-header {
    margin-bottom: 60px;
}

.audit-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    font-family: var(--font-headers);
    margin-bottom: 20px;
}

.audit-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: var(--font-poppins);
    margin: 0 auto;
}

/* CTA Heading */
.cta-heading {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 700;
    color: var(--accent-red);
    text-align: center;
    margin: 60px 0 40px 0;
    font-family: var(--font-headers);
}

/* Benefits Section */
.audit-benefits {
    margin: 50px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--glass-border);
}

.benefits-intro {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-family: var(--font-poppins);
}

.benefits-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.9rem;
}

.benefit-text {
    color: var(--text-primary);
    flex: 1;
    font-family: var(--font-poppins);
}

/* Description */
.audit-description {
    margin: 50px 0;
    text-align: center;
}

.desc-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.8;
    font-family: var(--font-poppins);
}

.desc-secondary {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.desc-tertiary {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Button */
.audit-button-wrapper {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.audit-btn {
    padding: 18px 50px;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-red);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(238, 49, 36, 0.2);
    font-family: var(--font-headers);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(238, 49, 36, 0.3);
}

.audit-btn:active {
    transform: translateY(-1px);
}

/* Footer */
.audit-footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-red);
    font-family: var(--font-headers);
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* === HIGH-QUALITY SCROLL REVEAL ANIMATIONS === */

/* Text Reveal Container */
.text-reveal {
    perspective: 1000px;
}

/* Word Reveal Animation - Premium Effect */
.reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

/* Animation Keyframes */
@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(-90deg);
    }

    60% {
        transform: translateY(-8px) rotateX(10deg);
    }

    80% {
        opacity: 1;
        transform: translateY(2px) rotateX(-2deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Apply animation to revealed words */
.reveal-word.animate {
    animation: wordReveal 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Stagger effect for words - 50ms delay between each word */
.reveal-word:nth-child(1).animate {
    animation-delay: 0s;
}

.reveal-word:nth-child(2).animate {
    animation-delay: 0.05s;
}

.reveal-word:nth-child(3).animate {
    animation-delay: 0.1s;
}

.reveal-word:nth-child(4).animate {
    animation-delay: 0.15s;
}

.reveal-word:nth-child(5).animate {
    animation-delay: 0.2s;
}

.reveal-word:nth-child(6).animate {
    animation-delay: 0.25s;
}

.reveal-word:nth-child(7).animate {
    animation-delay: 0.3s;
}

.reveal-word:nth-child(8).animate {
    animation-delay: 0.35s;
}

.reveal-word:nth-child(9).animate {
    animation-delay: 0.4s;
}

.reveal-word:nth-child(10).animate {
    animation-delay: 0.45s;
}

.reveal-word:nth-child(11).animate {
    animation-delay: 0.5s;
}

.reveal-word:nth-child(12).animate {
    animation-delay: 0.55s;
}

.reveal-word:nth-child(13).animate {
    animation-delay: 0.6s;
}

.reveal-word:nth-child(14).animate {
    animation-delay: 0.65s;
}

.reveal-word:nth-child(15).animate {
    animation-delay: 0.7s;
}

/* Media Queries */
@media (max-width: 768px) {
    .authority-audit-section {
        padding: 60px 15px;
    }

    .audit-benefits {
        padding: 30px 20px;
    }

    .benefit-item {
        gap: 15px;
        font-size: 0.95rem;
    }

    .audit-btn {
        padding: 15px 40px;
        font-size: 0.95rem;
    }
}

/* --- Manifesto Scroll Animation Section --- */
.manifesto-scroll {
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(238, 49, 36, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

/* Individual Manifesto Sections */
.manifesto-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: relative;
}

.manifesto-section:first-child {
    padding-top: 50px; /* Much more space at top for easy scrolling up */
}

.manifesto-section:last-child {
    padding-bottom: 50px; /* Much more space at bottom for easy scrolling down */
}

.manifesto-section:nth-child(even) {
    background: rgba(238, 49, 36, 0.01);
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.2s var(--ease-out-expo);
}

.section-content.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Section Number */
.section-number {
    font-family: var(--font-headers);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--accent-red);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo) 0.2s;
}

.section-content.animate .section-number {
    opacity: 1;
    transform: translateY(0);
}

/* Section Title */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    font-family: var(--font-headers);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--ease-out-expo) 0.4s;
}

.section-content.animate .section-title {
    opacity: 1;
    transform: translateY(0);
}

/* Section Text */
.section-text {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo) 0.6s;
}

.section-content.animate .section-text {
    opacity: 1;
    transform: translateY(0);
}

.section-text .highlight-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.section-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.section-text .benefit-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.section-text .benefit-list li {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s var(--ease-out-expo);
}

.section-content.animate .benefit-list li {
    opacity: 1;
    transform: translateX(0);
}

.section-content.animate .benefit-list li:nth-child(1) {
    transition-delay: 0.8s;
}

.section-content.animate .benefit-list li:nth-child(2) {
    transition-delay: 0.9s;
}

.section-text .benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 700;
}

/* Background Animation Elements */
.manifesto-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(238, 49, 36, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(29, 29, 27, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.manifesto-section {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .manifesto-section {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .manifesto-section:first-child {
        padding-top: 10px; /* Minimal space at top for easy scrolling up */
    }

    .manifesto-section:last-child {
        padding-bottom: 10px; /* Minimal space at bottom for easy scrolling down */
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .section-text .highlight-text {
        font-size: 1.2rem;
    }
    
    .section-text p {
        font-size: 1rem;
    }
    
    .section-text .benefit-list li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .manifesto-section {
        padding: 10px 0;
        min-height: 40vh;
    }
    
    .manifesto-section:first-child {
        padding-top: 5px; /* Minimal space at top for easy scrolling up */
    }

    .manifesto-section:last-child {
        padding-bottom: 5px; /* Minimal space at bottom for easy scrolling down */
    }
    
    .section-content {
        padding: 0 4vw;
    }
}

.content-panel:last-child {
    border-bottom: none;
}

.display-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.highlight-text {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-weight: 500;
}

.impact-list {
    display: grid;
    gap: 12px;
    margin-bottom: 25px;
}

.impact-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.bullet {
    width: 20px;
    height: 3px;
    background: var(--accent-red);
    margin-top: 10px;
    flex-shrink: 0;
}

.insight-badge {
    display: inline-block;
    padding: 15px 30px;
    background: var(--text-primary);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
}

.insight-badge .red {
    color: var(--accent-red);
}

.benefit-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.benefit-list li {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-list li span {
    color: var(--accent-red);
    font-family: var(--font-headers);
}

.foot-note {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 8px 16px;
    background: rgba(238, 49, 36, 0.12);
    border: 1px solid rgba(238, 49, 36, 0.25);
    border-radius: 999px;
    color: var(--text-primary);
    margin-top: 16px;
}

.foot-note .gradient-text {
    color: var(--accent-red);
    -webkit-text-fill-color: initial;
    background: none;
    font-weight: 800;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.res-card {
    padding: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.res-card strong {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.flow-chart {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.flow-node {
    padding: 15px 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 800;
}

.flow-node.red {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}


.small-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.logic-block {
    margin: 20px 0;
}

.logic-block p {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.8;
}

.system-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.flow-item {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.flow-item.red {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}

.flow-arrow {
    color: var(--accent-red);
    font-weight: 900;
    font-size: 1.5rem;
}

.audience-section {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.audience-intro {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.audience-tags span {
    padding: 10px 24px;
    background: rgba(29, 29, 27, 0.05);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.3s;
}

.audience-tags span:hover {
    background: var(--text-primary);
    color: white;
}

.professional-pledge {
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(238, 49, 36, 0.03);
    border-left: 4px solid var(--accent-red);
    font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-poppins);
}

@media (max-width: 1024px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
    }

    .manifesto-nav {
        flex-direction: row;
        overflow-x: auto;
        position: relative;
        top: 0;
        padding-bottom: 20px;
    }

    .nav-item {
        white-space: nowrap;
    }
}


