/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal: #374047;
    --charcoal-dark: #2a3035;
    --teal: #00AAAD;
    --teal-dark: #008e90;
    --teal-light: rgba(0, 170, 173, 0.1);
    --white: #ffffff;
    --grey-light: #f4f6f8;
    --grey-mid: #e2e6ea;
    --text: #4a5568;
    --text-light: #a0aab4;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --nav-height: 72px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.nav--scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.nav__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--charcoal);
}

.nav__logo img {
    width: 40px;
    height: 40px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: color var(--transition);
    position: relative;
}

.nav__links a:not(.btn):hover {
    color: var(--teal);
}

.nav__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width var(--transition);
}

.nav__links a:not(.btn):hover::after {
    width: 100%;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn--primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 170, 173, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--grey-mid);
}

.btn--outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

.btn--nav {
    background: var(--teal);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.btn--nav:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}

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

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--grey-light) 0%, var(--white) 50%, var(--teal-light) 100%);
    z-index: -2;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 170, 173, 0.06) 0%, transparent 70%);
    z-index: -1;
}

.hero__content {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 80px 0;
}

.hero__logo {
    flex-shrink: 0;
}

.hero__logo img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 170, 173, 0.15));
}

.hero__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__title--accent {
    color: var(--teal);
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Section Common ===== */
.section {
    padding: 100px 0;
}

.section--light {
    background: var(--grey-light);
}

.section--dark {
    background: var(--charcoal);
    color: var(--white);
}

.section--dark .section__subtitle {
    color: var(--text-light);
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
}

.section__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.section--dark .section__title {
    color: var(--white);
}

.section__divider {
    width: 48px;
    height: 3px;
    background: var(--teal);
    margin: 16px auto 20px;
    border-radius: 2px;
}

.section__divider--light {
    background: var(--teal);
    opacity: 0.8;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== About ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__text p {
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about__text strong {
    color: var(--charcoal);
}

.about__stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat {
    background: var(--white);
    padding: 28px 32px;
    border-radius: 12px;
    border-left: 4px solid var(--teal);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat__number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== Products ===== */
.products__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--grey-mid);
    overflow: hidden;
    transition: all var(--transition);
}

.product:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product__header {
    padding: 40px 48px 32px;
    border-bottom: 1px solid var(--grey-light);
}

.product__badge {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.product__badge--soon {
    background: rgba(55, 64, 71, 0.08);
    color: var(--text-light);
}

.product__name {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.product__tagline {
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 500;
}

.product__body {
    padding: 32px 48px 48px;
}

.product__section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 12px;
}

.product__problem {
    margin-bottom: 32px;
}

.product__problem p,
.product__solution p {
    font-size: 1.02rem;
    line-height: 1.8;
}

.product__solution {
    margin-bottom: 36px;
}

.product__outcomes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.outcome {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--grey-light);
    border-radius: 12px;
    transition: transform var(--transition);
}

.outcome:hover {
    transform: translateX(4px);
}

.outcome__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--teal);
    margin-top: 2px;
}

.outcome strong {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.outcome span {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

/* Product CTA */
.product__cta {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--grey-mid);
}

/* Coming soon product */
.product--coming-soon {
    border-style: dashed;
    border-color: var(--grey-mid);
    background: var(--grey-light);
}

.product--coming-soon .product__header {
    border-bottom-style: dashed;
}

.product__soon-text {
    font-size: 1.02rem;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.7;
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* ===== Why Us ===== */
.why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.why__card {
    padding: 40px 36px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: all var(--transition);
}

.why__card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.why__number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.why__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.why__text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.contact__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    border: 1px solid var(--grey-mid);
    background: var(--white);
    transition: all var(--transition);
}

a.contact__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--teal);
}

.contact__icon {
    width: 44px;
    height: 44px;
    color: var(--teal);
    margin-bottom: 16px;
}

.contact__icon svg {
    width: 100%;
    height: 100%;
}

.contact__label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 6px;
}

.contact__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal-dark);
    padding: 32px 0;
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer__brand img {
    width: 32px;
    height: 32px;
    opacity: 0.8;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why__grid {
        grid-template-columns: 1fr;
    }

    .product__header,
    .product__body {
        padding-left: 28px;
        padding-right: 28px;
    }

    .hero__content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 48px 0;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .footer__content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .nav__links--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__toggle--active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav__toggle--active span:nth-child(2) {
        opacity: 0;
    }
    .nav__toggle--active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 72px 0;
    }

    .hero__logo img {
        width: 140px;
    }
}
