:root {
    --primary: #5ec6ed; /* Light blue from logo */
    --primary-glow: rgba(94, 198, 237, 0.3);
    --secondary: #ff9d23; /* Orange/Yellow from logo */
    --accent: #00a84d; /* Green from logo */
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(94, 198, 237, 0.2);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --nav-bg: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Glass Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: var(--nav-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 55px; /* Hero logo size */
}

/* Hide logo text as requested logo has it built-in */
.logo-text {
    display: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4db9e2);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px; /* Bubbly shape */
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at 80% 20%, var(--primary-glow) 0%, transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(255, 157, 35, 0.1) 0%, transparent 40%);
}

.hero-bg {
    display: none;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    color: #1e293b;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-cta {
    background: linear-gradient(135deg, var(--secondary), #fbbf24);
    color: #000;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.btn-cta:hover {
    transform: scale(1.05);
}

/* Products Section */
.products-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s, border-color 0.4s;
    backdrop-filter: blur(8px);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-img {
    height: 200px;
    background: #1e293b;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.price-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
}

.btn-buy {
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
/* Modern Categorization Styles */
.center { text-align: center; margin-bottom: 40px; }
.premium-title { font-size: 3.5rem; font-weight: 800; color: #1e293b; margin-bottom: 10px; line-height: 1.1; }
.subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.category-wrapper {
    margin-bottom: 40px;
    padding: 10px 0;
    position: sticky;
    top: 75px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-radius: 0 0 30px 30px;
}

.category-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    justify-content: flex-start;
}

.category-bar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

@media (min-width: 1024px) {
    .category-bar { justify-content: center; }
}

.cat-tag {
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border: 1px solid var(--glass-border);
    white-space: nowrap;
    color: var(--text-muted);
}

.cat-tag:hover { 
    background: var(--bg-soft);
    transform: translateY(-2px);
    color: var(--primary);
}

.cat-tag.active { 
    background: var(--primary); 
    color: white; 
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(94, 198, 237, 0.3); 
}

/* Badges by category */
.badge.ia { background: #8e44ad; color: white; }
.badge.espiritual { background: #f1c40f; color: #1e293b; }
.badge.psicología { background: var(--primary); color: white; }
.badge.culinario { background: var(--accent); color: white; }
.badge.tecnología { background: #2c3e50; color: white; }
.badge.autoayuda { background: #27ae60; color: white; }

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .premium-title { font-size: 2.5rem; }
    .hero h1 { font-size: 3rem; }
    .category-wrapper { margin-top: -20px; }
}
