:root {
    --bg: oklch(0.13 0.005 250);
    --fg: oklch(0.97 0 0);
    --card: oklch(0.17 0.008 250);
    --primary: oklch(0.75 0.15 190);
    --primary-fg: oklch(0.13 0.005 250);
    --secondary: oklch(0.22 0.01 250);
    --muted: oklch(0.65 0 0);
    --border: oklch(0.28 0.01 250);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s;
}

#navbar.scrolled {
    background: rgba(20, 20, 25, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

#navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-fg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
}

.primary {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--primary-fg);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--fg);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    transition: background 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--secondary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--fg);
    display: block;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--fg);
    transition: all 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(20px);
}

.mobile-menu a {
    padding: 0.75rem 1rem;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-menu a:hover {
    background: var(--secondary);
    color: var(--fg);
}

.mobile-menu .btn-primary {
    margin-top: 0.5rem;
    justify-content: center;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 160px;
    padding-bottom: 96px;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20, 20, 25, 0.6), rgba(20, 20, 25, 0.8), var(--bg));
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.05;
    filter: blur(80px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.glow-1 {
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
}

.glow-2 {
    bottom: 80px;
    right: 40px;
    width: 384px;
    height: 384px;
    animation-delay: 1.5s;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-glow 3s ease-in-out infinite;
}

#hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 1024px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 672px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    padding: 1rem 2rem;
}

.arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 900px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--primary), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.feature-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fg);
    line-height: 1.2;
}

.feature-desc {
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.2;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

#expertise,
#stats {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
}

#contact {
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 672px;
    margin: 0 auto 4rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--muted);
}

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

.service-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(var(--primary), 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(var(--primary), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(var(--primary), 0.2);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags span {
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    background: var(--secondary);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.expertise-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s;
}

.expertise-card:hover {
    border-color: rgba(var(--primary), 0.3);
}

.expertise-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--muted);
    transition: all 0.3s;
}

.tech-tags span:hover {
    border-color: rgba(var(--primary), 0.3);
    color: var(--fg);
}

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

.process-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.process-card:hover {
    border-color: rgba(var(--primary), 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.process-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.process-number {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.process-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.process-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(var(--primary), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.process-card:hover .process-icon {
    background: rgba(var(--primary), 0.2);
}

.process-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.process-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: rgba(var(--primary), 0.3);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--primary);
}

.stat-label {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: rgba(var(--primary), 0.3);
}

.pricing-card.highlighted {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    background: var(--primary);
    color: var(--primary-fg);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(var(--primary), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.pricing-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card > p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.contact-info .section-label,
.contact-info h2,
.contact-info .section-desc {
    text-align: left;
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(var(--primary), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--muted);
}

.contact-value {
    font-weight: 500;
    color: var(--fg);
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--fg);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group textarea {
    resize: none;
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary), 0.3);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.success-message.show {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--primary), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.success-message h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--muted);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    max-width: 384px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.3s;
}

.social-links a:hover {
    border-color: rgba(var(--primary), 0.3);
    color: var(--fg);
}

.social-links svg {
    width: 16px;
    height: 16px;
}

.footer-links h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--fg);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--fg);
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in-up 0.7s ease-out forwards;
}

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

    .mobile-toggle {
        display: block;
    }

    .mobile-menu.open {
        display: flex;
    }

    #hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .expertise-grid,
    .process-grid,
    .stats-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
