/* ==========================================================================
   Base & Typography (Luxury Minimalist Light Theme)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-white: #ffffff;
    --bg-offwhite: #f8f9fa;
    --bg-lightgray: #f0f2f5;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --accent-blue: #0ea5e9;
    --accent-sapphire: #0284c7;
    --border-soft: rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 30px 60px rgba(2, 132, 199, 0.08);
    --font-head: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-white);
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
    /* Custom Cursor */
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    position: relative;
    padding: 8rem 5%;
    border-bottom: 1px solid var(--border-soft);
}

/* ==========================================================================
   Custom Minimalist Cursor
   ========================================================================== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--text-dark);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease-out;
}

.hover-state .cursor-dot {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--accent-blue);
}

.hover-state .cursor-follower {
    opacity: 0;
}

/* ==========================================================================
   Header & Hamburger Navigation (Strictly Consistent)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-slow);
    border-bottom: 1px solid transparent;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 5%;
    box-shadow: var(--shadow-soft);
}

.logo {
    z-index: 1001;
    position: relative;
}

.logo img {
    height: 50px;
    filter: contrast(1.2);
}

/* Hamburger Menu Icon */
.menu-toggle {
    z-index: 1001;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--bg-offwhite);
    transform: scale(1.05);
}

.hamburger {
    width: 24px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-fast);
    transform-origin: left center;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    width: 110%;
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    width: 110%;
}

/* Full-Screen Overlay Nav */
.full-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-slow);
    z-index: 1000;
}

.full-nav.active {
    opacity: 1;
    pointer-events: all;
}

.nav-list {
    list-style: none;
    text-align: center;
}

.nav-list li {
    margin: 2rem 0;
    overflow: hidden;
}

.nav-list a {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--text-dark);
    display: inline-block;
    transform: translateY(100%);
    transition: var(--transition-slow);
}

.full-nav.active .nav-list a {
    transform: translateY(0);
}

.nav-list a:hover {
    color: var(--accent-sapphire);
}

.btn-solid {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    display: inline-block;
    font-size: 1rem;
}

.btn-solid:hover {
    background: var(--accent-sapphire);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.2);
    transform: translateY(-3px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-dark), var(--accent-sapphire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Index Layout (Light Professional)
   ========================================================================== */
/* 1. Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.05), transparent 50%), radial-gradient(circle at 10% 90%, rgba(2, 132, 199, 0.05), transparent 50%);
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

/* 2. Marquee */
.marquee {
    background: var(--bg-offwhite);
    border-bottom: 1px solid var(--border-soft);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: scrollLeft 25s linear infinite;
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 300;
}

.marquee-track span {
    margin: 0 2rem;
    color: var(--accent-blue);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 3. About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 4. Services Grid */
.services {
    background: var(--bg-offwhite);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-white);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-soft);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.3);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid var(--border-soft);
    color: var(--accent-sapphire);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* 5. Clean Calculator */
.calc-section {
    padding: 8rem 5%;
}

.calc-container {
    background: var(--bg-white);
    border-radius: 30px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.calc-header {
    margin-bottom: 3rem;
}

.calc-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.calc-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.range-label {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-lightgray);
    border-radius: 10px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--accent-sapphire);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.calc-results {
    background: var(--bg-offwhite);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    text-align: center;
}

.res-box {
    margin-bottom: 2.5rem;
}

.res-box:last-child {
    margin-bottom: 0;
}

.res-title {
    color: var(--text-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.res-val {
    font-size: 3.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text-dark);
}

/* 6. Industry Tabs */
.industries {
    background: var(--bg-offwhite);
    text-align: center;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUpTab 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-sapphire);
}

.tab-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

@keyframes fadeUpTab {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 7. Campaign Reports (CSS Chart) */
.reports {
    padding: 8rem 5%;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 350px;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    box-shadow: var(--shadow-soft);
}

.bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    width: 15%;
}

.bar {
    width: 100%;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-sapphire));
    border-radius: 10px 10px 0 0;
    position: relative;
    transform-origin: bottom;
    animation: growBar 2s ease forwards;
}

.bar-label {
    margin-top: 1rem;
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--text-gray);
}

@keyframes growBar {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* 8. Testimonials */
.testimonials {
    background: var(--bg-offwhite);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testi-card {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.testi-card p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.testi-author {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.1rem;
}

.testi-role {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 9. Live Chat CTA */
.chat-cta {
    text-align: center;
    background: var(--bg-white);
    padding: 10rem 5%;
}

.pulsing-orb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-sapphire));
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.4);
    animation: pulseOrb 3s infinite alternate;
}

@keyframes pulseOrb {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    }

    100% {
        transform: scale(1.1);
        box-shadow: 0 0 60px rgba(14, 165, 233, 0.6);
    }
}

/* 10. Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    margin-top: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.input-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.input-field {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-soft);
    background: transparent;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.input-field:focus {
    border-bottom-color: var(--accent-sapphire);
}

.input-field::placeholder {
    color: #a0aec0;
}

/* ==========================================================================
   Footer (Strictly Consistent)
   ========================================================================== */
footer {
    background: var(--bg-offwhite);
    padding: 6rem 5% 2rem;
    border-top: 1px solid var(--border-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-gray);
    margin-top: 1.5rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-sapphire);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */
.legal-page {
    padding-top: 150px;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 1rem;
}

.legal-content p {
    color: var(--text-gray);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    color: var(--text-gray);
    font-size: 1.15rem;
    line-height: 1.8;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {

    .about,
    .calc-container,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .calc-container {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 6rem 5%;
    }

    .nav-list a {
        font-size: 2.5rem;
    }

    .chart-container {
        height: 250px;
        padding: 1.5rem;
    }
}