/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --bg-core: #0c0603;              /* Burnt near-black */
    --text-white: #fff7ed;           /* Warm white */
    --text-gray: #a8a29e;            /* Stone gray */

    /* Solar Gradients */
    --grad-1: #ff7a18;               /* Sunset orange */
    --grad-2: #ff3d81;               /* Hot pink */
    --grad-3: #ffb703;               /* Solar gold */
    --grad-4: #ffd166;               /* Soft amber */

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-shine: rgba(255, 255, 255, 0.16);
    --blur-strength: 18px;

    /* Fonts */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1300px;
    --header-height: 100px;

    /* Animation Easing */
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-core);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Moving Gradient Background Mesh */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(123, 44, 191, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(76, 201, 240, 0.15), transparent 25%);
    filter: blur(60px);
    animation: meshMove 20s infinite alternate;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================
   2. UTILITY & COMPONENTS
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-pad {
    padding: 140px 0;
    position: relative;
}

/* Glass Card Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: 0.4s var(--ease-smooth);
}

.glass-panel:hover {
    border-color: var(--glass-shine);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(76, 201, 240, 0.1);
}

/* Buttons */
.btn-glow {
    position: relative;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--grad-2), var(--grad-1));
    z-index: -1;
    transition: transform 0.5s var(--ease-smooth);
    transform: scaleX(0);
    transform-origin: left;
}

.btn-glow:hover::before {
    transform: scaleX(1);
}

.btn-glow:hover {
    border-color: transparent;
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.4);
}

.btn-fill {
    background: var(--text-white);
    color: var(--bg-core);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

.btn-fill:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/* Gradient Text */
.txt-gradient {
    background: linear-gradient(135deg, #fff 20%, var(--grad-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   3. HEADER (Floating Island Style)
   ========================================= */
.nav-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transition: top 0.3s;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    height: 70px;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--grad-3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--grad-3);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Glowing orb background for Hero */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: floatOrb 10s infinite ease-in-out;
}

.orb-1 {
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--grad-1);
}

.orb-2 {
    bottom: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--grad-3);
    animation-delay: -5s;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--grad-3);
    border-radius: 30px;
    color: var(--grad-3);
    font-size: 0.8rem;
    margin-bottom: 25px;
    background: rgba(76, 201, 240, 0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.scroll-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--text-white), transparent);
    animation: scrollDown 2s infinite;
}

/* =========================================
   5. SERVICES (Horizontal Glass Cards)
   ========================================= */
.services-section {
    position: relative;
}

.section-head {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-head h2 {
    font-size: 3rem;
}

.section-head p {
    max-width: 400px;
    color: var(--text-gray);
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.svc-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    transition: 0.5s;
}

.svc-card:hover::before {
    transform: scale(1.5);
}

.svc-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--grad-4);
}

.svc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.svc-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.svc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-white);
}

.svc-link i {
    transition: 0.3s;
}

.svc-card:hover .svc-link i {
    transform: translateX(5px);
    color: var(--grad-4);
}

/* =========================================
   6. INTERACTIVE FUNNEL SIMULATOR
   ========================================= */
.funnel-section {
    background: radial-gradient(circle at center, #1a1a1a, #050505);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.funnel-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.funnel-ui {
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.funnel-step {
    margin-bottom: 30px;
    opacity: 0.5;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 15px;
    border-radius: 10px;
}

.funnel-step:hover,
.funnel-step.active {
    opacity: 1;
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

.step-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #222;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--grad-1), var(--grad-3));
    width: 0%;
    transition: width 1s var(--ease-elastic);
}

.funnel-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
    transition: 0.5s;
    opacity: 0;
    transform: scale(0);
}

.visual-node.show {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px var(--grad-2);
}

/* =========================================
   7. MARQUEE & INDUSTRIES
   ========================================= */
.marquee-wrapper {
    overflow: hidden;
    padding: 40px 0;
    background: var(--text-white);
    transform: rotate(-2deg) scale(1.05);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    font-size: 3rem;
    font-weight: 900;
    color: var(--bg-core);
    padding: 0 40px;
    text-transform: uppercase;
    font-family: var(--font-head);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.ind-box {
    height: 200px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
}

.ind-box:hover {
    background: var(--grad-1);
    border-color: transparent;
    transform: translateY(-5px);
}

.ind-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.ind-box span {
    font-weight: 600;
}

/* =========================================
   8. FOOTER
   ========================================= */
.footer {
    border-top: 1px solid var(--glass-border);
    background: #000;
    padding: 100px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 300px;
    color: var(--text-gray);
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--text-white);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--grad-3);
    padding-left: 5px;
}

.newsletter input {
    background: #111;
    border: 1px solid #333;
    padding: 15px;
    color: white;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.footer-btm {
    text-align: center;
    color: #444;
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid #111;
}

/* =========================================
   9. PAGE SPECIFIC (Contact, Legal)
   ========================================= */
.page-head {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.2), transparent 50%);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
}

.contact-info {
    background: #0f0f0f;
    padding: 60px;
}

.contact-form-wrap {
    background: #1a1a1a;
    padding: 60px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.custom-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
}

.custom-input:focus {
    outline: none;
    border-color: var(--grad-3);
}

.legal-body {
    background: #0a0a0a;
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
}

.legal-body h2 {
    color: white;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* =========================================
   10. ANIMATIONS & MEDIA QUERIES
   ========================================= */
@keyframes meshMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes scrollDown {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    50% {
        height: 50px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 100px;
        opacity: 0;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {

    .funnel-container,
    .contact-split,
    .section-head,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: 20px;
        right: 20px;
        background: #111;
        padding: 30px;
        flex-direction: column;
        border-radius: 20px;
        display: none;
        border: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-pad {
        padding: 80px 0;
    }
}