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

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

:root {
  --bg-dark: #0a0e17;
  --bg-card: rgba(18, 24, 38, 0.65);
  --bg-card-hover: rgba(25, 33, 52, 0.75);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.04);
  --text-white: #f0f0f5;
  --text-light: #b0b8c8;
  --text-muted: #6b7a90;
  --accent-gold: #d4a574;
  --accent-copper: #c5855a;
  --accent-blue: #5b8def;
  --accent-purple: #9b7ed8;
  --accent-green: #6ba89e;
  --gradient-main: linear-gradient(135deg, #d4a574 0%, #c5855a 50%, #9b7ed8 100%);
  --gradient-hero: linear-gradient(180deg, #0d1321 0%, #0a0e17 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .hero__title, .section__title, .page-hero__title, .nav__logo {
  font-family: var(--font-display);
}

a { color: var(--accent-gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--text-white); }

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

/* ═══ BACKGROUND EFFECTS ═══ */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(212,165,116,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1;
  pointer-events: none; opacity: 0.15;
  animation: orbFloat 25s ease-in-out infinite;
}
.bg-orb--1 { width: 600px; height: 600px; top: -200px; right: -100px; background: var(--accent-gold); }
.bg-orb--2 { width: 500px; height: 500px; bottom: -150px; left: -100px; background: var(--accent-purple); animation-delay: -8s; }
.bg-orb--3 { width: 400px; height: 400px; top: 50%; left: 50%; background: var(--accent-blue); opacity: 0.08; animation-delay: -16s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.08); }
  50% { transform: translate(-30px, 40px) scale(0.92); }
  75% { transform: translate(30px, 30px) scale(1.04); }
}

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 14, 23, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text-white); text-decoration: none; }
.nav__logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-main); color: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}
.nav__links { display: flex; list-style: none; gap: 8px; align-items: center; }
.nav__links li a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  color: var(--text-light); font-size: 0.9rem; font-weight: 500;
  transition: all 0.3s; text-decoration: none;
}
.nav__links li a:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.nav__cta {
  background: var(--gradient-main) !important; color: var(--bg-dark) !important;
  font-weight: 600 !important; padding: 8px 20px !important; border-radius: 50px !important;
}
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text-white); margin: 5px 0; transition: 0.3s; }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.hero__content { max-width: 700px; position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(212,165,116,0.1); border: 1px solid rgba(212,165,116,0.2);
  font-size: 0.85rem; color: var(--accent-gold); margin-bottom: 24px;
}
.hero__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero__title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; color: var(--text-white); margin-bottom: 24px; }
.gradient-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__subtitle { font-size: 1.15rem; line-height: 1.7; color: var(--text-light); margin-bottom: 32px; max-width: 600px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.3s; text-decoration: none; cursor: pointer; border: none;
}
.btn--primary { background: var(--gradient-main); color: var(--bg-dark); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,165,116,0.3); color: var(--bg-dark); }
.btn--secondary { background: rgba(255,255,255,0.06); color: var(--text-white); border: 1px solid rgba(255,255,255,0.1); }
.btn--secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn__arrow { transition: transform 0.3s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ═══ SECTIONS ═══ */
.section { padding: 100px 0; position: relative; }
.section--alt { background: rgba(255,255,255,0.015); }
.section__header { text-align: center; margin-bottom: 60px; }
.section__label {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(212,165,116,0.1); border: 1px solid rgba(212,165,116,0.15);
  font-size: 0.8rem; font-weight: 600; color: var(--accent-gold);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.section__title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--text-white); margin-bottom: 16px; line-height: 1.2; }
.section__description { font-size: 1.1rem; color: var(--text-light); max-width: 700px; margin: 0 auto; line-height: 1.7; }

/* ═══ STATS ═══ */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px; border-radius: var(--radius-xl); background: var(--bg-card); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.stat-item { text-align: center; }
.stat-item__number { font-size: 2.5rem; font-weight: 800; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item__label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ═══ VALUE CARDS ═══ */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.value-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(212,165,116,0.2); background: var(--bg-card-hover); }
.value-card__icon { font-size: 2rem; margin-bottom: 16px; }
.value-card__title { font-size: 1.15rem; font-weight: 700; color: var(--text-white); margin-bottom: 10px; }
.value-card__text { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* ═══ SUITE CARDS ═══ */
.suites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.suite-card {
  padding: 32px; border-radius: var(--radius-lg); background: var(--bg-card);
  border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s;
}
.suite-card:hover { transform: translateY(-4px); border-color: rgba(212,165,116,0.2); }
.suite-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.suite-card__icon { font-size: 2rem; width: 50px; height: 50px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.suite-card__name { font-size: 1.2rem; font-weight: 700; color: var(--text-white); }
.suite-card__description { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; }
.suite-card__apps { display: flex; flex-wrap: wrap; gap: 8px; }
.suite-card__app { padding: 4px 12px; border-radius: 50px; background: rgba(255,255,255,0.05); font-size: 0.8rem; color: var(--text-muted); }

/* ═══ APPS GRID (catalog) ═══ */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.app-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s; text-decoration: none; color: var(--text-light);
  display: flex; flex-direction: column;
}
.app-card:hover { transform: translateY(-6px); border-color: var(--accent-gold); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.app-card__img { width: 100%; height: 200px; object-fit: cover; }
.app-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.app-card__suite { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.app-card__name { font-size: 1.1rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.app-card__tagline { font-size: 0.9rem; color: var(--text-muted); flex: 1; }

/* ═══ PRODUCT DETAIL PAGE ═══ */
.page-hero { padding: 140px 0 60px; position: relative; }
.page-hero__label { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.page-hero__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--text-white); margin-bottom: 12px; }
.page-hero__tagline { font-size: 1.3rem; color: var(--accent-gold); margin-bottom: 24px; font-weight: 500; }
.page-hero__desc { font-size: 1.1rem; color: var(--text-light); max-width: 700px; line-height: 1.7; }
.page-hero__img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius-xl); margin-top: 40px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.feature-item {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.feature-item__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.feature-item__text { font-size: 0.95rem; color: var(--text-light); line-height: 1.5; }

.info-block { padding: 32px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); margin-bottom: 24px; }
.info-block__title { font-size: 1.1rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 12px; }
.info-block__text { font-size: 1rem; color: var(--text-light); line-height: 1.7; }

.disclaimer {
  padding: 20px 24px; border-radius: var(--radius-md);
  background: rgba(212, 85, 85, 0.08); border: 1px solid rgba(212, 85, 85, 0.2);
  color: #e8a0a0; font-size: 0.95rem; margin-top: 20px;
}

/* ═══ CONTENT PAGES ═══ */
.content-section { padding: 40px 0; }
.content-section h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-white); margin: 40px 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.content-section h3 { font-size: 1.2rem; font-weight: 600; color: var(--accent-gold); margin: 24px 0 12px; }
.content-section p { font-size: 1.05rem; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.content-section ul { padding-left: 24px; margin-bottom: 16px; }
.content-section li { font-size: 1rem; color: var(--text-light); line-height: 1.6; margin-bottom: 8px; }
.content-section strong { color: var(--accent-gold); }

/* ═══ PRICING ═══ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
  padding: 32px; border-radius: var(--radius-lg); background: var(--bg-card);
  border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s; text-align: center;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(212,165,116,0.2); }
.pricing-card--featured { border-color: var(--accent-gold); background: rgba(212,165,116,0.05); }
.pricing-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.pricing-card__title { font-size: 1.15rem; font-weight: 700; color: var(--text-white); margin-bottom: 12px; }
.pricing-card__desc { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* ═══ SWOT ═══ */
.swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.swot-cell { padding: 24px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.swot-cell__title { font-size: 1.1rem; font-weight: 700; color: var(--text-white); margin-bottom: 12px; }
.swot-cell__list { list-style: none; padding: 0; }
.swot-cell__list li { font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; padding-left: 16px; position: relative; }
.swot-cell__list li::before { content: '•'; position: absolute; left: 0; color: var(--accent-gold); }

/* ═══ FOOTER ═══ */
.footer { padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand-name { font-size: 1.2rem; font-weight: 700; color: var(--text-white); margin-bottom: 12px; }
.footer__brand-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.footer__col-title { font-size: 0.85rem; font-weight: 600; color: var(--text-white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: var(--text-muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--accent-gold); }
.footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.footer__bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ═══ ANIMATIONS ═══ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ DOCUMENTATION LAYOUT ═══ */
[id^="sec-"] {
  scroll-margin-top: 100px;
}
.doc-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}
.doc-sidebar {
  width: 280px;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.doc-sidebar__title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.doc-sidebar__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doc-sidebar__links a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all 0.3s;
  text-decoration: none;
}
.doc-sidebar__links a:hover {
  color: var(--text-white);
  padding-left: 4px;
}
.doc-content {
  flex: 1;
  min-width: 0;
}
.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.content-section th, .content-section td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.content-section th {
  background: rgba(255,255,255,0.05);
  color: var(--text-white);
  font-weight: 600;
}
.content-section tr:last-child td {
  border-bottom: none;
}
.content-section blockquote {
  border-left: 4px solid var(--accent-gold);
  background: rgba(212,165,116,0.03);
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-light);
}
.content-section code {
  font-family: monospace;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--accent-gold);
}
.content-section pre {
  background: rgba(0,0,0,0.3);
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 24px 0;
}
.content-section pre code {
  background: none;
  padding: 0;
  color: var(--text-light);
}
.content-section code {
  font-family: monospace;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--accent-gold);
}
.content-section pre {
  background: rgba(0,0,0,0.3);
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 24px 0;
}
.content-section pre code {
  background: none;
  padding: 0;
  color: var(--text-light);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 992px) {
  .doc-layout {
    flex-direction: column;
    gap: 30px;
  }
  .doc-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 24px;
  }
}
@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,14,23,0.98); padding: 16px; border-top: 1px solid rgba(255,255,255,0.05); }
  .nav__links.active { display: flex; }
  .nav__toggle { display: block; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .swot-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 2.2rem; }
}

@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
main {
  animation: fadeInPage 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
