:root {
    --brand-primary: #FFD900;
    --brand-secondary: #171758;
    --bg-base: #0a0a2a;
    --bg-surface: #171758;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dark: #0f172a;
    --font-main: 'Inter', sans-serif;
    --font-headings: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    --shadow-glow: 0 0 20px rgba(255, 217, 0, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: var(--font-headings); line-height: 1.2; }
a { text-decoration: none; color: inherit; }

:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 2000;
    background: var(--brand-primary);
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding var(--transition-speed), box-shadow var(--transition-speed);
}

.navbar.scrolled {
    padding: 15px 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.brand-logo img {
    height: 35px;
    object-fit: contain;
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.mobile-menu-btn:hover { color: var(--brand-primary); }

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-speed);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--brand-primary);
    transition: width var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-main); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
    background-color: var(--brand-primary);
    color: var(--text-dark) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

#app-root {
    margin-top: 80px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fade-in { animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-main); }
.section-title span { color: var(--brand-primary); }
.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 217, 0, 0.1);
    border: 1px solid rgba(255, 217, 0, 0.3);
    border-radius: 30px;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary { background-color: var(--brand-primary); color: var(--text-dark); }
.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #ffe64d;
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background-color: rgba(255, 217, 0, 0.05);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.card {
    background-color: var(--bg-surface);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-speed);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 217, 0, 0.3);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 217, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--brand-primary);
    margin-bottom: 25px;
}

.card-title { font-size: 1.4rem; margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }

.tech-badge {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 8px 10px 0;
    border-radius: 999px;
    background: rgba(255, 217, 0, 0.08);
    border: 1px solid rgba(255, 217, 0, 0.25);
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.stack-panel {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.hero-section { text-align: center; padding: 100px 20px 60px; position: relative; }

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    color: var(--text-main);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
}

.hero-title span { color: var(--brand-primary); }

.client-marquee-container {
    padding: 20px 0;
    overflow: hidden;
    margin-bottom: 80px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-item {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin: 0 15px;
    border-radius: 12px;
    transition: all var(--transition-speed);
}

.marquee-item img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(2) opacity(0.5);
    transition: all var(--transition-speed);
}

.marquee-item:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.marquee-item:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.client-grid-card {
    background-color: var(--bg-surface);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed);
    height: 150px;
}

.client-grid-card img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(2) opacity(0.5);
    transition: all var(--transition-speed);
}

.client-grid-card:hover {
    background-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.client-grid-card:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
}

.case-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 72px;
}

.case-card {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 36px;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 36px;
}

.case-card.reverse .case-visual { order: 2; }

.case-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 18px;
    max-width: 220px;
    min-height: 72px;
}

.case-logo-wrap img {
    max-height: 48px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.case-kicker {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.case-title {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.case-product {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.case-block h3 {
    font-size: 0.92rem;
    color: var(--brand-primary);
    margin: 16px 0 8px;
}

.case-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.case-dash {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 22px;
}

.case-dash-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.case-dash-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-chip {
    background: rgba(255, 217, 0, 0.08);
    border: 1px solid rgba(255, 217, 0, 0.22);
    color: var(--brand-primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

.case-teaser { color: inherit; }
.case-teaser .card-title { font-size: 1.2rem; }

@media (max-width: 768px) {
    .case-card,
    .case-card.reverse {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .case-card.reverse .case-visual { order: 0; }
}

.process-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.process-list li {
    display: flex;
    gap: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.process-list strong { color: var(--text-main); }

.process-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 217, 0, 0.12);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.mockup-window {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.mockup-dot:nth-child(1) { background: #f87171; }
.mockup-dot:nth-child(2) { background: #fbbf24; }
.mockup-dot:nth-child(3) { background: #34d399; }

.mockup-body { padding: 28px; }

.mockup-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.mockup-line.short { width: 42%; }
.mockup-line.accent { background: rgba(255, 217, 0, 0.35); width: 64%; }

.mockup-cta-bar {
    margin-top: 18px;
    height: 36px;
    width: 46%;
    border-radius: 8px;
    background: var(--brand-primary);
}

.section-cta {
    margin-top: 40px;
}

.legal-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 18px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto 80px;
    width: 100%;
}

#multi-step-form-wrapper {
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

#multi-step-form-wrapper.card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.03);
}

.step-indicator-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-base);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all var(--transition-speed);
}

.step-dot.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--brand-secondary);
    box-shadow: var(--shadow-glow);
}

.step-dot.completed {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

#audit-form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-step { display: none; animation: fadeIn 0.4s ease forwards; flex-grow: 1; }
.form-step.active { display: block; }

.form-group { margin-bottom: 20px; text-align: left; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.form-control:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 0;
    border-color: var(--brand-primary);
    background-color: rgba(0, 0, 0, 0.4);
}

.form-control option {
    color: #111;
    background: #fff;
}

.form-control.is-invalid {
    border-color: #ff6b6b;
}

.field-error {
    display: none;
    color: #ff8a8a;
    font-size: 0.82rem;
    margin-top: 6px;
}

.field-error.visible { display: block; }

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    width: 100%;
}

.form-feedback {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-feedback.error {
    display: block;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.35);
    color: #ffb4b4;
}

.form-success {
    text-align: center;
    padding: 20px 10px;
}

.form-success i {
    font-size: 2.4rem;
    color: #4CAF50;
    margin-bottom: 16px;
}

.consent-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    cursor: pointer;
}

.consent-box input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--brand-primary);
}

.consent-box a {
    color: var(--brand-primary);
    text-decoration: underline;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn:disabled {
    background-color: #555;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    border: none;
}

.page-404 {
    text-align: center;
    padding: 80px 20px;
}

.code-card {
    background: #0f172a;
    border-color: #1e293b;
}

.code-card pre {
    color: #a5b4fc;
    font-family: monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    line-height: 1.5;
}

.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    padding-top: 0;
}

.footer-col h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-headings);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-logo {
    height: 35px;
    margin-bottom: 20px;
    filter: opacity(0.8);
    transition: filter var(--transition-speed);
}

.footer-logo:hover { filter: opacity(1); }

.footer-contact p,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact a:hover { color: var(--brand-primary); }
.footer-contact i { color: var(--brand-primary); font-size: 1rem; }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-speed), padding-left var(--transition-speed);
}

.footer-col ul a:hover {
    color: var(--brand-primary);
    padding-left: 5px;
}

.social-icons { display: flex; gap: 15px; }

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: var(--brand-primary);
    color: var(--brand-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: center;
}

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

#cookie-banner {
    position: fixed;
    bottom: -150%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 42, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 217, 0, 0.2);
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
}

#cookie-banner.show { bottom: 0; }

.cookie-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--brand-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.cookie-btn-accept {
    background-color: var(--brand-primary);
    color: var(--text-dark);
    border: none;
}

.cookie-btn-accept:hover {
    background-color: #ffe64d;
    box-shadow: var(--shadow-glow);
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.05);
}

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3.2rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.4rem; letter-spacing: -0.5px; }
    .hero-section { padding: 80px 15px 40px; }
    .section-title { font-size: 2rem; }
    .mobile-menu-btn { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 12px; font-size: 1.1rem; }
    .nav-cta { display: inline-block; width: 100%; max-width: 250px; margin-top: 10px; }

    .hero-section .btn { width: 100%; }
    .hero-actions { flex-direction: column; gap: 10px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-contact p,
    .footer-contact a { justify-content: center; }
    .social-icons { justify-content: center; }

    .cookie-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn { width: 100%; }
}

@media (max-width: 480px) {
    .form-actions { flex-direction: column-reverse; gap: 15px; }
    .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-track { animation: none; }
}
