/* Variables & Reset */
:root {
    --bg-color: #050508;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --accent-cyan: #00f0ff;
    --accent-purple: #b026ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Glowing Orbs */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.3;
}

.bg-glow-cyan {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
}

.bg-glow-purple {
    bottom: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    border-radius: 50px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(176, 38, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--accent-purple);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(176, 38, 255, 0.1);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Metrics */
.metrics {
    display: flex;
    gap: 3rem;
    padding: 2rem 4rem;
}

.metric h3 {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.metric p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Marquee */
.trusted-by {
    padding: 3rem 0;
    overflow: hidden;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trusted-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.marquee-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
}

.marquee {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    align-items: center;
}

.marquee span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #555;
    transition: color 0.3s;
}

.marquee span:hover {
    color: var(--text-main);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Shared Sections */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* Services */
.services {
    padding: 8rem 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-muted);
}

/* Case Studies */
.work {
    padding: 4rem 2rem 8rem;
}

.case-study {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem;
}

.case-content {
    flex: 1;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(176, 38, 255, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(176, 38, 255, 0.3);
}

.case-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.case-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    color: var(--text-main);
}

.features li {
    margin-bottom: 0.5rem;
}

/* Flowchart Visuals */
.case-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px dashed var(--glass-border);
}

.flow-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
}

.flow-box.highlight {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.arrow {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.flow-grid {
    display: flex;
    gap: 2rem;
}

.flow-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-stack-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tech-icon {
    background: var(--glass-bg);
    border: 1px solid var(--accent-purple);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
}

/* Contact CTA */
.cta-section {
    padding-bottom: 8rem;
}

.cta-box {
    text-align: center;
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    width: 300px;
    outline: none;
}

.contact-form input:focus {
    border-color: var(--accent-cyan);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a:hover {
    color: var(--accent-cyan);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.step-num {
    font-size: 4rem;
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -10px;
    right: 10px;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

/* Tech Stack Marquee (Reverse) */
.tech-stack-section {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 3rem;
    border-top: 4px solid var(--accent-purple);
}

.stars {
    color: #ffb400;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.author {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    margin: 0;
}

.faq-question span {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
    /* turns + into x */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .metrics {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem;
    }

    .case-study {
        flex-direction: column;
    }

    .contact-form {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}