/* ============================================================
   Nexvore Technologies LLC — Landing Page Styles
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core palette */
  --bg-primary: #0A0A0F;
  --bg-secondary: #111127;
  --bg-card: #0D0D1A;
  --text-primary: #F5F7FB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  /* Product colors */
  --dashlab-blue: #4F8BFF;
  --dashlab-teal: #00D4A6;
  --dashlab-bg: #0B1020;
  --startup-navy: #1B2A4A;
  --startup-gold: #F0A830;

  /* Spacing */
  --section-pad: 120px;
  --container-max: 1120px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.product-grid .fade-in:nth-child(2) {
  transition-delay: 0.12s;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
}

.wordmark-nexvore {
  display: inline-flex;
  align-items: baseline;
  color: currentColor;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.wordmark-letter {
  display: inline-block;
}

.wordmark-letter--x {
  font-style: italic;
  transform: skewX(-9deg) translateX(0.01em);
  transform-origin: center;
}

.wordmark-letter--v {
  font-style: italic;
  transform: skewX(-12deg) translateY(-0.01em);
  transform-origin: center;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--dashlab-blue);
  transition: width 0.25s var(--ease-out);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dashlab-blue);
  background: rgba(79, 139, 255, 0.1);
  border: 1px solid rgba(79, 139, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 139, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: var(--dashlab-blue);
  color: #fff;
}

.btn-primary:hover {
  background: #3D7AEE;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 139, 255, 0.25);
}

.btn-dashlab {
  background: var(--dashlab-blue);
  color: #fff;
}

.btn-dashlab:hover {
  background: #3D7AEE;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 139, 255, 0.3);
}

.btn-startup16 {
  background: var(--startup-gold);
  color: var(--startup-navy);
}

.btn-startup16:hover {
  background: #E09A20;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240, 168, 48, 0.3);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dashlab-blue);
  margin-bottom: 12px;
}

.section-header h2,
.about-inner h2,
.contact-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  padding: var(--section-pad) 0;
  position: relative;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-inner {
  padding: 40px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* DashLab360 card */
.product-card--dashlab {
  background: var(--dashlab-bg);
  border: 1px solid rgba(79, 139, 255, 0.25);
}

.product-card--dashlab:hover {
  box-shadow: 0 20px 60px rgba(79, 139, 255, 0.12), 0 0 0 1px rgba(79, 139, 255, 0.35);
}

/* Startup16 card */
.product-card--startup16 {
  background: #FAFAF8;
  border: 1px solid rgba(240, 168, 48, 0.3);
  color: #1a1a2e;
}

.product-card--startup16:hover {
  box-shadow: 0 20px 60px rgba(240, 168, 48, 0.1), 0 0 0 1px rgba(240, 168, 48, 0.4);
}

.product-card--startup16 .product-desc {
  color: #4B5563;
}

/* Logo area */
.product-logo-wrap {
  margin-bottom: 24px;
  height: 48px;
  display: flex;
  align-items: center;
}

.product-logo {
  max-height: 48px;
  width: auto;
}

.product-logo-fallback {
  display: flex;
  align-items: baseline;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-logo-fallback--dashlab .logo-text-dash {
  color: #fff;
  font-style: italic;
}

.product-logo-fallback--dashlab .logo-text-360 {
  color: var(--dashlab-blue);
  -webkit-text-stroke: 1px var(--dashlab-blue);
}

.product-logo-fallback--startup16 .logo-text-startu {
  color: var(--startup-navy);
}

.product-logo-fallback--startup16 .logo-text-p16 {
  color: var(--startup-gold);
}

.product-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 28px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-inner .section-label {
  color: var(--dashlab-teal);
}

.about-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-founder {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

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

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-pad) 0;
}

.contact-inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.contact-inner .section-label {
  color: var(--startup-gold);
}

.contact-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 40px;
  background: var(--bg-primary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .wordmark {
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-maker {
  margin-top: 6px;
  font-size: 0.75rem !important;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ============================================================
   HEAVENLY STAY RENTALS BANNER
   ============================================================ */
.hsr-banner {
  padding: 64px 0;
  background: linear-gradient(135deg, #1B2A4A 0%, #243B5E 100%);
}

.hsr-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hsr-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9A84C;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.hsr-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.hsr-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 520px;
}

.hsr-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 140px 24px 80px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card-inner {
    padding: 32px 24px;
  }

  .hsr-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .hsr-desc {
    margin: 0 auto;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 64px;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 0.6875rem;
  }

  .footer-links {
    gap: 32px;
  }

  .footer-col {
    min-width: 120px;
  }
}
