/* Base typography and palette */
:root {
    color-scheme: light;
    font-family: "Inter", "Segoe UI", sans-serif;
    scroll-behavior: smooth;
    --primary: #0f766e;
    --accent: #6366f1;
    --text: #0f172a;
    --muted: #475569;
    --border: rgba(148, 163, 184, 0.3);
    --bg: #f8fafc;
    --card: #ffffff;
    --shadow: 0 25px 60px -40px rgba(15, 23, 42, 0.35);
}

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

body {
    background:
        radial-gradient(circle at 20% 18%, rgba(15, 118, 110, 0.12), transparent 45%),
        radial-gradient(circle at 78% 12%, rgba(99, 102, 241, 0.18), transparent 50%),
        linear-gradient(180deg, #f1f5f9 0%, #fff 55%, #f8fafc 100%);
    color: var(--text);
    min-height: 100vh;
}

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

a:hover {
    color: var(--primary);
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.navbar {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 1.5rem;
}

.navbar__brand {
    font-size: 1.35rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.navbar__logo {
    height: 148px;
    width: auto;
    display: block;
}

.navbar__brand span {
    display: inline-block;
}

.navbar__links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-size: 0.95rem;
    color: var(--muted);
}

main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
    position: relative;
    z-index: 0;
}

section {
    position: relative;
    padding: 5rem 0;
}

section::before {
    content: "";
    position: absolute;
    inset: 1.5rem -1rem;
    background: var(--card);
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow);
    z-index: -1;
}

section:nth-of-type(odd)::before {
    background: rgba(255, 255, 255, 0.94);
}

.section__eyebrow {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.section__title {
    font-size: clamp(2.2rem, 3.4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.section__lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 760px;
    line-height: 1.75;
}

.hero {
    padding-top: 7.5rem;
    display: grid;
    gap: 2.5rem;
}

.hero__content {
    display: grid;
    gap: 1.5rem;
    max-width: 760px;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button {
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 120ms ease, box-shadow 200ms ease;
}

.button--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 20px 38px -22px rgba(15, 118, 110, 0.45);
}

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

.button--ghost {
    border-color: rgba(148, 163, 184, 0.35);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.6);
}

.video-demo {
    position: relative;
}

.video-demo__frame {
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(15, 118, 110, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.18);
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 1rem;
    padding: 2rem;
    text-align: center;
}

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

.feature-card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    padding: 1.8rem;
    display: grid;
    gap: 0.85rem;
    transition: transform 180ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px -28px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.35);
}

.feature-card__title {
    font-weight: 600;
    font-size: 1.12rem;
}

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

.gallery__item {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    min-height: 190px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: rgba(248, 250, 252, 0.8);
}

.workflow {
    display: grid;
    gap: 1rem;
    counter-reset: steps;
}

.workflow__item {
    border-left: 3px solid rgba(15, 118, 110, 0.32);
    padding-left: 1.6rem;
    position: relative;
}

.workflow__item::before {
    counter-increment: steps;
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    left: -2.4rem;
    top: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.specs {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    overflow: hidden;
}

.specs tr:nth-child(even) {
    background: rgba(241, 245, 249, 0.7);
}

.specs td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(203, 213, 225, 0.6);
}

.specs td:first-child {
    color: var(--muted);
    width: 40%;
}

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

.testimonial {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    padding: 1.9rem;
    display: grid;
    gap: 1rem;
    box-shadow: 0 20px 45px -28px rgba(99, 102, 241, 0.3);
}

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

.partner-card {
    background: var(--card);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    padding: 1.8rem;
    display: grid;
    gap: 1.2rem;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.4);
    box-shadow: 0 24px 48px -28px rgba(15, 118, 110, 0.3);
}


.partner-card__media {
    display: flex;
    align-items: center;
    justify-content: start;
    min-height: 60px;
    padding: 1.4rem 1.6rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(99, 102, 241, 0.14));
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.partner-card__logo {
    max-width: 180px;
    display: block;
}

.partner-card__logo--light {
    filter: drop-shadow(0 0 6px rgba(15, 23, 42, 0.35));
}

.partner-card__body {
    display: grid;
    gap: 0.75rem;
    color: var(--muted);
}

.contact {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: start;
}

.contact form {
    display: grid;
    gap: 1rem;
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: var(--shadow);
}

.contact__alerts {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.contact__alert {
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    font-size: 0.92rem;
    border: 1px solid transparent;
    background: rgba(15, 118, 110, 0.08);
    color: var(--text);
}

.contact__alert--success {
    border-color: rgba(15, 118, 110, 0.35);
    background: rgba(15, 118, 110, 0.12);
}

.contact__alert--error {
    border-color: rgba(220, 38, 38, 0.4);
    background: rgba(248, 113, 113, 0.18);
    color: #7f1d1d;
}

.form-field {
    display: grid;
    gap: 0.35rem;
}

.form-field--error input,
.form-field--error textarea {
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25);
}

.form-field__error {
    color: #b91c1c;
    font-size: 0.82rem;
}

.contact label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.contact input,
.contact textarea {
    width: 100%;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    padding: 0.9rem;
    color: var(--text);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

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

footer {
    background: #0f172a;
    color: #e2e8f0;
}

.footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__list {
    display: grid;
    gap: 0.65rem;
    list-style: none;
}

.footer__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.85);
}

.footer__icon {
    font-size: 1.1rem;
    color: var(--primary);
}

.footer__legal {
    font-size: 0.82rem;
    color: rgba(203, 213, 225, 0.8);
    text-align: center;
    padding-bottom: 2.2rem;
}

@media (max-width: 768px) {
    header {
        position: static;
        background: rgba(255, 255, 255, 0.95);
    }

    .navbar {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .navbar__logo {
        height: 64px;
    }

    .hero {
        text-align: center;
    }

    .hero__cta {
        justify-content: center;
    }

    section::before {
        inset: 1rem -0.5rem;
    }
}

@media (max-width: 600px) {
    .navbar__logo {
        height: 60px;
    }
}
