:root {
    --accent: #1a9e8f;
    --accent-light: #e6f7f5;
    --accent-dark: #147a6e;
    --text: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-muted: #8a8a8a;
    --bg: #ffffff;
    --bg-alt: #f6f8f9;
    --border: #e8ecef;
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 158, 143, .25);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

/* ==================== NAV ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
}

.nav-logo img {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    letter-spacing: -.01em;
}

.nav-links a:hover { color: var(--accent); }

.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 110;
}

.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all var(--transition);
}

.nav-burger span:nth-child(1) { top: 2px; }
.nav-burger span:nth-child(2) { top: 11px; }
.nav-burger span:nth-child(3) { top: 20px; }

.nav-burger.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(26, 158, 143, .06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26, 158, 143, .04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-img-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);

}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== SECTION COMMON ==================== */
.section-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-head {
    margin-bottom: 64px;
}

.section-head h2, .contact-text h2, .product-info h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.2;
}

/* ==================== SERVICES ==================== */
.services {
    padding: 120px 0;
    background: var(--bg);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 64px 1fr 200px;
    gap: 32px;
    align-items: start;
    padding: 48px 0;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
}

.service-item:last-child {
    border-bottom: 1px solid var(--border);
}

.service-item.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

.service-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding-top: 4px;
    font-variant-numeric: tabular-nums;
}

.service-body h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
}

.service-visual {
    width: 200px;
    height: 140px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.service-visual--accent {
    background: var(--accent-light);
    padding: 20px;
}

.service-visual--accent svg {
    width: 100%;
    height: 100%;
}

/* ==================== PRODUCT ==================== */
.product {
    padding: 120px 0;
    background: var(--bg-alt);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-info h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-bottom: 24px;
}

.product-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.feature:last-child {
    border-bottom: 1px solid var(--border);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.feature strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: -.01em;
}

.feature span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-visual {
    opacity: 0;
    transform: translateY(20px);
}

.product-visual.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

.product-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.product-img-wrap img {
    width: 100%;
    display: block;
}

.product-info {
    opacity: 0;
    transform: translateY(20px);
}

.product-info.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

/* ==================== CONTACT ==================== */
.contact {
    padding: 120px 0;
}

.contact-inner {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    opacity: 0;
    transform: translateY(20px);
}

.contact-inner.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

.contact-text {
    max-width: 520px;
}

.contact-text h2 {
    margin-bottom: 16px;
}

.contact-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 12px;
}

.footer-left p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }

    .hero-visual { order: -1; }
    .hero-img-wrap { max-width: 360px; }

    .service-item {
        grid-template-columns: 48px 1fr;
        gap: 20px;
    }

    .service-visual { display: none; }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .product-visual { order: -1; }

    .contact-inner {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }
}

@media (max-width: 960px) {
    .nav-logo img { height: 110px; }
    .nav-inner { height: 120px; }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .nav-logo img { height: 100px; }
    .nav-inner { height: 110px; }
    .footer-logo { display: none; }
    .nav-links { display: none; }
    .nav-burger { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 105;
    }

    .nav-links.open a {
        font-size: 20px;
        font-weight: 600;
        color: var(--text);
    }

    .hero { padding: 100px 0 60px; min-height: auto; }

    .hero h1 { font-size: 2rem; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn { width: 100%; max-width: 280px; }

    .services, .product, .contact { padding: 80px 0; }

    .section-head { margin-bottom: 40px; }

    .service-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 32px 0;
    }

    .service-num { font-size: 13px; }

    .service-body h3 { font-size: 19px; }

    .product-info h2 { font-size: 2rem; }

    .contact-inner { padding: 40px 24px; }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links { gap: 20px; }

    .hero-scroll { display: none; }
}

/* Reveal animation stagger */
.service-item:nth-child(2).revealed { transition-delay: .1s; }
.service-item:nth-child(3).revealed { transition-delay: .2s; }
.service-item:nth-child(4).revealed { transition-delay: .3s; }
