@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --black: #030303;
    --surface: #0A0A0A;
    --surface-light: #121212;
    --accent: #D4AF37;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --text: #FFFFFF;
    --text-muted: #999999;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(3, 3, 3, 0.85);
    --transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-outfit {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; font-weight: 600; }

/* Navigation (Linear Island Style) */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 1450px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    padding: 10px 24px;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #030303;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

.nav-links a {
    color: #555555 !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent) !important;
}

nav.scrolled {
    top: 10px;
    padding: 8px 24px;
}

.cta-button {
    background: var(--accent);
    color: var(--black);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid var(--accent);
    white-space: nowrap;
}

.cta-button:hover {
    background: transparent;
    color: var(--accent);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem) !important;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-subline {
    font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
    font-weight: 800;
    color: var(--text);
    display: block;
    margin-top: 10px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

/* Seamless Logo Animation */
.logo-animation {
    padding: 80px 0;
    background: var(--black);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.logo-track {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

.logo-item {
    flex-shrink: 0;
    width: 200px; /* Reduced from 250px */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px; /* Reduced padding */
}

.logo-item img {
    height: 35px; /* Fixed height for consistency */
    width: auto;
    max-width: 140px;
    opacity: 0.6; /* More subtle */
    transition: opacity 0.3s ease;
}

.logo-item img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Restored Core Layout Styles */
.grid {
    display: grid;
    gap: 40px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 20px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.bullet-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.pain-animation-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bullet-icon {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.5rem;
}

/* Typing Animation perfect alignment */
.typing-container {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
    font-family: 'Outfit', sans-serif;
}

span#typing-prefix {
    white-space: pre;
}

.typing-text {
    color: var(--accent);
    border-right: 4px solid var(--accent);
    padding-right: 15px;
    animation: cursor 0.8s step-end infinite;
}

@keyframes cursor {
    from, to { border-color: transparent }
    50% { border-color: var(--accent); }
}

section {
    padding: 160px 0;
}

/* Calendly Grid */
.audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.calendly-card, .calendly-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendly-card {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #0F0F0F;
}

.calendly-copy {
    background: var(--surface-light);
    padding: 80px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: left;
    height: 100%;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.input-field {
    background: transparent;
    border-bottom: 1px solid var(--text-muted);
    border-top: none;
    border-left: none;
    border-right: none;
    color: var(--text);
    padding: 12px 0;
    font-size: 1.2rem;
    outline: none;
    transition: var(--transition);
}

.calc-output {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.projected-revenue {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0;
}

/* Instagram Reels */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.reel-slot {
    aspect-ratio: 9/16;
    background: var(--surface-light);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.reel-slot:hover {
    transform: scale(1.02);
    border-color: var(--accent);
}

.reel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

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

footer {
    padding: 80px 0 40px;
    background: var(--black);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 24px;
}

.social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.mobile-only-founders { display: none; }
.desktop-only-founders { display: flex; }

@media (max-width: 1024px) {
    nav {
        width: 95%;
        padding: 8px 16px;
    }
    .nav-content {
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
    }
    .brand-name {
        display: none; /* Hide tagline on tablet/mobile to save space */
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 20px;
    }

    /* Mobile Header - Compact & Sticky */
    nav {
        top: 10px;
        border-radius: 15px;
        width: 92%;
    }
    .nav-links {
        display: none !important; /* Standard mobile hidden nav */
    }
    .nav-content {
        justify-content: center; /* Center logo on mobile */
    }
    .logo-group {
        margin: 0 auto;
    }
    .brand-name {
        display: none !important;
    }

    /* Mobile Hero */
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-image-container {
        display: none !important; /* Removed from mobile as requested */
    }
    .hero-title {
        font-size: 1.2rem !important;
        margin-bottom: 12px;
    }
    .hero-subline {
        font-size: 2rem !important;
        margin-top: 5px;
    }
    
    .delay-2 {
        flex-direction: column;
        gap: 12px !important;
    }
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 16px 32px !important;
    }

    /* Grids */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Pain Section */
    .typing-container {
        font-size: 1.75rem;
        height: auto;
        min-height: 80px;
        justify-content: center;
        text-align: center;
        margin-top: 32px;
    }
    
    span#typing-prefix {
        display: block; /* Stack on mobile if needed */
        margin-bottom: 5px;
    }
    
    .pain-animation-box {
        text-align: center !important;
    }

    /* Results */
    .results-info h2 {
        font-size: 2.5rem;
    }
    .about-us.card {
        padding: 30px;
    }
    .result-card {
        padding: 30px;
    }
    .result-card h2 {
        font-size: 2.2rem !important;
    }

    /* Calculator Mobile Fix */
    .calculator {
        padding: 60px 0;
    }
    .calculator-container {
        padding: 60px 20px 30px;
        position: relative; /* Base for result badge */
        display: flex;
        flex-direction: column;
    }
    .calc-inputs {
        gap: 24px;
        width: 100%;
        margin-top: 40px;
    }
    .calc-output {
        position: static !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 40px;
    }
    .projected-revenue {
        position: absolute;
        top: 25px;
        right: 25px;
        background: var(--accent);
        color: var(--black) !important;
        padding: 8px 15px;
        border-radius: 8px;
        font-size: 1.1rem !important;
        font-weight: 800;
        z-index: 20;
        box-shadow: 0 5px 15px rgba(212,175,55,0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .projected-revenue::before {
        content: 'Projected Revenue';
        font-size: 0.6rem;
        text-transform: uppercase;
        opacity: 0.8;
        line-height: 1;
        margin-bottom: 2px;
    }
    .calc-output p {
        display: none !important;
    }
    .calc-output a {
        display: none !important; /* Removed from mobile view as requested */
    }
    .calculator-container {
        padding: 60px 20px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        justify-content: center; /* Centered without button */
    }

    /* Founder Card Styles */
    .mobile-only-founders {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    .desktop-only-founders {
        display: none !important;
    }
    .founder-card-small {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        height: 120px;
        flex: 1;
    }
    .founder-card-small img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Audit/Booking Mobile Fix */
    .audit-grid {
        display: flex;
        flex-direction: column; /* Widget top, Copy bottom */
        gap: 30px;
    }
    .calendly-card {
        order: 1;
        height: 600px !important; /* Smaller but visible */
    }
    .calendly-copy {
        order: 2;
        padding: 40px 24px;
        text-align: center;
    }
    .calendly-copy ul.audit-list {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the block */
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .audit-list li {
        width: 100%;
        font-family: var(--font-body);
        line-height: 1.6;
    }
    .calendly-copy h2 {
        font-size: 2rem;
    }
    .promise-box {
        text-align: left;
    }
    
    /* Results/About-Us Mobile Adjustment */
    #results .grid-2 {
        display: flex;
        flex-direction: column;
    }
    .results-info {
        order: 1; /* Title first */
    }
    .results-cards-wrap {
        order: 2; /* Results card second */
        margin: 40px 0;
    }
    .about-us.card {
        order: 3; /* About Us moved below everything else in results */
        margin-top: 20px;
    }

    /* Footer Mobile */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .footer-nav a {
        margin-left: 0 !important;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    /* Logo Strip Mobile */
    .logo-track { animation-duration: 25s; }
    .logo-item { width: 140px; padding: 0 20px; }
    .logo-item img { height: 25px; }
}

@media (max-width: 480px) {
    .hero-subline {
        font-size: 1.75rem !important;
    }
    .section-head h2 {
        font-size: 1.8rem !important;
    }
}

