:root {
    --primary: #020617;
    --accent: #2563EB;
    --accent-glow: rgba(37, 99, 235, 0.1);
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --text: #0F172A;
    --text-muted: #475569;
    --border: transparent;
    --radius: 0px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background: var(--accent);
}

/* Hero */
.hero {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: var(--primary);
    color: white;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.6); /* dark overlay for contrast */
    z-index: 1;
}

.text-center {
    text-align: center;
}

.justify-center {
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: #60a5fa; /* lighter accent for dark background */
}

.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid white;
}

.btn-primary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Sections */
.section-padding {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-alt);
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.product-card {
    background: var(--bg-alt);
    padding: 2.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    background: #f1f5f9;
    transform: translateY(-5px);
}

.sale-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent);
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-img-wrapper {
    height: 240px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

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

.price-box {
    margin-bottom: 2rem;
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-details {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    align-self: flex-start;
}

.btn-details::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-item {
    background: #FFFFFF;
    padding: 3rem;
    text-align: left;
}

.icon-box {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-item p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    transition: var(--transition);
}

.review-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.review-img img {
    width: 100%;
}

.review-body h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.review-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.review-actions {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.review-actions .btn-primary {
    position: relative;
    z-index: 2; /* Keep Amazon button clickable above the row link */
}

.btn-text {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.btn-text:hover {
    color: var(--accent);
    gap: 0.6rem;
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: var(--bg-alt);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.guide-content {
    padding: 2.5rem;
}

.guide-tag {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
}

.read-more {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.read-more:hover {
    color: var(--accent);
    gap: 0.8rem;
}

/* Product Details */
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.main-img-card {
    background: var(--bg-alt);
    padding: 4rem;
}

.main-img-card img {
    width: 100%;
}

.product-details-info h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    gap: 0.75rem;
}

.spec-item {
    background: var(--bg-alt);
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.spec-item span:first-child {
    color: var(--text-muted);
    font-weight: 500;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: var(--bg-alt);
    padding: 2rem;
}

.contact-form {
    background: var(--bg-alt);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--bg);
    border: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent);
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin: 2rem 0 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 8rem 0 3rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 2rem;
}

.footer-brand p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    font-weight: 800;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(8px);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.footer-bottom p:first-child {
    width: 100%;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

.affiliate-disclosure-top {
    background: var(--bg-alt);
    padding: 0.75rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 992px) {

    .product-main-grid,
    .why-grid,
    .footer-grid,
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding: 3rem 0;
    }

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

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .review-row {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }

    .footer-grid {
        gap: 2.5rem;
    }

    .about-img img {
        height: 300px;
    }
}