/* ========================================
   BEZMO — Premium Dark Theme
   ======================================== */

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

:root {
  --bg-primary: #06090f;
  --bg-secondary: #0c1220;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-input: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-focus: #3b9eff;
  --text-primary: #f1f5f9;
  --text-secondary: #b0bec9;
  --text-muted: #7a8a9e;
  --accent: #3b9eff;
  --accent-light: #60b4ff;
  --accent-glow: rgba(59, 158, 255, 0.12);
  --accent-secondary: #7c5cfc;
  --gradient-accent: linear-gradient(135deg, #3b9eff, #60b4ff);
  --gradient-premium: linear-gradient(135deg, #3b9eff, #7c5cfc);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-glow: 0 0 60px rgba(59, 158, 255, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   BACKGROUND CANVAS
   ======================================== */

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ensure all content sits above canvas */
.navbar,
section,
footer {
  position: relative;
  z-index: 1;
}

/* ========================================
   GLASSMORPHISM CARD
   ======================================== */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 9, 15, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar--scrolled {
  background: rgba(6, 9, 15, 0.88);
  padding: 12px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar__logo-link {
  display: flex;
  align-items: center;
}

.navbar__logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(59, 158, 255, 0.15));
  transition: opacity 0.2s;
}

.navbar__logo:hover {
  opacity: 0.8;
}

.navbar__links {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
}

.navbar__links a {
  position: relative;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar__links a:hover {
  color: var(--accent-light);
}

.navbar__links a:hover::after {
  width: 100%;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 120px;
}

.hero__orb {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.08) 0%, rgba(124, 92, 252, 0.04) 40%, transparent 65%);
  pointer-events: none;
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.hero__content {
  position: relative;
}

.hero__logo {
  width: 100px;
  height: auto;
  margin-bottom: 44px;
  filter: drop-shadow(0 0 40px rgba(59, 158, 255, 0.2));
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__title span {
  background: var(--gradient-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  margin-bottom: 48px;
}

.hero__subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero__subtitle-detail {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero__emails {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__emails a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__emails a:hover {
  color: var(--accent-light);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient-premium);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 158, 255, 0.3);
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(59, 158, 255, 0.4), 0 0 60px rgba(124, 92, 252, 0.15);
  color: #fff;
}

.btn--primary:hover::after {
  left: 100%;
}

.btn--primary:active {
  transform: translateY(0);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
  position: relative;
}

.content-section::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 80px;
  background: linear-gradient(90deg, transparent, var(--glass-border) 30%, var(--glass-border) 70%, transparent);
}

.content-section__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.content-section__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  text-align: center;
}

.content-section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 36px;
  letter-spacing: -0.03em;
  position: relative;
  text-align: center;
}

.content-section__text {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.85;
}

.content-section__text:last-child {
  margin-bottom: 0;
}

.content-section__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.content-section__text--centered {
  text-align: center;
}

.content-section__emphasis {
  margin: 36px auto;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  text-align: left;
  display: inline-block;
}

.content-section__emphasis p {
  font-size: 1.18rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 2;
}

/* Wide variant for feature grid sections */
.content-section--wide .content-section__header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.content-section__footer {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ========================================
   FEATURE CARD GRID
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.feature-card {
  padding: 36px;
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(59, 158, 255, 0.15);
  box-shadow: 0 8px 40px rgba(59, 158, 255, 0.08), 0 0 0 1px rgba(59, 158, 255, 0.1);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-card__icon {
  background: rgba(59, 158, 255, 0.18);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ========================================
   FORM SECTION
   ======================================== */

.form-section {
  position: relative;
}

.form-section::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 80px;
  background: linear-gradient(90deg, transparent, var(--glass-border) 30%, var(--glass-border) 70%, transparent);
}

.form-section__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.form-section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.form-section__subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form__input,
.form__select,
.form__textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  width: 100%;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px rgba(59, 158, 255, 0.06);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.form__checkbox {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form__checkbox-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__submit {
  margin-top: 8px;
  width: 100%;
}

.form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form__success.visible {
  display: block;
}

.form__success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
}

.form__success-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form__success-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  text-align: center;
}

.footer__logo {
  height: 28px;
  width: auto;
  opacity: 0.25;
  margin-bottom: 24px;
  filter: grayscale(100%);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--accent-light);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer__stealth {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal {
  padding: 120px 0 80px;
}

.legal__inner {
  max-width: 680px;
  margin: 0 auto;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  transition: color 0.2s;
}

.legal__back:hover {
  color: var(--accent-light);
}

.legal__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal__date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal__content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal__content ul {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
}

.legal__content ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.7;
}

.legal__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.legal__content a {
  color: var(--accent-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  section {
    padding: 80px 0;
  }

  .hero {
    min-height: 85vh;
    padding: 100px 0 80px;
  }

  .hero__logo {
    width: 76px;
    margin-bottom: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    padding: 28px;
  }

  .feature-card {
    padding: 28px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .content-section__emphasis {
    padding-left: 16px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.85rem;
  }
}
