@import url("voopti-brand.css");

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg-dark: #0f172a;
    --bg-body: #ffffff;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: var(--bg-body);
    color: #111827;
    margin: 0;
    overflow-x: hidden;
}

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

.site-container {
    width: min(1200px, 100%);
    box-sizing: border-box;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}

@media (max-width: 768px) {
    .site-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.hero-square {
    background: radial-gradient(circle at 80% 20%, #9b9cdd54 0%, transparent 40%), var(--bg-dark);
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    color: white;
}

.btn-white {
    background-color: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    color: #c7d2fe;
}

/* Semantic Home structure */
.home-page {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 50;
}

.home-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
}

.home-brand {
    display: flex;
    align-items: center;
}

.home-brand__logo {
    display: none;
}

.home-nav {
    display: none;
    gap: 40px;
}

.home-nav__link {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.home-nav__link--active {
    color: #fff;
}

.home-header__cta-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-header__link-ghost {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 8px 4px;
    transition: color 0.2s ease;
}

.home-header__link-ghost:hover {
    color: #fff;
}

.home-header__cta {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all .2s ease;
}

.home-header__cta:hover {
    background: rgba(255, 255, 255, 0.2);
}

.home-hero {
    display: grid;
    gap: 64px;
    align-items: center;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home-hero__title {
    margin: 0 0 32px;
    color: #fff;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
}

.home-hero__title-highlight {
    color: var(--primary);
    font-style: italic;
    font-weight: 600;
}

.home-hero__subtitle {
    margin: 0 0 48px;
    max-width: 32rem;
    color: #9ca3af;
    font-size: 18px;
    line-height: 1.625;
}

.home-hero__action-wrap {
    margin-bottom: 64px;
}

.home-hero__primary-btn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.home-hero__primary-btn-icon {
    width: 20px;
    height: 20px;
}

.home-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.home-kpi {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-kpi__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4ade80;
}

.home-kpi__icon {
    width: 16px;
    height: 16px;
}

.home-kpi__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home-kpi__value {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    color: #fff;
}

.home-hero__mockup {
    display: none;
}

.home-mockup__inner {
    padding: 32px;
}

.home-mockup__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-mockup__lights {
    display: flex;
    gap: 8px;
}

.home-mockup__light {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.home-mockup__light--red { background: rgba(239, 68, 68, 0.3); }
.home-mockup__light--yellow { background: rgba(234, 179, 8, 0.3); }
.home-mockup__light--green { background: rgba(34, 197, 94, 0.3); }

.home-mockup__topbar-title {
    width: 96px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.home-mockup__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.home-mockup__stat-card {
    padding: 16px;
}

.home-mockup__line {
    height: 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.home-mockup__line--small { width: 64px; }
.home-mockup__line--medium { width: 80px; }
.home-mockup__line--large { width: 160px; height: 16px; }
.home-mockup__line--small-fade { width: 64px; height: 16px; background: rgba(255, 255, 255, 0.05); }

.home-mockup__pill {
    margin-top: 12px;
    width: 80px;
    height: 28px;
    border-radius: 8px;
}

.home-mockup__pill--indigo { background: rgba(99, 102, 241, 0.4); }
.home-mockup__pill--emerald { width: 64px; background: rgba(16, 185, 129, 0.4); }

.home-mockup__chart-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    height: 224px;
}

.home-mockup__chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.home-mockup__chart {
    width: 100%;
    height: 128px;
    opacity: 0.7;
}

.home-features {
    padding-top: 96px;
    padding-bottom: 96px;
}

.home-features__grid {
    display: grid;
    gap: 80px;
    align-items: center;
}

.home-features__title {
    margin: 0 0 32px;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    color: #000;
}

.home-features__subtitle {
    margin: 0 0 40px;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.625;
}

.home-features__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 20px;
}

.home-features__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.home-features__item-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.home-features__item-icon-svg {
    width: 24px;
    height: 24px;
}

.home-cta-card {
    background: #0f172a;
    color: #fff;
    border-radius: 3rem;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.home-cta-card__eyebrow {
    margin: 0 0 8px;
    color: #818cf8;
    font-weight: 700;
}

.home-cta-card__title {
    margin: 0 0 32px;
    font-size: 30px;
    font-weight: 900;
}

.home-cta-card__button {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    border: 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.home-footer {
    padding: 48px 0;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    border-top: 1px solid #f9fafb;
}

.mockup-container {
    position: relative;
    perspective: 1500px;
}

.mockup-wrapper {
    transform: rotateY(-20deg) rotateX(10deg) rotateZ(3deg);
    box-shadow: -30px 40px 80px rgba(0, 0, 0, 0.6);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0b1120;
}

.app-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0.75rem;
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
    }
}

.chart-glow {
    animation: glow 4s infinite;
}

@media (min-width: 768px) {
    .home-nav {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .home-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hero__mockup {
        display: block;
    }
}

@media (min-width: 1100px) {
    .home-kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-square {
        padding-top: 108px;
        padding-bottom: 56px;
    }

    .home-header__inner {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .home-header__cta {
        padding: 8px 14px;
        font-size: 12px;
    }

    .home-hero {
        gap: 36px;
    }

    .home-hero__title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .home-hero__subtitle {
        margin-bottom: 28px;
        font-size: 16px;
    }

    .home-hero__action-wrap {
        margin-bottom: 36px;
    }

    .home-hero__primary-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
        font-size: 16px;
    }

    .home-kpis {
        gap: 18px;
        padding-top: 24px;
    }

    .home-kpi__value {
        font-size: 26px;
    }

    .home-features {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .home-features__grid {
        gap: 36px;
    }

    .home-features__title {
        margin-bottom: 20px;
        font-size: 34px;
    }

    .home-features__subtitle {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .home-features__item {
        font-size: 16px;
    }

    .home-cta-card {
        padding: 28px;
        border-radius: 24px;
    }

    .home-cta-card__title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .home-cta-card__button {
        font-size: 16px;
        padding: 16px;
    }
}
