/* ===================================================================
   NeoPetGear — styles.css
   Warm + tech aesthetic · Mobile-first · Conversion-focused
   Flair pass: animations, gradients, micro-interactions, personality
   ===================================================================
   No external fonts — system font stack only (per project requirements)
*/

/* ===== Design Tokens ===== */
:root {
    /* Warm neutrals */
    --cream: #faf6f0;
    --cream-light: #fdfaf6;
    --cream-dark: #f0e8dc;
    --charcoal: #1a1816;
    --charcoal-light: #2d2a26;
    --gray-warm: #6b6258;
    --gray-light: #a89e92;

    /* Accent — warm coral/terracotta */
    --coral: #e87b5a;
    --coral-dark: #d4603f;
    --coral-light: #f0a48a;
    --coral-pale: #fce6db;
    --coral-gradient: linear-gradient(135deg, #e87b5a, #d4603f);
    --coral-gradient-soft: linear-gradient(135deg, #fce6db, #f5cdc0);

    /* Extended palette */
    --teal: #2d8a7e;
    --teal-light: #e0f0ee;
    --gold: #e8a83e;
    --gold-light: #fdf3e0;
    --purple: #6b5b95;
    --purple-light: #ece8f5;

    /* Semantic */
    --bg: var(--cream);
    --bg-card: #fff;
    --text: var(--charcoal);
    --text-muted: var(--gray-warm);
    --accent: var(--coral);
    --accent-dark: var(--coral-dark);
    --border: rgba(26, 24, 22, 0.08);
    --border-strong: rgba(26, 24, 22, 0.15);
    --shadow-sm: 0 1px 3px rgba(26, 24, 22, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 24, 22, 0.08);
    --shadow-lg: 0 12px 40px rgba(26, 24, 22, 0.12);
    --shadow-xl: 0 20px 60px rgba(26, 24, 22, 0.16);
    --shadow-coral: 0 8px 30px rgba(232, 123, 90, 0.25);

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--charcoal);
    letter-spacing: -0.025em;
}

h2 { font-weight: 700; }

a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: color var(--transition);
}

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

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Utility ===== */
.text-accent {
    color: var(--accent);
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--coral-gradient);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ===== Buttons ===== */
.cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: var(--coral-gradient);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-coral);
    letter-spacing: 0.01em;
    line-height: 1.4;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on hover */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    background: var(--coral-gradient);
    filter: brightness(0.95);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(232, 123, 90, 0.35);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(232, 123, 90, 0.25);
}

.cta-button--ghost {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--border-strong);
    box-shadow: none;
}

.cta-button--ghost::before { display: none; }

.cta-button--ghost:hover {
    background: var(--charcoal);
    color: #fff;
    border-color: var(--charcoal);
    box-shadow: var(--shadow-md);
    filter: none;
}

/* ===== Header / Nav — sticky + shrink on scroll ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled .navbar {
    padding: 0.5rem 1.5rem;
}

.site-header.scrolled .logo {
    font-size: 1.1rem;
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding var(--transition);
}

.logo {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--charcoal);
    letter-spacing: -0.03em;
    transition: font-size var(--transition);
}

.logo:hover {
    color: var(--charcoal);
}

.logo-accent {
    color: var(--accent);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

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

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 5rem 2rem 2rem;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
}

.nav-links.open {
    right: 0;
}

.nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
}

.nav-links li:last-child {
    border-bottom: none;
}

.nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-dark);
    padding-left: 4px;
}

.nav-links .nav-cta {
    color: var(--accent-dark);
    font-weight: 600;
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.show {
    display: block;
    opacity: 1;
}

/* ===== Hero ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 7rem 1.5rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

/* Decorative blobs */
.hero-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: blobFloat 12s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: var(--coral-pale);
    top: -50px;
    right: -80px;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: var(--teal-light);
    bottom: 50px;
    left: -60px;
    animation-delay: 4s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: var(--gold-light);
    top: 200px;
    right: 100px;
    animation-delay: 8s;
    opacity: 0.3;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.3rem 0.875rem;
    background: var(--coral-pale);
    border-radius: 100px;
}

.hero h1 {
    font-size: clamp(2.25rem, 8vw, 4.25rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.trust-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-visual {
    width: 100%;
    max-width: 500px;
    z-index: 1;
    transition: transform 0.1s linear;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== Why Section ===== */
.why-section {
    padding: 5rem 1.5rem;
    background: var(--cream-light);
    position: relative;
}

.features-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--coral-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--coral-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 1rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-pale);
    border-radius: var(--radius-md);
    transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== How It Works Section ===== */
.how-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.steps-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-pale);
    border-radius: var(--radius-md);
}

.step-badge {
    display: inline-block;
    background: var(--coral-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== Shop / Products ===== */
.shop-section {
    padding: 5rem 1.5rem;
}

.products-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--coral-light);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--cream-dark), var(--coral-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 60%);
    pointer-events: none;
}

/* Shimmer sweep on hover */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover .product-image::before {
    left: 150%;
}

/* SVG pattern fills the product image area */
.product-svg-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.product-emoji {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    position: relative;
}

.product-card:hover .product-emoji {
    transform: scale(1.15) translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--coral-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(232, 123, 90, 0.3);
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.product-button {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--coral-gradient);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.product-button:hover {
    background: var(--coral-gradient);
    filter: brightness(0.95);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 123, 90, 0.35);
}

.product-button:active {
    transform: translateY(0) scale(0.97);
}

.shop-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.shop-cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
}

.shop-cta-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== Reviews / Testimonials ===== */
.reviews-section {
    padding: 5rem 1.5rem;
    background: var(--cream-light);
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.stars {
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 2px;
}

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

.reviews-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.star-filled {
    color: var(--gold);
}

.star-empty {
    color: var(--gray-light);
    opacity: 0.4;
}

.review-text {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.review-pet {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Email Popup Modal ===== */
.email-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 8, 6, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.email-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.email-modal {
    background: linear-gradient(160deg, #221f1c 0%, #1a1816 45%, #15120f 100%);
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 100%;
    padding: 0;
    position: relative;
    text-align: center;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(232, 123, 90, 0.25),
        0 0 50px rgba(232, 123, 90, 0.12);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.email-modal-overlay.active .email-modal {
    transform: translateY(0) scale(1);
}

/* Glow layer behind content */
.email-modal-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(232, 123, 90, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Top accent stripe */
.email-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--coral-gradient);
    z-index: 2;
}

.email-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 3;
}

.email-modal-close:hover {
    background: rgba(232, 123, 90, 0.3);
    color: #fff;
    transform: scale(1.1);
}

.email-modal-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem 2rem;
}

/* Gift icon */
.email-modal-gift {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    animation: giftBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes giftBounce {
    0% { transform: scale(0) rotate(-15deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Offer badge */
.email-modal-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--coral-gradient);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-coral);
}

.email-modal-content h2 {
    font-size: clamp(1.6rem, 5vw, 2.15rem);
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.2;
}

/* Highlighted discount number */
.modal-discount {
    color: var(--coral);
    font-weight: 900;
    text-shadow: 0 0 20px rgba(232, 123, 90, 0.4);
}

.email-modal-content .email-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.email-modal-content .email-form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.email-modal-content .email-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-modal-content .email-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: border-color var(--transition), background var(--transition);
    box-sizing: border-box;
}

.email-modal-content .email-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.email-modal-content .email-input:focus {
    outline: none;
    border-color: var(--coral);
    background: rgba(255, 255, 255, 0.1);
}

.email-modal-content .email-submit-btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.email-modal-skip {
    margin-top: 1.25rem;
}

.email-modal-skip a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.email-modal-skip a:hover {
    color: var(--coral-light);
}

.email-form-msg {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2em;
}

.email-form-msg.success {
    color: #4ade80;
}

.email-form-msg.error {
    color: var(--coral-light);
}

/* Mobile tuning */
@media (max-width: 480px) {
    .email-modal-content {
        padding: 2rem 1.5rem 1.75rem;
    }
    .email-modal-gift {
        font-size: 2.5rem;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .email-modal {
        transition: opacity 0.3s ease;
    }
    .email-modal-gift {
        animation: none;
    }
}

/* ===== Email Capture ===== */
.email-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 50%, #3a3530 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative coral glow */
.email-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 123, 90, 0.15), transparent 70%);
    pointer-events: none;
}

.email-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 123, 90, 0.1), transparent 70%);
    pointer-events: none;
}

.email-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.email-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 0.5rem;
    color: var(--cream);
}

.email-content .section-eyebrow {
    color: var(--coral-light);
}

.email-content .section-eyebrow::after {
    background: var(--coral-gradient);
}

.email-subtitle {
    color: rgba(250, 246, 240, 0.7);
    font-size: 1rem;
    max-width: 440px;
}

.email-form {
    width: 100%;
    max-width: 500px;
}

.email-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--charcoal);
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.email-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(232, 123, 90, 0.2);
}

.email-submit-btn {
    white-space: nowrap;
}

.email-form-msg {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    min-height: 1.2em;
    font-weight: 500;
}

.email-form-msg.success {
    color: #6dd49a;
}

.email-form-msg.error {
    color: #ff8a7a;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: block;
    font-family: 'Poppins', -apple-system, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(250, 246, 240, 0.6);
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--cream);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: rgba(250, 246, 240, 0.6);
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--coral-light);
    padding-left: 4px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(250, 246, 240, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(250, 246, 240, 0.5);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered reveal for cards */
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }

.steps-grid .step-card:nth-child(3) { transition-delay: 0.1s; }
.steps-grid .step-card:nth-child(5) { transition-delay: 0.2s; }

/* Stagger product cards via JS inline delay */
.products-grid .product-card:nth-child(1) { transition-delay: 0s; }
.products-grid .product-card:nth-child(2) { transition-delay: 0.05s; }
.products-grid .product-card:nth-child(3) { transition-delay: 0.1s; }
.products-grid .product-card:nth-child(4) { transition-delay: 0.15s; }
.products-grid .product-card:nth-child(5) { transition-delay: 0.2s; }
.products-grid .product-card:nth-child(6) { transition-delay: 0.25s; }
.products-grid .product-card:nth-child(7) { transition-delay: 0.3s; }
.products-grid .product-card:nth-child(8) { transition-delay: 0.35s; }
.products-grid .product-card:nth-child(9) { transition-delay: 0.4s; }
.products-grid .product-card:nth-child(10) { transition-delay: 0.45s; }

/* ===== Responsive — Tablet (≥640px) ===== */
@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }

    .email-form-row {
        flex-direction: row;
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ===== Responsive — Desktop (≥900px) ===== */
@media (min-width: 900px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0;
        width: auto;
        height: auto;
        max-width: none;
        padding: 0;
        box-shadow: none;
        background: none;
        transition: none;
    }

    .nav-links li {
        border-bottom: none;
        width: auto;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 8rem 1.5rem 5rem;
        gap: 4rem;
    }

    .hero-content {
        text-align: left;
        flex: 1;
    }

    .hero-subtitle {
        margin-left: 0;
    }

    .hero-ctas {
        justify-content: flex-start;
    }

    .hero-trust {
        justify-content: flex-start;
    }

    .hero-visual {
        flex: 0 0 45%;
        max-width: 500px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Steps become horizontal row on desktop */
    .steps-grid {
        flex-direction: row;
        align-items: stretch;
        gap: 1rem;
    }

    .step-card {
        flex: 1;
        max-width: none;
    }

    .step-connector {
        width: 40px;
        height: 2px;
        align-self: center;
        background: linear-gradient(90deg, var(--coral-light), transparent);
    }

    .why-section,
    .shop-section,
    .email-section,
    .reviews-section,
    .how-section {
        padding: 6rem 1.5rem;
    }
}

/* ===== Responsive — Large Desktop (≥1100px) ===== */
@media (min-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-img { animation: none; }
    .blob { animation: none; }
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}