/* Custom Properties / Tokens */
:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-light: #1f1f1f;
    --color-text: #e0e0e0;
    --color-text-muted: #9e9e9e;
    --color-accent-gold: #c5a059;
    --color-accent-gold-hover: #dfb768;
    --color-accent-copper: #b87333;
    --color-accent-blue: #4a9eff;
    --color-accent-purple: #a855f7;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: #fff;
}

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    margin: 10px auto 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-gold), transparent);
}

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

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

/* ===================== */
/* STICKY NAV            */
/* ===================== */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.sticky-nav.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.sticky-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem 2rem;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(197, 160, 89, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.sticky-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.6);
    margin-right: 1rem;
    flex-shrink: 0;
}

.sticky-tabs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.sticky-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.sticky-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.sticky-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.sticky-tab.active {
    color: var(--color-accent-gold);
    background: rgba(197, 160, 89, 0.08);
    border-color: rgba(197, 160, 89, 0.2);
}

.sticky-tab.active::after {
    width: 60%;
}

.sticky-tab-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sticky-tab-icon svg {
    width: 100%;
    height: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.95) 100%);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, var(--color-accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.logo-container {
    margin-bottom: 2rem;
}

.brand-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.8);
    transition: var(--transition-smooth);
}

.brand-logo:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--color-accent-gold);
    border: 1px solid var(--color-accent-gold);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.cta-button.gold {
    background-color: var(--color-accent-gold);
    color: var(--color-bg);
}

.cta-button.gold:hover {
    background-color: var(--color-accent-gold-hover);
    border-color: var(--color-accent-gold-hover);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
}

/* ===================== */
/* OBJECTIVE SELECTOR    */
/* ===================== */
.objective-section {
    background: linear-gradient(to bottom, var(--color-bg), #050505);
}

.objective-intro {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: -2rem auto 3rem;
    font-size: 1.05rem;
}

.objective-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.obj-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    color: var(--color-text);
    outline: none;
}

.obj-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-copper));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.obj-card:hover, .obj-card.active {
    background: var(--color-surface-light);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.obj-card:hover::before, .obj-card.active::before {
    transform: scaleX(1);
}

.obj-card.active {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.15);
}

.obj-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent-gold);
}

.obj-icon svg {
    width: 100%;
    height: 100%;
}

.obj-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.obj-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.obj-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== */
/* SERVICE SECTIONS      */
/* ===================== */
.hidden-section {
    display: none;
}

.hidden-section.show {
    display: block;
    animation: fadeInSection 0.6s ease-out;
}

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

.service-badge {
    text-align: center;
    display: inline-block;
    margin: 0 auto 1.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-accent-gold);
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    width: fit-content;
}

.service-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cm-badge {
    border-color: var(--color-accent-blue);
    color: var(--color-accent-blue);
}

.combo-badge {
    border-color: var(--color-accent-purple);
    color: var(--color-accent-purple);
}

.service-desc {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: -2rem auto 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-desc strong {
    color: #fff;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.benefit-item {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    background: var(--color-surface-light);
    border-color: rgba(197, 160, 89, 0.2);
    transform: translateY(-3px);
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: rgba(197, 160, 89, 0.2);
    margin-bottom: 0.75rem;
}

.benefit-item h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent-gold);
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.subsection-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    width: 100%;
}

/* Stages */
.stages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

.stage-card {
    background-color: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.stage-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-surface-light);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.stage-card:hover::before {
    opacity: 1;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}

.stage-header h3 {
    font-size: 1.5rem;
    color: var(--color-accent-gold);
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
    margin-left: 2rem;
}

.price small {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.stage-body p {
    margin-bottom: 1rem;
    color: #ccc;
}

.stage-body .note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255,255,255,0.1);
}

/* Special Boxes */
.ad-spend-box, .bonus-box, .database-explanation {
    background-color: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    border-left: 2px solid var(--color-accent-copper);
}

.ad-spend-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.drip-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent-copper);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* ===================== */
/* WORKFLOW TIMELINE     */
/* ===================== */
.workflow-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding-left: 3rem;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent-gold), var(--color-accent-purple));
    border-radius: 2px;
}

.workflow-step {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1rem;
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 32px;
    height: 32px;
    background: var(--color-accent-gold);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.step-content h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.step-content strong {
    color: #fff;
}

/* Combo Benefit Box */
.combo-benefit-box {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.combo-benefit-box h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-accent-gold);
}

.combo-benefit-box p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.combo-benefit-box strong {
    color: #fff;
}

/* ===================== */
/* GALLERY               */
/* ===================== */
.system-gallery {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    margin: 1rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.system-gallery:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    flex: 0 0 88vw;
    max-width: 500px;
    background-color: #0f0f0f;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.85);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-5px) scale(1.02);
    z-index: 2;
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-500px * 6 - 1.5rem * 6)); }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 88vw;
    }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-88vw * 6 - 1.5rem * 6)); }
    }
}

@media (min-width: 769px) {
    .gallery-item {
        flex: 0 0 500px;
    }
}

/* ===================== */
/* SUMMARY / INVESTMENT  */
/* ===================== */
.dark-section {
    background-color: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.summary-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.summary-block {
    margin-bottom: 2rem;
}

.summary-table {
    background-color: var(--color-surface);
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.summary-row:last-child {
    border-bottom: none;
}

.separator {
    border-bottom: 2px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

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

.total-row {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-accent-gold);
}

/* Summary Notes */
.summary-notes {
    max-width: 800px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.note-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.note-box:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(197, 160, 89, 0.3);
}

.note-box h4 {
    color: var(--color-accent-gold);
    font-family: var(--font-body);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.note-box p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.note-box strong {
    color: #fff;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(to top, rgba(197, 160, 89, 0.05), var(--color-bg));
}

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

.cta p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ===================== */
/* RESPONSIVE            */
/* ===================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }
    
    .objective-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stage-header {
        flex-direction: column;
    }
    
    .price {
        margin-left: 0;
        margin-top: 0.5rem;
        align-items: flex-start;
    }

    .ad-spend-box {
        flex-direction: column;
        gap: 1rem;
    }

    .workflow-timeline {
        padding-left: 2.5rem;
    }

    .subsection-title {
        font-size: 1.4rem;
    }

    /* Sticky Nav Mobile */
    .sticky-nav-inner {
        padding: 0.6rem 1rem;
        gap: 0.75rem;
    }

    .sticky-logo {
        height: 22px;
        margin-right: 0.5rem;
    }

    .sticky-tabs {
        gap: 0.25rem;
    }

    .sticky-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .sticky-tab-label {
        display: none;
    }

    .sticky-tab-icon {
        width: 18px;
        height: 18px;
    }
}
