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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0D9488;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #0D9488;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid rgba(13, 148, 136, 0.35);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(13, 148, 136, 0.06);
    border-color: #0D9488;
    transform: translateY(-1px);
}

/* ---- Inputs ---- */
.input-field {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.input-field::placeholder {
    color: #94a3b8;
}

.input-field:focus {
    border-color: #0D9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* ---- Success message ---- */
.success-message {
    animation: fadeInUp 0.4s ease forwards;
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---- Hero animations ---- */
.hero-subtitle {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-title {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-body {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.hero-cta {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-image {
    animation: fadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* ---- Product cards ---- */
.product-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---- Scroll indicator ---- */
.scroll-indicator {
    animation: bounce 2s infinite;
}

/* ---- Keyframes ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ---- Mobile menu ---- */
#mobile-menu {
    animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Header scroll state ---- */
#site-header.scrolled {
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-body {
        font-size: 1rem;
    }

    .grid-cols-2.gap-3 img:nth-child(1) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-image {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
    }
}

/* ---- Selection ---- */
::selection {
    background: rgba(13, 148, 136, 0.15);
    color: #134e4a;
}
