:root {
    --primary-navy: #02042b; /* Razorpay-like dark */
    --primary-blue: #338df6; /* Razorpay-like blue */
    --accent-cyan: #06b6d4;
    --bg-light: #f4f6f8;
    --text-dark: #1e293b;
    --text-muted: #475569;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

html {
    scroll-behavior: smooth;
    font-size: 14px; /* Reduced base font size */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Header */
header {
    background: var(--white);
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 42px; /* Increased logo size */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary-blue);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

/* Mobile Responsiveness & Impulse Purchase Optimization */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    background: var(--bg-light);
    color: var(--text-dark);
    flex-direction: column; /* Force column for mobile-first feel */
    text-align: center;
}

.hero-content {
    flex: 1;
    max-width: 100%;
    order: 1; /* Name first */
}

.hero h1 {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    line-height: 1.25;
    color: var(--primary-navy);
    font-weight: 800;
}

.hero-image {
    flex: 1;
    text-align: center;
    order: 2; /* Image second */
    margin-bottom: 0.5rem; /* Reduced spacing */
    width: 100%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.hero-action {
    order: 3; /* Price and CTA third */
    width: 100%;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem; /* Reduced spacing */
    color: #111827;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: 500;
}

.offer-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem; /* Reduced spacing */
    justify-content: center;
    flex-wrap: wrap;
}

.offer-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
}

.btn-primary.buy-btn.pulse {
    animation: pulse 2s infinite;
    width: 90%; /* A little big, not full */
    max-width: 320px;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin: 0 auto;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Reviews */
.review-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    text-align: left;
}
.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.reviewer-name {
    font-weight: 600;
    color: var(--primary-navy);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Desktop overrides */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        text-align: left;
        padding: 4rem 5%;
    }
    .hero-content {
        max-width: 50%;
    }
    .hero-image {
        margin-bottom: 0;
        width: auto;
    }
    .btn-primary.buy-btn.pulse {
        width: auto;
    }
    .offer-tags {
        justify-content: flex-start;
    }
}

/* Sections */
section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--primary-navy);
}

/* Benefits & Included */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

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

/* Before / After Section */
.before-after-section {
    background: var(--bg-light);
    text-align: center;
}
.before-after-section img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

/* FAQ */
.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    display: none;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.floating-cta.visible {
    display: block;
}

.floating-cta .btn-primary {
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
}

/* Footer */
footer {
    background: var(--primary-navy);
    color: #94a3b8;
    text-align: center;
    padding: 3rem 5%;
    font-size: 0.9rem;
}

footer h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--white);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 3rem 5%;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        text-align: center;
        margin-top: 2rem;
    }
    
    .hero h1 { font-size: 1.8rem; }
    
    nav { display: none; }
    
    .offer-tags {
        justify-content: center;
    }
    
    .floating-cta {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        background: var(--white);
        box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    }
    
    .floating-cta .btn-primary {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border-radius: 6px;
        text-align: center;
    }
}
