:root {
    --primary: #0f172a;
    --brand-blue: #3b82f6;
    --brand-dark: #1e3a8a;
    --accent: #f97316;
    --accent-light: #fb923c;
    --bg: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html, body { 
    max-width: 100%; 
    overflow-x: hidden; 
    width: 100%; 
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.6;
}

h1, h2, h3, .logo { 
    font-family: 'Outfit', sans-serif; 
    letter-spacing: -0.02em;
}

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

.container { 
    width: 100%; 
    max-width: 1300px; 
    padding: 0 25px; 
    margin: 0 auto;
}

/* Header & Nav */
header { 
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0; 
    border-bottom: 1px solid var(--glass-border); 
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

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

.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { height: 38px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.logo-wrap:hover .logo-icon { transform: rotate(-8deg) scale(1.1); }
.logo { font-size: 24px; font-weight: 800; color: var(--brand-dark); }
.logo span { color: var(--accent); }

.main-nav { display: flex; gap: 30px; }
.main-nav a { 
    text-decoration: none; 
    color: var(--muted); 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: all 0.3s ease; 
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.main-nav a:hover { color: var(--brand-dark); }
.main-nav a:hover::after { width: 100%; }

/* Hero Section */
.hero { 
    padding: 80px 0; 
    background: radial-gradient(circle at top right, #eff6ff, #ffffff);
    overflow: hidden;
}

.hero-card { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    background: var(--white); 
    border-radius: 40px; 
    overflow: hidden; 
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.15);
    text-decoration: none;
    color: inherit;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255,255,255,0.8);
}

.hero-card:hover { 
    transform: translateY(-10px) scale(1.01); 
    box-shadow: 0 50px 120px -30px rgba(15, 23, 42, 0.2);
}

.hero-badge-special {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--accent), #f43f5e);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(244, 63, 94, 0.3);
}

.hero-image-wrap { position: relative; overflow: hidden; height: 100%; }
.hero-image { width: 100%; height: 550px; object-fit: cover; transition: transform 0.8s ease; }
.hero-card:hover .hero-image { transform: scale(1.05); }

.hero-content { padding: 80px; display: flex; flex-direction: column; justify-content: center; background: #fff; position: relative; }
.hero-title { 
    font-size: 3.5rem; 
    line-height: 1.05; 
    margin-bottom: 25px; 
    color: var(--primary); 
    font-weight: 800;
    background: linear-gradient(to bottom, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-excerpt { 
    color: var(--muted); 
    font-size: 1.25rem; 
    margin-bottom: 35px; 
    line-height: 1.6;
}

/* Section Titles */
.section-title { 
    font-size: 2.2rem; 
    font-weight: 800; 
    margin: 60px 0 40px 0; 
    display: flex; 
    align-items: center; 
    gap: 20px;
    color: var(--primary);
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
}

/* Grid & Cards */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 40px; 
    margin-bottom: 100px; 
}

.card { 
    background: var(--white); 
    border-radius: 32px; 
    overflow: hidden; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    text-decoration: none; 
    color: inherit; 
    border: 1px solid rgba(226, 232, 240, 0.5); 
    position: relative;
}

.card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    border-color: var(--brand-blue);
}

.card-img-wrap { position: relative; height: 260px; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover img { transform: scale(1.08); }

.discovery-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-content { padding: 35px; }
.badge-small { 
    background: rgba(59, 130, 246, 0.1); 
    color: var(--brand-blue); 
    padding: 5px 12px; 
    border-radius: 10px; 
    font-size: 0.75rem; 
    font-weight: 800; 
    display: inline-block; 
    margin-bottom: 15px; 
    text-transform: uppercase; 
}
.card-date { color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; font-weight: 600; display: block; }
.card-title { font-size: 1.5rem; font-weight: 800; line-height: 1.25; color: var(--primary); transition: color 0.3s; }
.card:hover .card-title { color: var(--brand-blue); }

/* Discovery Pages Header */
.discovery-header { 
    text-align: center; 
    padding: 100px 0; 
    background: radial-gradient(circle at center, #eff6ff, #ffffff);
    border-radius: 50px; 
    margin-bottom: 60px;
}
.discovery-title { font-size: 3.5rem; color: var(--primary); margin-bottom: 25px; font-weight: 800; line-height: 1.1; }
.discovery-summary { font-size: 1.3rem; color: #64748b; max-width: 850px; margin: 0 auto; line-height: 1.7; }

/* Product Cards in Guide */
.product-card { 
    background: var(--white); 
    border-radius: 40px; 
    padding: 50px; 
    margin-bottom: 50px; 
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
}

.affiliate-link {
    background: linear-gradient(135deg, var(--accent), #ea580c);
    color: white !important;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.25);
    text-align: center;
    display: inline-block;
}
.affiliate-link:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4); filter: brightness(1.1); }

/* Comparison Table */
.comparison-table-wrap {
    margin: 80px 0;
    border-radius: 35px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
}
.comparison-table { width: 100%; border-collapse: collapse; background: white; }
.comparison-table th { background: #f8fafc; padding: 25px; font-family: 'Outfit'; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; border-bottom: 2px solid #e2e8f0; text-align: left; }
.comparison-table td { padding: 25px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }

/* Social Share */
.social-share { margin: 80px 0; padding: 50px; background: white; border-radius: 40px; border: 1px solid #f1f5f9; text-align: center; }
.social-share-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 30px; font-family: 'Outfit'; }
.social-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.social-btn { display: flex; align-items: center; gap: 12px; padding: 15px 30px; border-radius: 16px; color: white !important; font-weight: 800; text-decoration: none; transition: all 0.3s ease; }
.social-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.fb-btn { background: #1877F2; }
.viber-btn { background: #7360f2; }
.wa-btn { background: #25D366; }

/* Footer */
footer { background: #020617; color: white; padding: 120px 0 60px 0; margin-top: 120px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.footer-logo { font-size: 32px; font-weight: 800; color: white; text-decoration: none; margin-bottom: 30px; display: block; }
.footer-logo span { color: var(--accent); }
.footer-text { color: #64748b; font-size: 1.1rem; line-height: 1.8; }
.footer-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 35px; text-transform: uppercase; letter-spacing: 2px; color: white; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #64748b; text-decoration: none; transition: 0.3s; font-weight: 500; }
.footer-links a:hover { color: var(--brand-blue); transform: translateX(8px); display: inline-block; }
.footer-disclosure { margin-top: 60px; padding: 40px; background: rgba(255,255,255,0.02); border-radius: 30px; font-size: 0.95rem; color: #475569; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 50px; text-align: center; color: #334155; font-size: 0.9rem; font-weight: 600; }

/* Mobile */
@media (max-width: 992px) {
    .nav-content { flex-direction: row; justify-content: space-between; }
    .main-nav { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(20px); padding: 15px 25px; border-radius: 50px; width: 90%; justify-content: center; z-index: 2000; box-shadow: 0 20px 50px rgba(0,0,0,0.4); display: flex; gap: 10px; }
    .main-nav a { color: white; font-size: 0.7rem; background: rgba(255,255,255,0.1); padding: 8px 12px; border-radius: 50px; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-image { height: 300px; }
    .hero-content { padding: 40px; }
    .hero-title { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .product-card { grid-template-columns: 1fr; padding: 30px; }
}
