
/* ========================================
   BASE / RESET
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text2);
  background: var(--obs);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.section-surf {
  background: var(--surf);
}

.section-obs2 {
  background: var(--obs2);
}

.section-obs {
  background: var(--obs);
}

/* Gold divider line */
.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}

.site-header.header-scrolled {
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  z-index: 1001;
}

.site-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.site-logo-text {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-logo-text .accent {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text3);
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-cta .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

body.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

body.nav-open .mobile-overlay {
  display: block;
  opacity: 1;
}

/* ========================================
   HERO
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--obs);
  padding-top: 100px;
  padding-bottom: var(--spacing-2xl);
}

/* Aurora gradient — slow-moving mesh glow */
.hero-aurora {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(13, 107, 135, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(13, 107, 135, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  animation: aurora-drift 25s ease-in-out infinite alternate;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -15px) rotate(2deg); }
  100% { transform: translate(-10px, 10px) rotate(-1deg); }
}

/* Grid pattern */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* Noise texture */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  text-align: center;
  max-width: 700px;
  margin-bottom: var(--spacing-2xl);
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(13, 107, 135, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal3);
}

.hero-eyebrow span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal3);
  font-weight: 500;
}

.hero-text h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  line-height: 1.05;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text3);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text4);
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border2);
}

/* Product screenshot area */
.hero-product {
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.hero-product-glow {
  position: absolute;
  width: 80%;
  height: 70%;
  top: 15%;
  left: 10%;
  background: radial-gradient(ellipse, rgba(13, 107, 135, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

/* Browser frame mockup */
.browser-frame {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: var(--obs2);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(13, 107, 135, 0.08);
  transform: perspective(1500px) rotateX(3deg);
  transition: transform 0.5s ease;
}

.browser-frame:hover {
  transform: perspective(1500px) rotateX(1deg);
}

.browser-frame-bar {
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.browser-dot:first-child {
  background: rgba(239, 68, 68, 0.4);
}

.browser-dot:nth-child(2) {
  background: rgba(245, 158, 11, 0.4);
}

.browser-dot:nth-child(3) {
  background: rgba(45, 212, 160, 0.4);
}

.browser-frame-content {
  position: relative;
}

.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom fade mask on screenshot */
.hero-product::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--obs));
  pointer-events: none;
  z-index: 2;
  border-radius: 0 0 12px 12px;
}

/* ========================================
   TRUSTED BY
   ======================================== */
.trusted-section {
  padding: var(--spacing-xl) 0;
  background: var(--obs2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}

.trusted-label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--text4);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--spacing-lg);
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.trusted-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text4);
  opacity: 0.5;
  transition: opacity var(--transition);
}

.trusted-logo:hover {
  opacity: 0.8;
  color: var(--gold);
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

/* ========================================
   SHOWCASE
   ======================================== */
.showcase-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-2xl);
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row.reverse {
  direction: rtl;
}

.showcase-row.reverse > * {
  direction: ltr;
}

.showcase-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--obs2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-image::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 107, 135, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-image-placeholder {
  font-size: 4rem;
  opacity: 0.6;
}

/* Dashboard slideshow */
.dashboard-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.dashboard-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  border-radius: 8px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}

.dashboard-slide.active {
  opacity: 1;
}

.dashboard-slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--text4);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.dashboard-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Phone mockup */
.mobile-slideshow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 220px;
  height: 476px;
  border-radius: 32px;
  background: #0a0c10;
  border: 2px solid rgba(201, 168, 76, 0.2);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-mockup-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0a0c10;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-mockup-screen {
  position: absolute;
  inset: 2px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--obs);
}

.phone-mockup-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow: hidden;
}

.phone-mockup-slide.active {
  opacity: 1;
}

.phone-mockup-homebar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(42, 46, 58, 0.8);
  border-radius: 2px;
  z-index: 10;
}

.showcase-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.showcase-content p {
  color: var(--text3);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.showcase-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text2);
}

.showcase-bullets .bullet-icon {
  flex-shrink: 0;
  color: var(--teal3);
  margin-top: 2px;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-lg);
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text4);
  font-weight: 500;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl) var(--spacing-lg);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  align-items: start;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  text-align: center;
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.cta-banner h2 {
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.cta-banner p {
  color: var(--text3);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--obs);
  border-top: 1px solid var(--border);
  padding: var(--spacing-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-2xl);
}

.footer-brand-description {
  color: var(--text3);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surf);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text4);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold-dim);
  border-color: var(--border);
  color: var(--gold);
}

.footer-column h4 {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  color: var(--gold);
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul li a {
  color: var(--text3);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-column ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding: var(--spacing-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom p {
  color: var(--text4);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-bottom-links a {
  color: var(--text4);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ========================================
   BLOG POST CONTENT STYLES
   ======================================== */
.post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text);
  margin: var(--spacing-xl) 0 var(--spacing-md);
}

.post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text);
  margin: var(--spacing-lg) 0 var(--spacing-md);
}

.post-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.post-content p {
  margin-bottom: var(--spacing-md);
}

.post-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.3);
  transition: text-decoration-color var(--transition);
}

.post-content a:hover {
  text-decoration-color: var(--gold);
}

.post-content ul,
.post-content ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: var(--spacing-sm);
  color: var(--text2);
}

.post-content blockquote {
  border-left: 3px solid var(--gold);
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--obs2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text2);
}

.post-content img {
  border-radius: var(--radius-lg);
  margin: var(--spacing-lg) 0;
  border: 1px solid var(--border2);
}

.post-content pre,
.post-content code {
  background: var(--obs2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  color: var(--teal3);
}

.post-content code {
  padding: 2px 6px;
}

.post-content pre {
  padding: var(--spacing-md);
  overflow-x: auto;
  margin: var(--spacing-md) 0;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-lg) 0;
}

.post-content th,
.post-content td {
  padding: 10px 14px;
  border: 1px solid var(--border2);
  text-align: left;
  font-size: 0.9rem;
}

.post-content th {
  background: var(--surf);
  color: var(--text);
  font-weight: 600;
}

.post-content td {
  color: var(--text2);
}

.post-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: var(--spacing-xl) 0;
}

/* ========================================
   COMPARISON TABLE (Pricing page)
   ======================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
  text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: var(--text2);
}

.comparison-table thead th {
  background: var(--surf);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px;
  position: sticky;
  top: 70px;
  z-index: 5;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table .check {
  color: var(--gold);
}

.comparison-table .dash {
  color: var(--text4);
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}

/* ========================================
   PAGE HERO (reusable for inner pages)
   ======================================== */
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--spacing-md);
  font-size: 0.8rem;
}

.page-hero-breadcrumb a {
  color: var(--text4);
  transition: color var(--transition);
}

.page-hero-breadcrumb a:hover {
  color: var(--gold);
}

.page-hero-breadcrumb span {
  color: var(--text4);
}
