@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0d112d;
  --glass-base: rgba(255, 255, 255, 0.15); /* Increased base opacity for glass */
  --glass-border: rgba(255, 255, 255, 0.3); /* Sharper border */
  --blur-amount: 25px; /* High blur for strong glass effect */
  --accent1: #00bcd4;
  --accent2: #9c27b0;
  --muted: #aeb4cd;
  --text-primary: #e6eef8;
  --radius: 20px;
  --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* Glass shadow */
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 10% 20%, rgba(0,188,212,0.25), transparent 10%),
    radial-gradient(1000px 500px at 90% 80%, rgba(156,39,176,0.2), transparent 12%),
    var(--bg);
  background-size: 200% 200%;
  animation: background-pan 40s ease-in-out infinite alternate; 
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

@keyframes background-pan {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 30px 24px; }
.header-grid { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { 
    position: sticky; top: 0; z-index: 40; 
    background: rgba(13, 17, 45, 0.6); /* Semi-transparent background */
    backdrop-filter: blur(var(--blur-amount)); /* Strong blur */
    border-bottom: 1px solid var(--glass-border); 
    box-shadow: var(--shadow-light); /* Glass shadow */
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-primary); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.logo { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 15px rgba(0,188,212,0.5); }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 10px; transition: color 0.3s, background 0.3s, transform 0.3s; font-weight: 500;}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.cta { background: linear-gradient(90deg, var(--accent1), var(--accent2)); color: #fff; padding: 10px 20px; border-radius: 12px; border: none; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; font-weight: 600; }
.cta:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--accent1); }
.hamburger { display: none; background: none; border: 0; padding: 8px; margin-left: 8px; }
.hamburger span { display: block; width: 24px; height: 3px; background: var(--accent1); margin: 5px 0; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

.hero { padding: 90px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 480px; gap: 40px; align-items: center; }
.hero-text-content { z-index: 10; }
.hero h1 { font-size: 3.5rem; margin: 0 0 16px; letter-spacing: -0.05em; line-height: 1.2; background: linear-gradient(90deg, #fff, var(--accent1)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--muted); font-size: 1.2rem; margin: 0 0 24px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 20px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 12px; text-decoration: none; font-weight: 700; transition: transform 0.3s, box-shadow 0.3s; }
.btn.primary { background: linear-gradient(45deg, var(--accent1), var(--accent2)); color: #fff; box-shadow: 0 6px 20px rgba(0,188,212,0.4); }
.btn.primary:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,188,212,0.6); }
.btn.secondary { background: transparent; border: 2px solid var(--accent1); color: var(--accent1); }
.btn.secondary:hover { background: rgba(0,188,212,0.1); transform: translateY(-2px); }

.card.demo { 
    background: rgba(13, 17, 45, 0.5); /* Semi-transparent dark background */
    border-radius: 24px; padding: 30px; position: relative; overflow: hidden; 
    border: 1px solid var(--glass-border); 
    box-shadow: var(--shadow-light); /* Glass shadow */
    backdrop-filter: blur(15px);
}
.floating { 
    backdrop-filter: blur(20px); /* Extra blur for inner card */
    background: var(--glass-base); 
    padding: 20px; border-radius: 18px; 
    border: 1px solid var(--glass-border); 
    box-shadow: var(--shadow-light); 
}
.floating h3 { margin-top: 0; color: var(--accent1); }
.stat-grid { display: flex; gap: 30px; margin-top: 16px; align-items: center; }
.stat { min-width: 90px; }
.num { font-weight: 800; font-size: 1.8rem; background: linear-gradient(90deg, var(--accent1), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.label { color: var(--muted); font-size: 0.95rem; }
.wave { position: absolute; right: -80px; bottom: -80px; width: 400px; height: 400px; border-radius: 50%; background: linear-gradient(180deg, rgba(0,188,212,0.3), rgba(156,39,176,0.3)); filter: blur(70px); transform: rotate(45deg); opacity: 0.7; z-index: 0; }

.section { padding: 100px 0; }
.section h2 { font-size: 2.5rem; letter-spacing: -0.04em; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { 
    background: var(--glass-base); /* Glass background */
    backdrop-filter: blur(10px); /* Subtle blur for steps */
    padding: 28px; border-radius: 18px; margin-bottom: 20px; 
    display: flex; flex-wrap: wrap; gap: 20px; align-items: center; position: relative; 
    border: 1px solid var(--glass-border); 
    transition: transform 0.5s cubic-bezier(.2,.9,.2,1); font-size: 1.1rem; line-height: 1.6; 
    box-shadow: var(--shadow-light);
}
.steps li:hover { transform: translateY(-8px); }
.steps li::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(45deg, var(--accent2), var(--accent1)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 1.3rem; box-shadow: 0 3px 10px rgba(156,39,176,0.6); }
.codecard { margin-top: 30px; background: rgba(0, 0, 0, 0.7); padding: 20px; border-radius: 16px; border: 1px solid var(--glass-border); position: relative; }
.codecard pre { margin: 0; overflow-x: auto; color: var(--accent1); font-family: 'Consolas', monospace; }
.codecard code { display: block; white-space: pre-wrap; word-break: break-all; }
.copy { position: absolute; top: 10px; right: 10px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.2); border: none; color: #fff; cursor: pointer; transition: background 0.3s; font-size: 0.9rem; }
.copy:hover { background: var(--accent1); }

.glass-panel {
    background: var(--glass-base);
    backdrop-filter: blur(18px);
    padding: 20px; border-radius: 18px; 
    border: 1px solid var(--glass-border); 
    box-shadow: var(--shadow-light);
}
aside h3 { color: var(--accent2); margin-top: 0; }
.checklist { padding: 0; margin: 12px 0 0 0; list-style: none; }
.checklist li { background: rgba(255,255,255,0.05); padding: 14px; border-radius: 10px; margin-bottom: 10px; color: var(--muted); }
.note { margin-top: 25px; padding: 15px; border-radius: 10px; background: rgba(0,188,212,0.1); border-left: 4px solid var(--accent1); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.glass-card { 
    background: var(--glass-base);
    backdrop-filter: blur(10px);
    padding: 30px; border-radius: 20px; 
    border: 1px solid var(--glass-border); 
    transition: transform 0.5s cubic-bezier(.2,.9,.2,1); 
    box-shadow: var(--shadow-light);
}
.glass-card:hover { transform: translateY(-10px); }
.glass-card h4 { font-size: 1.4rem; color: var(--accent1); margin-top: 0; }
.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }

.links-row { display: flex; gap: 20px; margin-top: 30px; }
.card-link { flex-grow: 1; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; text-decoration: none; color: inherit; transition: transform 0.5s, background 0.3s, box-shadow 0.3s; }
.card-link:hover { transform: translateY(-8px); background: rgba(26,34,74,0.9); box-shadow: 0 8px 25px rgba(0,0,0,0.5); }
.icon { width: 36px; height: 36px; }
.card-link span { font-weight: 600; font-size: 1.1rem; }

.site-footer { padding: 40px 0; background: rgba(0,0,0,0.3); border-top: 1px solid var(--glass-border); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-inline { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.logo-sm { width: 40px; height: 40px; border-radius: 10px; } 
.footer-links { display: flex; gap: 20px; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent1); }
.copyright { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav { 
    display: none; 
    position: absolute; 
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13, 17, 45, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 10px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }
  .nav.open { display: flex; }
  .nav a, .nav button { width: 100%; text-align: center; padding: 15px; }
  .hamburger { display: block; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: center; gap: 15px; text-align: center; }
  .footer-links { justify-content: center; }
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }