@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --primary-color: #06b6d4;
  --secondary-color: #3b82f6;
  --accent-color: #8b5cf6;
  --nav-height: 80px;

  /* Glass/Borders */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-card-bg: rgba(255, 255, 255, 0.85);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --neon-glow: 0 0 15px rgba(6, 182, 212, 0.2);
  --neon-glow-hover: 0 0 30px rgba(6, 182, 212, 0.4);
}

[data-theme="dark"] {
  --bg-primary: #05050a;
  --bg-secondary: #0a0a10;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --primary-color: #00f0ff;
  --secondary-color: #0055ff;
  --accent-color: #b026ff;
  
  --glass-bg: rgba(5, 5, 10, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-card-bg: rgba(20, 20, 30, 0.4);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  
  --neon-glow: 0 0 20px rgba(0, 240, 255, 0.15);
  --neon-glow-hover: 0 0 40px rgba(0, 240, 255, 0.3);
}

/* Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
a { color: inherit; text-decoration: none; }

/* Background Blobs */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; animation: float 20s infinite alternate ease-in-out; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary-color); opacity: 0.15; }
.blob-2 { bottom: -10%; right: -10%; width: 45vw; height: 45vw; background: var(--secondary-color); opacity: 0.15; animation-delay: -5s; }
.blob-3 { top: 40%; left: 40%; width: 30vw; height: 30vw; background: var(--accent-color); opacity: 0.15; animation-delay: -10s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, -5%) scale(1.1); }
  66% { transform: translate(-5%, 5%) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* SPA Views */
.view-section { display: none; opacity: 0; transform: translateY(10px); transition: all 0.4s ease; padding: 0; }
.view-section.active { display: block; opacity: 1; transform: translateY(0); }

/* Typography & Utilities */
.gradient-text-primary, .gradient-text-secondary, .gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.text-glass { color: var(--text-muted); }
.text-glass-sm { color: var(--text-muted); font-size: 0.9rem; }
.text-glass-muted { color: rgba(148, 163, 184, 0.7); }
.text-lead { font-size: 1.15rem; line-height: 1.8; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.p-xl { padding: 3rem; }

/* Glassmorphism Classes */
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--glass-border); }
.glass-card { background: var(--glass-card-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: var(--shadow-sm); }
.glass-btn { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); color: var(--text-primary); transition: all 0.3s; }
.glass-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--primary-color); }

/* Navbar */
.glass-header { position: fixed; top: 0; width: 100%; height: var(--nav-height); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.navbar { width: 100%; display: flex; justify-content: center; }
.nav-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0.5rem 2rem; display: flex; align-items: center; border-radius: 100px; margin-top: 1rem; }
.nav-logo { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; margin-right: 2.5rem; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-link { font-weight: 500; font-size: 0.95rem; color: var(--text-primary); transition: color 0.3s; position: relative; padding: 0.5rem 0; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-controls { display: flex; gap: 0.75rem; align-items: center; margin-left: auto; }
.lang-select { background: transparent; border: none; color: var(--text-primary); outline: none; cursor: pointer; font-family: inherit; font-weight: 500; }
.lang-select option { background-color: var(--bg-primary); color: var(--text-primary); }
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.mobile-menu-btn { display: none; width: 36px; height: 36px; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer; }
.mobile-menu-btn span { width: 16px; height: 2px; background: var(--text-primary); transition: all 0.3s; }
.mobile-nav { display: none; position: fixed; top: 80px; left: 1rem; right: 1rem; border-radius: 20px; padding: 1rem; flex-direction: column; gap: 1rem; z-index: 999; }
.mobile-nav.open { display: flex; }

/* Skip Link */
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--primary-color); color: var(--bg-primary); padding: 10px 20px; z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 20px; }

/* Main layout */
#app-root { padding-top: calc(var(--nav-height) + 2rem); min-height: 80vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; }

/* Hero */
.hero { min-height: calc(100vh - var(--nav-height)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.5rem; }
.hero-glass-card { padding: 4rem 2rem; max-width: 800px; width: 100%; box-shadow: var(--shadow-lg); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 100px; border: 1px solid var(--primary-color); font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; color: var(--primary-color); }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 10px var(--primary-color); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1rem; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 600px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn { padding: 0.75rem 1.5rem; border-radius: 100px; font-weight: 600; font-family: inherit; display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; transition: all 0.3s; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-neon { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: #fff; border: none; box-shadow: var(--neon-glow); }
.btn-neon:hover { box-shadow: var(--neon-glow-hover); transform: translateY(-2px); }

/* Sections */
.section-header { margin-bottom: 4rem; }
.section-heading { font-size: 2.5rem; margin-bottom: 1rem; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.product-card { padding: 2.5rem; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; color: inherit; position: relative; }
.neon-border { border: 1px solid var(--glass-border); }
.neon-border-hover:hover, .product-card:hover { border-color: var(--primary-color); box-shadow: var(--neon-glow-hover); transform: translateY(-5px); }

.product-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(6, 182, 212, 0.1); color: var(--primary-color); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; border: 1px solid rgba(6, 182, 212, 0.2); transition: all 0.3s; flex-shrink: 0; }
.product-icon svg { width: 28px; height: 28px; display: block; }
.product-card:hover .product-icon { background: var(--primary-color); color: var(--bg-primary); transform: scale(1.1) rotate(-5deg); }
.product-title { font-size: 1.4rem; margin-bottom: 1rem; }
.product-desc { flex-grow: 1; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.product-link-label { margin-top: 1.5rem; font-weight: 600; color: var(--primary-color); display: flex; align-items: center; gap: 0.5rem; }
.hover-arrow { transition: transform 0.3s; }
.product-card:hover .hover-arrow { transform: translateX(5px); }

/* Contact Section */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.glass-pill { padding: 1rem 1.5rem; background: var(--glass-card-bg); border: 1px solid var(--glass-border); border-radius: 100px; display: inline-flex; }
.neon-text { color: var(--primary-color); font-weight: 600; min-width: 80px; }
.hover-neon { color: var(--text-primary); transition: color 0.3s; text-decoration: none; }
.hover-neon:hover { color: var(--primary-color); text-shadow: 0 0 10px rgba(6, 182, 212, 0.5); }
.contact-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.footer { padding: 4rem 1.5rem 2rem; margin-top: 4rem; border-top: 1px solid var(--glass-border); }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 2rem; display: flex; justify-content: center; }

/* Toast */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--glass-card-bg); backdrop-filter: blur(24px); border: 1px solid var(--primary-color); border-radius: 16px; padding: 1rem 2rem; color: var(--text-primary); box-shadow: var(--neon-glow); z-index: 9999; animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.toast.hide { animation: slideDown 0.3s forwards; }
@keyframes slideUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideDown { to { transform: translateY(100px); opacity: 0; } }

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-container { margin-top: 0; border-radius: 0; border-left: none; border-right: none; border-top: none; }
  .hero-glass-card { padding: 3rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .glass-pill { border-radius: 16px; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
