/* Global Theme - Corporate Future */
:root {
    --bg-dark: #020204;
    --bg-surface: #0a0a0c;
    --bg-glass: rgba(255, 255, 255, 0.02);

    --primary: #3b82f6;
    /* Enterprise Blue */
    --primary-dim: rgba(59, 130, 246, 0.1);
    --secondary: #8b5cf6;
    /* Innovation Violet */
    --accent: #10b981;
    /* Success Green */

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;

    --border-light: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);

    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Components --- */

/* Navbar */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo .dot {
    color: var(--primary);
    font-size: 2rem;
    line-height: 0;
    margin-top: -10px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: #fff;
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* --- Sections --- */

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    opacity: 0.7;
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-new {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* Stats/Features Bar */
.features-bar {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 32px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    background: rgba(255, 255, 255, 0.01);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Tech Stack Marquee */
.tech-stack-section {
    padding: 40px 0;
    background: var(--bg-dark);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.tech-track {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    margin: 0 32px;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.tech-item i {
    font-size: 1.4rem;
    opacity: 0.7;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Services */
.services,
.industries,
.ai-lab,
.full-service,
.kits,
.contact {
    padding: 120px 5%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 32px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Industries (New) */
.industries {
    background: var(--bg-surface);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    background: var(--bg-dark);
    overflow: hidden;
}

.ind-card {
    padding: 40px;
    border-right: 1px solid var(--border-light);
    transition: background 0.3s;
}

.ind-card:last-child {
    border-right: none;
}

.ind-card:hover {
    background: rgba(59, 130, 246, 0.03);
}

.ind-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 24px;
    opacity: 0.8;
}

.ind-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.ind-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Results Stats */
.results-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(90deg, #020204, #0a0a0c, #020204);
}

.result-item {
    text-align: center;
    padding: 60px 20px;
    border-right: 1px solid var(--border-light);
}

.result-item:last-child {
    border-right: none;
}

.big-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    font-weight: 600;
}

/* AI Lab / Terminal */
.ai-lab {
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #0d0d10 0%, #020204 100%);
    padding-bottom: 0;
}

.terminal-window {
    max-width: 900px;
    margin: 40px auto 0;
    background: #0d0d10;
    border: 1px solid var(--border-light);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-header {
    background: #15151a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-title {
    font-family: monospace;
    color: var(--text-dark);
    margin: 0 auto;
    font-size: 0.85rem;
}

.terminal-body {
    padding: 40px;
    font-family: 'Courier New', monospace;
    text-align: left;
    color: #a0a0a0;
    font-size: 1rem;
    height: 300px;
}

.prompt {
    color: var(--primary);
    margin-right: 12px;
}

.success {
    color: #10b981;
}

/* Timeline */
.methodology {
    padding: 120px 5%;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background: var(--border-light);
    top: 0;
    bottom: 0;
    left: 50%;
}

.timeline-item {
    width: 50%;
    padding: 0 40px 40px;
    position: relative;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item h3 {
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Full Service (360) */
.full-service {
    background: #0a0a0c;
    border-top: 1px solid var(--border-light);
}

.full-service-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.fs-visual {
    width: 400px;
    height: 400px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Placeholder for animation */
.fs-text h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.fs-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.fs-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.fs-list i {
    color: var(--accent);
    margin-top: 4px;
}

/* Kits (Pricing) */
.kits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.kit-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.kit-card.featured {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(59, 130, 246, 0.3);
}

.kit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.kit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
    margin-bottom: 24px;
}

.kit-features {
    margin: 24px 0 32px;
    text-align: left;
}

.kit-features li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.kit-features li i {
    color: var(--accent);
    margin-top: 4px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #fff;
}

.contact-form {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.contact-form button {
    width: 100%;
}

/* Partners Bar */
.partners-bar {
    padding: 40px 5%;
    border-top: 1px solid var(--border-light);
    background: #020204;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.partner-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

.partner-logos {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: 0.3s;
}

.partner-logo:hover {
    color: #fff;
    opacity: 1;
}

/* Footer */
footer {
    padding: 60px 5%;
    background: #020204;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: block;
}

.footer-links a {
    margin: 0 16px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    margin-top: 40px;
    color: var(--text-dark);
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        width: 95%;
    }

    .nav-links {
        display: none;
    }

    /* Hide for now, add js toggle later */
    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features-bar,
    .results-bar,
    .industry-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .result-item,
    .ind-card {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .full-service-content {
        flex-direction: column;
        gap: 40px;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-item.right {
        left: 0;
    }
}

/* Utils */
/* Fail-safe: Default visible */
.reveal-up {
    opacity: 1;
    transform: none;
    transition: 0.6s var(--ease-out);
}

/* Only hide if JS is loaded */
body.js-active .reveal-up {
    opacity: 0;
    transform: translateY(30px);
}

body.js-active .reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}