@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --bg-gradient: radial-gradient(circle at top, #fdfdff 0%, #f0f2fa 65%);
    --card: #ffffff;
    --card-alt: #f6f8ff;
    --accent: #ff6b4a;
    --accent-2: #2257c8;
    --text: #141833;
    --muted: #5a6075;
    --line: rgba(20, 24, 51, 0.1);
    --shadow: 0 25px 60px rgba(31, 42, 94, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--accent);
}

.burger {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.burger span,
.burger::before,
.burger::after {
    content: '';
    width: 20px;
    height: 2px;
    background: currentColor;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger span {
    transform: translateY(0);
}

.burger::before {
    transform: translateY(-6px);
}

.burger::after {
    transform: translateY(6px);
}

.burger.is-open span {
    opacity: 0;
}

.burger.is-open::before {
    transform: rotate(45deg);
}

.burger.is-open::after {
    transform: rotate(-45deg);
}

main {
    padding: 3rem 4vw 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.section {
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: clamp(2rem, 4vw, 3.5rem);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f3f6ff 60%, #e9eeff 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(34, 87, 200, 0.18), transparent);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-2);
    font-size: 0.8rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    margin: 1rem 0;
    line-height: 1.1;
}

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

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(255, 107, 74, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
}

.hero-visual picture {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 260px;
    background: #edf0ff;
}

.section-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.media-image {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #edf0ff;
    position: relative;
    box-shadow: 0 20px 45px rgba(31, 42, 94, 0.08);
}

.media-image::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px dashed rgba(34, 87, 200, 0.25);
    pointer-events: none;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-visual {
    display: block;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #edf0ff;
    margin-bottom: 2rem;
}

.page-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-slider button {
    flex: 1 1 140px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(34, 87, 200, 0.08);
    color: var(--muted);
    padding: 0.9rem 1rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-slider button.is-active {
    background: #ffffff;
    color: var(--accent-2);
}

.hero-slide {
    display: none;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    padding: 1.5rem;
}

.hero-slide.active {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.highlight-card {
    border-radius: 22px;
    padding: 1rem;
    background: rgba(34, 87, 200, 0.1);
    border: 1px solid rgba(34, 87, 200, 0.14);
}

.highlight-card strong {
    font-size: 1.8rem;
    color: var(--accent);
}

.services-grid .cards,
.process-flow .timeline,
.industry-list .chips,
.metrics-grid,
.tech-stack .stack-chips,
.insights .insight-cards,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    background: var(--card);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    min-height: 230px;
}

.card h3 {
    margin-top: 0.2rem;
}

.timeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline-step {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-2);
    font-weight: 700;
}

.metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric {
    border-radius: 26px;
    padding: 1.5rem;
    background: var(--card-alt);
}

.metric strong {
    font-size: 2.3rem;
}

.metric small {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
}

.metric cite {
    display: block;
    margin-top: 0.8rem;
    font-style: normal;
    font-size: 0.8rem;
    color: rgba(20, 24, 51, 0.6);
}

.industry-list .chips {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.chip {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 87, 200, 0.18);
    background: rgba(34, 87, 200, 0.09);
    text-align: center;
}

.ux-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ux-tabs button {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    background: rgba(34, 87, 200, 0.08);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ux-tabs button.is-active {
    border-color: var(--accent);
    color: var(--accent);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.stack-chips {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stack-chip {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    background: rgba(34, 87, 200, 0.06);
}

.insight-cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.insight-card {
    border-radius: 26px;
    border: 1px solid var(--line);
    background: var(--card);
    padding: 1.5rem;
    position: relative;
}

.insight-card::before {
    content: '“';
    position: absolute;
    font-size: 4rem;
    color: rgba(34, 87, 200, 0.15);
    top: -10px;
    left: 15px;
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    gap: 0.4rem;
}

.contact-form input,
.contact-form textarea {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(34, 87, 200, 0.05);
    color: var(--text);
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

footer {
    border-top: 1px solid var(--line);
    padding: 3rem 4vw;
    background: rgba(255, 255, 255, 0.94);
}

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

.footer-grid h4 {
    margin-top: 0;
}

.footer-nav a {
    display: inline-block;
    color: var(--muted);
}

.business-id {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: min(640px, 90vw);
    z-index: 950;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
}

.cookie-banner button {
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    background: var(--accent-2);
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        inset: 0;
        width: 100%;
        min-height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 4rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        flex-direction: column;
        display: flex;
        justify-content: center;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .burger {
        display: inline-flex;
    }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0.8rem 5vw;
    }

    main {
        padding: 2rem 5vw 4rem;
    }

    .section {
        border-radius: 24px;
    }

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

    .section-media {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
