/* 3DParty Global Styles - Clean Minimal Theme */
/* Dark theme with purple accents, smooth animations */

:root {
  /* Base Colors */
  --bg-primary: #08080c;
  --bg-secondary: #0d0d12;
  --bg-tertiary: #141420;
  
  /* Glass Colors - Subtle */
  --glass-bg: rgba(20,20,20, 0.5);
  --glass-bg-light: rgba(25, 25, 38, 0.4);
  --glass-bg-strong: rgba(12, 12, 18, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-light: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-glow: 0 0 60px rgba(212, 168, 67, 0.1);
  
  /* Accent Colors — Gold theme (site-wide professional SaaS look) */
  --accent-purple: #d4a843;        /* kept var name for compat — now gold */
  --accent-purple-light: #e8c060;  /* kept var name for compat — now gold-light */
  --accent-purple-dark: #b8891e;   /* kept var name for compat — now gold-dark */
  --accent-red: #dc2626;
  --accent-red-light: #ef4444;
  --accent-red-dark: #b91c1c;
  --accent-gradient: linear-gradient(135deg, #d4a843 0%, #b8891e 100%);
  --accent-gradient-hover: linear-gradient(135deg, #e8c060 0%, #d4a843 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(212, 168, 67, 0.15) 0%, rgba(184, 137, 30, 0.08) 100%);
  
  /* Text Colors */
  --text-primary: #f4f4f5;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  
  /* Blur Values */
  --blur-sm: 10px;
  --blur-md: 20px;
  --blur-lg: 30px;
  --blur-xl: 40px;
  
  /* Spacing */
  --section-padding: 100px;
  --section-padding-sm: 60px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Maintenance Gate: hide body until gate clears ── */
body:not(.gate-ready):not(.gate-login) {
  visibility: hidden !important;
  opacity: 0 !important;
}
body.gate-ready {
  visibility: visible !important;
}
body.gate-login {
  visibility: visible !important;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: #000;
  overscroll-behavior: none;
}

/* Page transitions */
body {
  animation: pageIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* Animated glowing orbs background - Maximum visibility */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 900px;
  height: 900px;
  background: transparent;
  display: none;
  animation: none;
}

body::after {
  /* red orb removed globally (was visual ornament). */
  display: none;
}

/* Additional orbs via pseudo elements on html */
html::before,
html::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}

html::before {
  width: 600px;
  height: 600px;
  background: transparent;
  display: none;
  animation: none;
}

html::after {
  /* red orb removed globally */
  display: none;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(80px, 120px) scale(1.15); }
  50% { transform: translate(150px, 60px) scale(0.9); }
  75% { transform: translate(50px, -80px) scale(1.1); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-100px, -100px) scale(1.15); }
  50% { transform: translate(-150px, -40px) scale(0.9); }
  75% { transform: translate(-60px, 80px) scale(1.1); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, 70px) scale(1.2); }
  66% { transform: translate(60px, -80px) scale(0.85); }
}

@keyframes floatOrb4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-50px, 70px) scale(0.95); }
}

/* ===========================================
   GLASSMORPHISM COMPONENTS
   =========================================== */

/* Glass Card - Enhanced frosted effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-light);
  box-shadow: var(--glass-shadow), var(--glass-glow);
}

/* Glass Panel - Stronger frosted effect */
.glass-panel {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--blur-xl));
  -webkit-backdrop-filter: blur(var(--blur-xl));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

/* Glass Button */
.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border-light);
}

/* Primary Button (canonical from Page-main) */
.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 50%, #e8e8e8 100%);
  color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-shadow: none;
  position: relative;
  top: 0;
  padding: 11px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 50%, #f0f0f0 100%);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(212, 168, 67, 0.4);
  padding: 11px 24px;
  border-radius: 10px;
  color: var(--accent-purple-light);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--accent-purple);
}

/* ===========================================
   NAVIGATION - Clean & Minimal
   =========================================== */

.threedai-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 14, 0.35);
  backdrop-filter: blur(var(--blur-xl));
  -webkit-backdrop-filter: blur(var(--blur-xl));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.threedai-nav.nav-hidden {
  transform: translateY(-100%);
}

.threedai-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.threedai-nav .logo-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Beta badge — displayed next to logo text */
.beta-badge {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d0d12;
  background: linear-gradient(135deg, #e8c060, #d4a843);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: super;
  line-height: 1;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.threedai-nav .logo .beta-badge {
  font-size: 0.5rem;
  padding: 1px 5px;
  margin-left: 5px;
}

.threedai-nav .logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform var(--transition-normal);
}

.threedai-nav .logo:hover .logo-img {
  transform: scale(1.05);
}

.threedai-nav .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13px;
  transition: all var(--transition-normal);
  position: relative;
  text-shadow: none;
}

.nav-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 16px rgba(255, 255, 255, 0.3), 0 0 24px rgba(255, 255, 255, 0.15);
}

.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Navigation — hamburger hidden on desktop, shown on mobile */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
  .nav-links {
    display: flex;
    gap: 4px;
  }
  .nav-actions { gap: 8px; }
  .nav-actions .glass-btn,
  .nav-actions .btn-primary {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
  .threedai-nav .logo-text { font-size: 17px; }
}

@media (max-width: 768px) {
  .threedai-nav {
    padding: 0 16px;
    height: 56px;
    justify-content: center;
  }
  .threedai-nav .logo { display: none; }
  .threedai-nav .logo-text { display: none; }
  .threedai-nav .beta-badge { display: none; }
  .threedai-nav .logo-img { display: none; }
  .nav-actions { display: none; }
  .nav-links { gap: 2px; justify-content: center; flex: 1; }
  .nav-links a { font-size: 0.72rem; padding: 6px 6px; }
}

@media (max-width: 480px) {
  .threedai-nav {
    padding: 0 12px;
    height: 52px;
    justify-content: center;
  }
  .threedai-nav .logo { display: none; }
  .threedai-nav .logo-text { display: none; }
  .threedai-nav .beta-badge { display: none; }
  .threedai-nav .logo-img { display: none; }
  .nav-actions { display: none; }
  .nav-links { gap: 0; justify-content: center; flex: 1; }
  .nav-links a { font-size: 0.68rem; padding: 6px 4px; }
}

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

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .gradient-text,
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================
   CONTENT SECTIONS - Clean & Spacious
   =========================================== */

.section {
  padding: var(--section-padding) 24px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
}

/* Feature Grid - Cleaner cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 28px;
  text-align: left;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

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

.feature-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===========================================
   PRICING CARDS - Clean & Minimal
   =========================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(212, 168, 67, 0.3);
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.06) 0%, var(--glass-bg) 100%);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--accent-gradient);
  color: white;
  padding: 3px 36px;
  font-size: 10px;
  font-weight: 600;
  transform: rotate(45deg);
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-description {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 6px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-purple-light);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===========================================
   FOOTER - Minimal & Clean
   =========================================== */

.threedai-footer {
  background: rgba(7, 7, 10, 0.8);
  backdrop-filter: blur(var(--blur-lg));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 48px 40px 28px;
  margin-top: auto;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo-text {
  font-size: 18px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand .beta-badge {
  font-size: 0.55rem;
  padding: 1px 5px;
  margin-left: 5px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand .footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  display: block;
  padding: 5px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===========================================
   UTILITIES
   =========================================== */

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

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

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Glow Effects */
.glow-purple {
  box-shadow: 0 0 40px rgba(212, 168, 67, 0.3);
}

.glow-red {
  /* neutralized red -> use accent gold so site doesn't show red glows */
  box-shadow: 0 0 40px rgba(212, 168, 67, 0.28);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 67, 0.4); }
  50% { box-shadow: 0 0 40px rgba(212, 168, 67, 0.6); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-bg-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Selection */
::selection {
  background: rgba(212, 168, 67, 0.3);
  color: white;
}

/* ===========================================
   SVG ICON SYSTEM (replaces emojis)
   =========================================== */

.tdi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tdi-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Default icon size — 20px square */
.tdi-icon[data-icon] {
  width: 20px;
  height: 20px;
}

/* Large icon variant (for bento/engine cards) */
.tdi-icon-lg {
  width: 28px;
  height: 28px;
}

/* Small icon variant (for inline text) */
.tdi-icon-sm {
  width: 14px;
  height: 14px;
}

/* Inline icon — sits in text flow */
.tdi-icon-inline {
  display: inline-flex;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 0.35em;
}
