:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-raised: #1e1e1e;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-yellow: #f7e439;
    --color-magenta: #e91e8c;
    --color-teal: #2dd4bf;
    --font-main: 'Poppins', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.logo span {
    color: var(--color-teal);
}

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

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    background:
        linear-gradient(135deg, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
        var(--color-bg);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-bg);
    background: var(--color-yellow);
    padding: 0.6rem 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 2rem;
    transform: skewX(-3deg);
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
    animation-delay: 0.2s;
}

.hero-tagline span {
    display: inline-block;
    transform: skewX(3deg);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
    animation-delay: 0.35s;
}

.hero h1 .highlight {
    color: var(--color-magenta);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
    animation-delay: 0.5s;
}

.cta-group {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
    animation-delay: 0.65s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2rem;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: skewX(-3deg);
}

.btn span {
    display: inline-block;
    transform: skewX(3deg);
}

.btn-primary {
    background: var(--color-yellow);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: #fff047;
    transform: skewX(-3deg) translateY(-3px);
    box-shadow: 0 8px 30px rgba(247, 228, 57, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn-secondary:hover {
    border-color: var(--color-magenta);
    color: var(--color-magenta);
}

.cta-center {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Why AI Section */
.why-ai {
    padding: 6rem 4rem;
    background: var(--color-bg);
    position: relative;
}

.why-ai-content {
    max-width: 1200px;
    margin: 0 auto;
}

.why-ai h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.why-ai h2 .highlight {
    color: var(--color-yellow);
}

.why-ai-intro {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.why-ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.why-ai-card {
    background: var(--color-surface);
    padding: 2rem;
    border-left: 3px solid var(--color-teal);
    transition: all 0.3s ease;
}

.why-ai-card:hover {
    background: var(--color-surface-raised);
    transform: translateX(6px);
    border-left-color: var(--color-yellow);
}

.why-ai-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-teal);
    transition: color 0.3s ease;
}

.why-ai-card:hover h3 {
    color: var(--color-yellow);
}

.why-ai-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Services Section */
.services {
    padding: 6rem 4rem;
    background: var(--color-surface);
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title .accent {
    color: var(--color-teal);
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 380px;
    text-align: right;
    font-size: 1rem;
}

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

.service-card {
    background: var(--color-bg);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--color-yellow);
    transition: width 0.35s ease;
}

.service-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.service-card:hover::after {
    width: 100%;
}

.service-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-surface-raised);
    line-height: 1;
    margin-bottom: 0.75rem;
    transition: color 0.35s ease;
}

.service-card:hover .service-number {
    color: var(--color-magenta);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* How We Work Section */
.how-we-work {
    padding: 6rem 4rem;
    background: var(--color-bg);
    position: relative;
}

.how-we-work-content {
    max-width: 1000px;
    margin: 0 auto;
}

.how-we-work h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.how-we-work h2 .highlight {
    color: var(--color-teal);
}

.how-we-work-intro {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-teal), var(--color-yellow));
    opacity: 0.3;
}

.workflow-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-teal);
    line-height: 1;
    min-width: 5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.workflow-step:hover .step-number {
    color: var(--color-yellow);
}

.step-content {
    background: var(--color-surface);
    padding: 2rem 2.5rem;
    border-left: 3px solid var(--color-teal);
    flex: 1;
    transition: all 0.3s ease;
}

.workflow-step:hover .step-content {
    background: var(--color-surface-raised);
    border-left-color: var(--color-yellow);
    transform: translateX(6px);
}

.step-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.step-content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.step-badge {
    display: inline-block;
    background: var(--color-yellow);
    color: var(--color-bg);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1rem;
    transform: skewX(-3deg);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-badge:hover {
    background: #fff047;
    transform: skewX(-3deg) translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 228, 57, 0.3);
}

.step-badge span {
    display: inline-block;
    transform: skewX(3deg);
}

/* About Section */
.about {
    padding: 6rem 4rem;
    background: var(--color-magenta);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-text);
}

.about-text h2 .highlight {
    color: var(--color-yellow);
}

.about-text p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.75;
}

.case-studies {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-studies-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-yellow);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.case-studies-toggle {
    display: flex;
    gap: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    overflow: hidden;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: none;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toggle-btn:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.05);
}

.toggle-btn.active {
    color: var(--color-bg);
    background: var(--color-yellow);
}

.case-study {
    padding: 1.25rem 1.5rem;
    background: rgba(0,0,0,0.25);
    border-left: 3px solid var(--color-yellow);
    transition: all 0.3s ease;
}

.case-study:hover {
    background: rgba(0,0,0,0.35);
    transform: translateX(6px);
}

.case-study-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-yellow);
    margin-bottom: 0.4rem;
    transition: all 0.3s ease;
}

.case-study p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* FAQ Section */
.faq {
    padding: 6rem 4rem;
    background: var(--color-surface);
    position: relative;
}

.faq-content {
    max-width: 1000px;
    margin: 0 auto;
}

.faq h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.faq h2 .highlight {
    color: var(--color-magenta);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--color-bg);
    padding: 2rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-teal);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 8rem 4rem;
    text-align: center;
    background: var(--color-bg);
}

.contact h2 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.contact-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-email {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--color-yellow);
    color: var(--color-bg);
    text-decoration: none;
    padding: 1rem 2.5rem;
    transform: skewX(-3deg);
    transition: all 0.3s ease;
}

.contact-email span {
    display: inline-block;
    transform: skewX(3deg);
}

.contact-email:hover {
    background: #fff047;
    transform: skewX(-3deg) translateY(-3px);
    box-shadow: 0 8px 30px rgba(247, 228, 57, 0.25);
}

/* Footer */
footer {
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--color-bg);
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-logo span {
    color: var(--color-teal);
}

.footer-text {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        padding: 1.25rem 2rem;
    }

    .hero, .why-ai, .services, .how-we-work, .about, .faq, .contact {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-ai-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .why-ai-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps::before {
        display: none;
    }

    .workflow-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        font-size: 2rem;
        min-width: auto;
        text-align: left;
    }

    .step-content {
        padding: 1.5rem 1.75rem;
    }

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

    .btn {
        justify-content: center;
    }

    .faq-item {
        padding: 1.5rem 1.75rem;
    }

    .case-studies-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-btn {
        font-size: 0.7rem;
        padding: 0.45rem 0.85rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}
