@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');

:root {
    --bg-color: #f5f5f7;
    --card-bg: #ffffff;
    --text-color: #1d1d1f;
    --link-color: #0066cc;
    --accent-color: #0071e3;
    --cta-color: #0071e3;
    --cta-hover: #0077ed;
    --border-color: #d2d2d7;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: lowercase;
    /* Tech aesthetic */
    background: linear-gradient(135deg, #0071e3, #9b51e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.04em;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

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

header nav a:hover {
    opacity: 0.7;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #86868b;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #515154;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--cta-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--cta-hover);
    transform: scale(1.02);
}

/* Product Grid (Home) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #fff;
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #515154;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Product Page Specifics */
.product-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.review-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.verdict-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 40px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.pros h3,
.cons h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
}

.pros ul,
.cons ul {
    list-style: none;
}

.pros li,
.cons li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.pros li::before {
    content: "✓";
    color: green;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cons li::before {
    content: "✕";
    color: red;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Recommendations */
.recommendations {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.recommendations h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-hero {
        flex-direction: column;
        padding: 30px 0;
    }

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

    .pros-cons {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}