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

:root {
  --bg: #0b0f14;
  --bg-2: #0e141b;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7edf3;
  --muted: #a7b0c0;
  --accent: #21c8d0;
  --accent-2: #9b5cf6;
  --gold: #d4af37;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* Reset / base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(33, 200, 208, 0.12), transparent 60%),
    radial-gradient(1000px 500px at 110% 30%, rgba(155, 92, 246, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Utilities */
.container { width: min(1100px, 92%); margin: 0 auto; }
.hidden { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent-text { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Glass card base */
.glass {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1);
}

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: linear-gradient(to bottom, rgba(10,14,20,0.85), rgba(10,14,20,0.6));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}
.navbar.scrolled {
  height: 64px;
  background: linear-gradient(to bottom, rgba(10,14,20,0.92), rgba(10,14,20,0.75));
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.logo { height: 40px; width: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35)); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--text);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.2px;
  opacity: 0.9; position: relative; transition: opacity .25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease; border-radius: 2px;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }

/* Dropdown menu */
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; }
.dropdown-toggle .chev { font-size: 0.85em; opacity: 0.8; transition: transform .2s ease; }
.dropdown.open .dropdown-toggle .chev { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 220px;
  padding: 10px; border-radius: 14px; display: none; flex-direction: column; gap: 6px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border); box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a {
  padding: 10px 12px; border-radius: 10px;
  transition: background .2s ease, transform .15s ease;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.06); transform: translateX(2px); }

/* Page spacing */
.page { padding-top: 100px; /* space for fixed navbar */ }
.section { padding: 84px 0; }
.section.compact { padding: 48px 0; }
.section-header { margin-bottom: 24px; }
.section .title { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.3px; }
.section .lead { color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: 0.85rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); }

/* Hero / Intro */
.construction-wrap { min-height: calc(100dvh - 120px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 42px; align-items: center; }
@media (max-width: 980px) {
  .construction-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
}

h1.title {
  margin: 18px 0 10px; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #eaf6ff 0%, #c7d7ff 40%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subtitle { color: var(--muted); font-size: clamp(1rem, 2.1vw, 1.2rem); line-height: 1.6; margin-bottom: 22px; }

/* Progress */
.progress-bar { width: min(420px, 100%); height: 10px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); overflow: hidden; position: relative; }
.progress { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); filter: drop-shadow(0 0 10px rgba(33,200,208,.45)); animation: shimmer 1.6s ease-in-out infinite; }
@keyframes shimmer { 0% { transform: translateX(0); } 100% { transform: translateX(350%); } }
.coming-soon { margin-top: 12px; color: #dfe8ff; font-weight: 700; letter-spacing: 0.5px; }

/* Right card with image */
.preview-card { padding: 18px; border-radius: 18px; position: relative; }
.preview-card .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: rgba(0,0,0,0.2); box-shadow: var(--shadow-2); }
.preview-card img { display: block; width: 100%; height: auto; }

/* Buttons */
.btn-row { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px; font-weight: 700; letter-spacing: 0.3px; border-radius: 12px; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; will-change: transform; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #0b0f14; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); box-shadow: 0 10px 25px rgba(33,200,208,0.25), 0 8px 18px rgba(155,92,246,0.15); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline { color: var(--text); background: transparent; border-color: var(--border); }
.btn-outline:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
/* 3D press effect optional class */
.press-3d { box-shadow: 0 12px 30px rgba(0,0,0,0.35); transform: translateZ(0); }
.press-3d.is-pressed { transform: translateY(2px) scale(0.99); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }

/* Footer */
.footer { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 24px; background: linear-gradient(to top, rgba(10,14,20,0.85), rgba(10,14,20,0.6)); border-top: 1px solid var(--border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.footer .social-links { display: flex; justify-content: flex-end; gap: 16px; }
.footer .social-links a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--border); transition: transform .2s ease, box-shadow .3s ease, color .2s ease, background .2s ease; }
.footer .social-links a:hover { color: #ffffff; background: linear-gradient(135deg, rgba(33,200,208,0.2), rgba(155,92,246,0.24)); box-shadow: 0 8px 22px rgba(33,200,208,0.18); transform: translateY(-2px); }

/* Accessibility */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Enhance existing classes for old structure */
.container-old { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; text-align: center; padding: 2rem; }
.construction-notice { max-width: 760px; width: 92%; margin: 24px auto; padding: 2.2rem; border-radius: 18px; }
.construction-notice h1 { margin-bottom: .6rem; }
.construction-notice .subtitle { margin-bottom: 1.2rem; }
.main-image { max-width: 420px; border-radius: 14px; box-shadow: var(--shadow-2); border: 1px solid var(--border); }

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }

.card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.card .media { position: relative; overflow: hidden; }
.card .media img { width: 100%; height: auto; display: block; }
.card .content { padding: 16px; }
.card .content .title { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; }
.card .content .desc { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); box-shadow: var(--shadow-1); transition: transform .2s ease; }
.fact:hover { transform: translateY(-2px); }
.fact .kicker { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.fact .value { font-size: 1.1rem; font-weight: 700; letter-spacing: .2px; }

/* Timeline / About */
.timeline { position: relative; margin: 18px 0 0; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 2px; opacity: .6; }
.timeline .item { position: relative; padding: 10px 0 10px 12px; }
.timeline .item::before { content: ''; position: absolute; left: -2px; top: 16px; width: 10px; height: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }

/* 3D tilt helpers */
.tilt { will-change: transform; transform-style: preserve-3d; transition: transform .2s ease; }
.tilt .tilt-child { transform: translateZ(22px); }

/* Mobile tweaks */
@media (max-width: 600px) {
  .navbar { padding: 0 16px; }
  .nav-links { gap: 14px; }
  .footer { padding: 10px 14px; }
  .section { padding: 56px 0; }
}
