/* ==========================================================================
   Base & Typography (Cinematic Dark Boutique Theme)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #080808;
    --bg-surface: #121212;
    --bg-elevated: #1a1a1a;
    --text-primary: #F0F0F0;
    --text-muted: #888888;
    --gold-light: #E5C07B;
    --gold-main: #C5A059;
    --gold-dark: #8C6D3B;
    --gradient-gold: linear-gradient(135deg, var(--gold-light), var(--gold-main), var(--gold-dark));
    --border-dim: rgba(255, 255, 255, 0.08);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition-slow: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-med: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

/* Subtle Film Grain Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    position: relative;
    padding: 10rem 5%;
    border-bottom: 1px solid var(--border-dim);
}

.text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Luxurious Custom Cursor
   ========================================================================== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--gold-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
}

.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border: 1px solid var(--gold-dark);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.hovered .cursor-circle {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--gold-main);
}

/* ==========================================================================
   Strictly Consistent Header (Ultra Dark for White Logo)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-med);
    background: transparent;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.2rem 5%;
    border-bottom: 1px solid var(--border-dim);
}

.logo img {
    height: 40px;
}

/* White logo contrasts perfectly against #080808 */
.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: var(--gold-main);
    transition: var(--transition-med);
}

.nav-links a:hover::after {
    left: 0;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.btn-gold {
    padding: 1rem 2.5rem;
    border: 1px solid var(--gold-main);
    border-radius: 0;
    background: transparent;
    color: var(--gold-light);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-med);
}

.btn-gold:hover::before {
    transform: scaleY(1);
}

.btn-gold:hover {
    color: var(--bg-dark);
    border-color: transparent;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Index Layout
   ========================================================================== */
/* 1. Cinematic Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(4rem, 9vw, 8rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 300;
}

/* 2. Elegant Marquee */
.marquee-sec {
    background: var(--bg-surface);
    padding: 2rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: scrollLeft 30s linear infinite;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-style: italic;
    color: var(--text-muted);
}

.marquee-track span {
    color: var(--gold-dark);
    margin: 0 3rem;
    font-style: normal;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 3. The Philosophy */
.philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy h2 {
    font-size: 4.5rem;
    line-height: 1.1;
}

.philosophy p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* 4. Service Grid (Boutique Style) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.service-card {
    padding: 4rem 3rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    transition: var(--transition-med);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-med);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-elevated);
}

.service-icon {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold-main);
    font-style: italic;
    margin-bottom: 2rem;
    display: block;
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
    font-size: 1.05rem;
}

/* 5. Premium Interactive Calculator */
.calc-wrapper {
    background: var(--bg-surface);
    padding: 6rem;
    border: 1px solid var(--border-dim);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.calc-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.slider-container {
    margin-top: 3rem;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: var(--border-dim);
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--gold-main);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
    transition: transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    background: var(--gold-main);
}

.calc-output {
    border-left: 1px solid var(--border-dim);
    padding-left: 6rem;
}

.out-block {
    margin-bottom: 3rem;
}

.out-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.out-val {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: var(--text-primary);
    line-height: 1;
}

/* 6. Vertical Industry Expertise */
.expertise {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
}

.expertise-tabs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exp-btn {
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: none;
    transition: var(--transition-med);
    font-style: italic;
}

.exp-btn.active,
.exp-btn:hover {
    color: var(--gold-main);
    padding-left: 1rem;
}

.exp-content {
    display: none;
    padding: 4rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    animation: fadeSlideIn 0.8s ease;
}

.exp-content.active {
    display: block;
}

.exp-content h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.exp-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 7. Campaign Analytics (SVG Animation) */
.analytics-container {
    margin-top: 4rem;
    position: relative;
    height: 400px;
    border-bottom: 1px solid var(--border-dim);
    border-left: 1px solid var(--border-dim);
    padding: 2rem;
}

.chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-path {
    fill: none;
    stroke: url(#goldGradient);
    stroke-width: 4;
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    transition: stroke-dashoffset 3s cubic-bezier(0.19, 1, 0.22, 1);
}

.chart-path.active {
    stroke-dashoffset: 0;
}

.chart-node {
    fill: var(--bg-dark);
    stroke: var(--gold-main);
    stroke-width: 3;
    r: 6;
    opacity: 0;
    transition: opacity 1s ease 1s;
}

.chart-path.active~.chart-node {
    opacity: 1;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* 8. Elegant Testimonials */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.testi-card {
    padding: 4rem;
    background: var(--bg-surface);
    position: relative;
}

.testi-quote {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.testi-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-main);
    font-weight: 500;
}

.testi-company {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

/* 9. Live Chat / Call to Action */
.cta-section {
    text-align: center;
    padding: 12rem 5%;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.05), var(--bg-dark) 60%);
}

.cta-section h2 {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* 10. Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8rem;
}

.contact-info h2 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 3rem;
    position: relative;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-dim);
    padding: 1rem 0;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-med);
}

.form-input:focus {
    border-bottom-color: var(--gold-main);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
}

/* ==========================================================================
   Footer (Strictly Consistent - Ultra Dark)
   ========================================================================== */
footer {
    background: var(--bg-dark);
    padding: 8rem 5% 3rem;
    border-top: 1px solid var(--border-dim);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 6rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 2rem;
    max-width: 400px;
    line-height: 1.8;
    font-weight: 300;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-style: italic;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-med);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-main);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-dim);
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   Legal Pages Specific
   ========================================================================== */
.legal-main {
    padding-top: 200px;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.legal-main h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.legal-content h2 {
    font-size: 2.5rem;
    margin: 5rem 0 2rem;
    color: var(--gold-light);
}

.legal-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.legal-content ul {
    padding-left: 2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.9;
    font-weight: 300;
}

.legal-content li {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {

    .philosophy,
    .calc-wrapper,
    .expertise,
    .contact-grid,
    .testi-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .nav-links {
        display: none;
    }

    .calc-wrapper {
        padding: 4rem 2rem;
    }

    .calc-output {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-dim);
        padding-top: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 6rem 5%;
    }

    .analytics-container {
        height: 250px;
    }

    .exp-content {
        padding: 2rem;
    }
}