/* -----------------------------
   VARIABLES & THEMING
----------------------------- */
:root {
    /* Color Palette - Deeper slate & vibrant accents */
    --bg-dark: #030712;
    --bg-alt: #0b0f19;
    --surface-dark: rgba(15, 23, 42, 0.4);
    --surface-border: rgba(255, 255, 255, 0.05);

    --primary-blue: #0284c7;
    --primary-light: #38bdf8;
    --accent-dark: #4f46e5;
    --gradient-1: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #38bdf8 0%, #4f46e5 100%);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

    /* Spacing & Layout */
    --container-max: 1200px;
    --section-gap: 8rem;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -----------------------------
   RESET & BASE STYLES
----------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.section {
    padding: var(--section-gap) 0;
}

.bg-alternate {
    background-color: var(--bg-alt);
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* -----------------------------
   COMPONENTS
----------------------------- */
/* Glassmorphism Classes */
.glass-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--trans-medium);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans-medium);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4f46e5 0%, #38bdf8 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--trans-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary-light);
    border-radius: 2rem;
}

.btn-nav:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

/* -----------------------------
   NAVIGATION
----------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--trans-medium);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--bg-dark);
    bottom: 0;
    right: 0;
    border-radius: 6px 0 0 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--trans-medium);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--trans-fast);
}

/* -----------------------------
   HERO SECTION
----------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(0, 0, 0, 0) 60%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.hero-bg-glow.glow-2 {
    top: 40%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 2rem;
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.05);
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    max-width: 90%;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Animation */
.visual-card {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card-header {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
}

.stats-card {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--surface-border);
}

.stat-icon {
    font-size: 2rem;
}

.stat-info h4 {
    margin: 0;
    font-size: 1rem;
}

.stat-info p {
    margin: 0;
    font-size: 0.8rem;
}

/* -----------------------------
   SOLUTIONS SECTION
----------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.1), 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--trans-medium);
}

.solution-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: inset 0 0 30px rgba(56, 189, 248, 0.2), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.solution-card h3 {
    margin-bottom: 1rem;
}

.solutions-footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

/* -----------------------------
   PROCESS SECTION
----------------------------- */
.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.subtitle {
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

/* Connecting Line */
.steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
    z-index: 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-light);
}

/* Orb Animation */
.glass-orb-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-orb {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, rgba(6, 182, 212, 0.2) 40%, rgba(3, 7, 18, 0.9) 100%);
    box-shadow:
        inset 0 0 60px rgba(6, 182, 212, 0.4),
        0 0 120px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: inset 0 0 50px rgba(6, 182, 212, 0.3), 0 0 100px rgba(59, 130, 246, 0.1);
    }

    100% {
        transform: scale(1.05);
        box-shadow: inset 0 0 80px rgba(6, 182, 212, 0.5), 0 0 150px rgba(59, 130, 246, 0.25);
    }
}

.floating-badge {
    position: absolute;
    background: var(--surface-dark);
    backdrop-filter: blur(8px);
    border: 1px solid var(--surface-border);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-badge .check {
    color: #10b981;
    font-weight: bold;
}

.badge-1 {
    top: 15%;
    left: 0;
    animation: float 5s ease-in-out infinite 0s;
}

.badge-2 {
    bottom: 20%;
    right: 0;
    animation: float 6s ease-in-out infinite 1s;
}

.badge-3 {
    bottom: 10%;
    left: 10%;
    animation: float 5.5s ease-in-out infinite 2s;
}

/* -----------------------------
   VALUE SECTION
----------------------------- */
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--surface-dark);
    border: 1px solid var(--surface-border);
    border-radius: 1.5rem;
    padding: 3rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.check-icon::after {
    content: '';
    width: 6px;
    height: 10px;
    border-right: 2px solid #10b981;
    border-bottom: 2px solid #10b981;
    transform: rotate(45deg) translate(-1px, -2px);
}

/* -----------------------------
   TESTIMONIALS SECTION
----------------------------- */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    padding: 3rem;
    text-align: center;
}

.quote-icon {
    font-size: 6rem;
    line-height: 1;
    color: rgba(56, 189, 248, 0.15);
    font-family: serif;
    position: absolute;
    top: 0rem;
    left: 1.5rem;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
}

.gradient-bg {
    background: var(--gradient-1);
    color: #000;
}

.author-info {
    text-align: left;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* -----------------------------
   CTA SECTION
----------------------------- */
.cta-box {
    text-align: center;
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--surface-dark) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    position: relative;
    z-index: 2;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem auto;
    position: relative;
    z-index: 2;
}

.cta-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--surface-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-family: var(--font-sans);
    outline: none;
    transition: var(--trans-fast);
}

.cta-form input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* -----------------------------
   FOOTER
----------------------------- */
.footer {
    background-color: #04070d;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--surface-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--surface-border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* -----------------------------
   ANIMATIONS UTILS (JS Driven)
----------------------------- */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

/* -----------------------------
   MEDIA QUERIES
----------------------------- */
@media (max-width: 992px) {

    .hero-content,
    .process-wrapper,
    .value-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 8rem;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.5rem auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .process-wrapper {
        gap: 3rem;
    }

    .value-grid {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(7, 11, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        border-left: 1px solid var(--surface-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .cta-form {
        flex-direction: column;
    }

    .glass-orb {
        width: 250px;
        height: 250px;
    }
}