@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS VARIABLES & GLOBAL SETTINGS (NEW THEME)
   ========================================================================== */
:root {
    /* Deep Obsidian & Green-Tinted Darks */
    --bg-main: #060907;
    --bg-secondary: #0b110d;
    --bg-card: rgba(255, 255, 255, 0.02);

    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: #9eab9e;

    /* Neon Mint & Violet Accents */
    --accent-1: #00e676;
    /* Neon Mint */
    --accent-2: #1de9b6;
    /* Teal */
    --accent-3: #651fff;
    /* Deep Violet */
    --accent-4: #d500f9;
    /* Neon Purple */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --gradient-secondary: linear-gradient(135deg, var(--accent-3), var(--accent-4));

    /* Glassmorphism & Shadows */
    --glass-bg: rgba(11, 17, 13, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
    --shadow-glow: 0 0 35px rgba(0, 230, 118, 0.25);

    /* Utilities */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom Cursor */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   CUSTOM CURSOR & SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-2);
    border-radius: 10px;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-1);
    box-shadow: 0 0 10px var(--accent-1);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 230, 118, 0.6);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-alt {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    /* Sharper edges for new tech feel */
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 230, 118, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--accent-1);
    background: rgba(0, 230, 118, 0.05);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--accent-1);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ==========================================================================
   HEADER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 65px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
}

.hero-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    animation: float 12s infinite ease-in-out alternate;
}

.blob-1 {
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--accent-1);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: var(--accent-3);
    animation-delay: -6s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-text-wrap {
    max-width: 650px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-3d-visual {
    position: relative;
    height: 500px;
    perspective: 1200px;
}

.floating-card {
    position: absolute;
    background: rgba(11, 17, 13, 0.4);
    border: 1px solid rgba(0, 230, 118, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    animation: float3d 7s infinite ease-in-out alternate;
}

.card-main {
    top: 10%;
    right: 10%;
    width: 360px;
    height: 260px;
    z-index: 2;
    transform: rotateY(-20deg) rotateX(15deg);
}

.card-sub-1 {
    bottom: 5%;
    left: 0;
    width: 260px;
    height: 190px;
    background: linear-gradient(135deg, rgba(101, 31, 255, 0.1), rgba(213, 0, 249, 0.1));
    border-color: rgba(101, 31, 255, 0.2);
    z-index: 1;
    animation-delay: -2s;
}

.card-sub-2 {
    top: -5%;
    left: 15%;
    width: 210px;
    height: 160px;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(29, 233, 182, 0.1));
    z-index: 3;
    animation-delay: -4s;
}

/* ==========================================================================
   TICKER SECTION
   ========================================================================== */
.ticker-section {
    padding: 3.5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    display: flex;
}

.ticker-track {
    display: flex;
    gap: 4rem;
    animation: scrollTicker 35s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-size: 1.6rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   SERVICES SECTION (3D HOVER)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-12px) perspective(1000px) rotateX(6deg) rotateY(-6deg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 0.15;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-section {
    background: var(--bg-secondary);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.industry-box {
    padding: 2.5rem;
    background: var(--bg-main);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.industry-box:hover {
    border-color: var(--accent-1);
    box-shadow: 0 10px 40px rgba(0, 230, 118, 0.08);
}

/* ==========================================================================
   INTERACTIVE CALCULATOR SECTION
   ========================================================================== */
.calculator-wrap {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-1);
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-1);
}

.calc-results {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(29, 233, 182, 0.05));
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.result-value {
    font-size: 4.8rem;
    font-weight: 800;
    color: var(--accent-1);
    margin: 1rem 0;
    text-shadow: 0 0 25px rgba(0, 230, 118, 0.3);
}

/* ==========================================================================
   CAMPAIGN REPORTS TABS
   ========================================================================== */
.reports-section {
    background: var(--bg-secondary);
}

.reports-container {
    margin-top: 4rem;
}

.report-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-primary);
    color: #000;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(0, 230, 118, 0.3);
}

.report-content {
    display: none;
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 4rem;
    animation: fadeIn 0.5s ease forwards;
}

.report-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.chart-sim {
    height: 320px;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
    position: relative;
}

.bar span {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.quote-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 0.5rem;
    right: 2rem;
    font-family: serif;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.client-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

/* ==========================================================================
   FOOTER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 6rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 1.5rem;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-1);
    transform: translateX(6px);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px 0 0 6px;
    color: #fff;
    outline: none;
}

.newsletter-form button {
    padding: 1.1rem 2rem;
    background: var(--gradient-primary);
    color: #000;
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: bold;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-btn {
    width: 65px;
    height: 65px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glow);
    border: none;
    cursor: none;
    transition: transform 0.3s;
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-box {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 340px;
    height: 420px;
    background: var(--bg-main);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.chat-box.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-header {
    padding: 1.5rem;
    background: rgba(0, 230, 118, 0.1);
    border-bottom: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 12px 12px 0 0;
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.chat-msg {
    background: var(--bg-secondary);
    padding: 1.2rem;
    border-radius: 12px 12px 12px 0;
    font-size: 0.95rem;
    border: 1px solid var(--glass-border);
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    background: var(--bg-secondary);
    border-radius: 0 0 12px 12px;
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
}

/* ==========================================================================
   LEGAL PAGES & CONTACT STYLES
   ========================================================================== */
.page-hero {
    padding: 13rem 5% 6rem;
    background: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: var(--accent-3);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.legal-content {
    max-width: 900px;
    margin: 4rem auto;
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.legal-content h2 {
    margin-top: 2.5rem;
    font-size: 1.8rem;
    color: #fff;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin: 5rem auto;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 4rem 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(0, 230, 118, 0.05);
}

textarea.form-control {
    height: 160px;
    resize: none;
}

.contact-info-card {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--accent-3);
}

/* ==========================================================================
   ANIMATIONS & MEDIA QUERIES
   ========================================================================== */
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(6%, 8%) scale(1.05);
    }
}

@keyframes float3d {
    0% {
        transform: translateY(0) rotateY(-20deg) rotateX(15deg);
    }

    100% {
        transform: translateY(-25px) rotateY(-15deg) rotateX(20deg);
    }
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-wrap {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .calculator-wrap,
    .report-content.active,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-3d-visual {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .chart-sim {
        display: none;
    }

    .legal-content {
        padding: 2.5rem 1.5rem;
    }

    .contact-form {
        padding: 2.5rem 1.5rem;
    }
}