/* === RESET + BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: #e0e0e0; background: #0a0a0f; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === NAV === */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,10,15,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid #1e1e2e; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.logo em { font-style: normal; color: #6c5ce7; }
.logo-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 500; color: #6b6b80; transition: color 0.2s; }
.nav-links a:hover { color: #00e5ff; }
.nav-cta { font-size: 13px; font-weight: 700; color: #fff; background: #6c5ce7; padding: 10px 22px; border-radius: 8px; transition: all 0.2s; }
.nav-cta:hover { background: #7c6cf7; box-shadow: 0 0 20px rgba(108,92,231,0.4); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #e0e0e0; border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 10px; transition: all 0.25s; border: none; cursor: pointer; }
.btn-primary { background: #6c5ce7; color: #fff; }
.btn-primary:hover { background: #7c6cf7; transform: translateY(-2px); box-shadow: 0 0 30px rgba(108,92,231,0.4); }
.btn-ghost { background: transparent; color: #e0e0e0; border: 1px solid #2a2a3e; }
.btn-ghost:hover { border-color: #00e5ff; color: #00e5ff; box-shadow: 0 0 15px rgba(0,229,255,0.1); }
.btn-gold { background: rgba(201,169,98,0.15); color: #c9a962; border: 1px solid rgba(201,169,98,0.3); }
.btn-gold:hover { background: rgba(201,169,98,0.25); box-shadow: 0 0 20px rgba(201,169,98,0.15); }
.btn-full { width: 100%; }

/* === HERO === */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 24px 60px; max-width: 1100px; margin: 0 auto; gap: 60px; }
.hero-content { flex: 1; }
.hero-tag { font-size: 12px; font-weight: 600; color: #00e5ff; background: rgba(0,229,255,0.08); display: inline-block; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; border: 1px solid rgba(0,229,255,0.15); }
.hero h1 { font-size: 50px; font-weight: 900; line-height: 1.08; margin-bottom: 20px; color: #fff; letter-spacing: -1.5px; }
.hero-sub { font-size: 17px; color: #8a8a9e; line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 24px; align-items: center; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 22px; font-weight: 800; color: #6c5ce7; }
.stat span { font-size: 11px; color: #6b6b80; font-weight: 500; text-transform: uppercase; letter-spacing: 0.6px; }
.stat-line { width: 1px; height: 32px; background: #1e1e2e; }

/* Hero visual — glowing logo */
.hero-visual { flex: 0 0 340px; display: flex; align-items: center; justify-content: center; }
.hero-logo-glow { position: relative; width: 340px; height: 340px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hero-logo-glow::before { content: ''; position: absolute; inset: -20px; border-radius: 50%; background: radial-gradient(circle, rgba(108,92,231,0.15) 0%, rgba(108,92,231,0.05) 40%, transparent 70%); animation: pulse-glow 4s ease-in-out infinite; transition: background 0.4s ease; }
.hero-logo-glow:hover::before { background: radial-gradient(circle, rgba(201,169,98,0.25) 0%, rgba(201,169,98,0.1) 40%, transparent 70%); }
.hero-logo-glow::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(108,92,231,0.12); transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.hero-logo-glow:hover::after { border-color: rgba(201,169,98,0.35); box-shadow: 0 0 60px rgba(201,169,98,0.15); }
.hero-logo-img { width: 210px; height: 210px; position: relative; z-index: 2; filter: drop-shadow(0 0 40px rgba(108,92,231,0.3)); animation: float 6s ease-in-out infinite; transition: filter 0.4s ease; }
.hero-logo-glow:hover .hero-logo-img { filter: drop-shadow(0 0 50px rgba(201,169,98,0.5)); }

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.7; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* === SECTION COMMON === */
.section-tag { font-size: 12px; font-weight: 700; color: #00e5ff; text-transform: uppercase; letter-spacing: 2px; text-align: center; display: block; margin-bottom: 10px; }
.products h2, .why-section h2 { font-size: 34px; font-weight: 800; text-align: center; margin-bottom: 48px; color: #fff; letter-spacing: -0.5px; }

/* === PRODUCTS === */
.products { padding: 100px 0; background: #0e0e16; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.product-card { position: relative; padding: 36px 28px; border-radius: 16px; background: #12121a; border: 1px solid #1e1e2e; transition: border-color 0.3s, box-shadow 0.3s; }
.product-card.live { border-color: #6c5ce7; box-shadow: 0 0 40px rgba(108,92,231,0.08); }
.product-card.coming-soon { opacity: 0.75; border-color: rgba(201,169,98,0.25); }
.product-card.coming-soon:hover { opacity: 0.9; border-color: rgba(201,169,98,0.4); }
.product-card.live:hover { box-shadow: 0 0 50px rgba(108,92,231,0.15); }

.badge { position: absolute; top: -12px; right: 20px; padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-live { background: #00e676; color: #0a0a0f; box-shadow: 0 0 12px rgba(0,230,118,0.4); }
.badge-soon { background: #c9a962; color: #0a0a0f; }

.product-icon { font-size: 36px; margin-bottom: 16px; }
.product-card h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.product-sub { font-size: 13px; color: #6b6b80; margin-bottom: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.product-tagline { font-size: 15px; color: #c0c0d0; margin-bottom: 20px; line-height: 1.5; font-weight: 500; }

.product-features { margin-bottom: 24px; }
.product-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #8a8a9e; margin-bottom: 10px; line-height: 1.5; }
.product-features li::before { content: '\2713'; color: #00e676; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.coming-soon .product-features li::before { color: #c9a962; }

.product-price { font-size: 36px; font-weight: 900; color: #6c5ce7; margin-bottom: 4px; }
.product-price small { font-size: 16px; font-weight: 500; color: #6b6b80; }
.product-price.soon-price { font-size: 24px; color: #c9a962; font-weight: 700; }
.product-price-note { font-size: 13px; color: #6b6b80; margin-bottom: 20px; }

/* === WHY ERGOVIA === */
.why-section { padding: 100px 0; background: #0a0a0f; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card { padding: 28px; border-radius: 14px; background: #12121a; border: 1px solid #1e1e2e; transition: border-color 0.3s, box-shadow 0.3s; }
.why-card:hover { border-color: #6c5ce7; box-shadow: 0 0 24px rgba(108,92,231,0.08); }
.why-icon { font-size: 28px; margin-bottom: 12px; }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.why-card p { font-size: 14px; color: #8a8a9e; line-height: 1.7; }

/* === FOOTER === */
.footer { padding: 60px 0 30px; border-top: 1px solid #1e1e2e; background: #0a0a0f; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.footer-brand { max-width: 300px; }
.footer-brand p { font-size: 13px; color: #6b6b80; margin-top: 12px; line-height: 1.6; }
.footer-links { display: flex; gap: 60px; }
.footer-links h4 { font-size: 11px; font-weight: 700; color: #8a8a9e; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; font-size: 14px; color: #6b6b80; margin-bottom: 8px; transition: color 0.2s; }
.footer-links a:hover { color: #00e5ff; }
.footer-bottom { text-align: center; font-size: 13px; color: #3a3a4e; border-top: 1px solid #1e1e2e; padding-top: 20px; }
.footer-legal { display: flex; justify-content: center; gap: 20px; margin-top: 10px; }
.footer-legal a { font-size: 12px; color: #4a4a5e; transition: color 0.2s; }
.footer-legal a:hover { color: #6b6b80; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 80px; gap: 40px; min-height: auto; }
    .hero h1 { font-size: 32px; }
    .hero-visual { flex: none; width: 100%; }
    .hero-logo-glow { width: 240px; height: 240px; margin: 0 auto; }
    .hero-logo-img { width: 150px; height: 150px; }
    .hamburger { display: flex; }
    .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,10,15,0.95); backdrop-filter: blur(16px); flex-direction: column; padding: 12px 24px; border-bottom: 1px solid #1e1e2e; gap: 0; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 0; border-bottom: 1px solid #1a1a2e; font-size: 13px; }
    .product-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .footer-inner { flex-direction: column; }
    .footer-links { gap: 30px; }
}
