/* ============================================
   CSS Reset & Base Styles
   ============================================ */

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

:root {
  /* Colors */
  --bg-primary: #09090b;
  --bg-secondary: #0c0c0e;
  --bg-card: rgba(39, 39, 42, 0.5);
  --bg-card-hover: rgba(39, 39, 42, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-hover: rgba(255, 255, 255, 0.2);
  
  /* Purple/Pink Gradient */
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --indigo-400: #818cf8;
  --pink-400: #f472b6;
  
  /* Accent Colors */
  --green-400: #4ade80;
  --green-500: #22c55e;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --red-400: #f87171;
  --red-500: #ef4444;
  --yellow-500: #eab308;
  
  /* Spacing */
  --container-max: 1280px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Fonts */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: rgba(139, 92, 246, 0.3);
}

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

/* ============================================
   Typography
   ============================================ */

.text-gradient-primary {
  background: linear-gradient(to right, var(--indigo-400), var(--purple-400), var(--pink-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: #e4e4e7;
  box-shadow: 0 0 20px -5px rgba(255, 255, 255, 0.5);
}

.btn-white {
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 600;
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 0 40px -10px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  background: #e4e4e7;
  box-shadow: 0 0 40px -10px rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-pricing {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.875rem;
  border-radius: 0.75rem;
}

.btn-pricing:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-featured {
  background: var(--purple-600);
  color: var(--text-primary);
  box-shadow: 0 0 40px -10px rgba(139, 92, 246, 0.25);
}

.btn-featured:hover {
  background: var(--purple-500);
}

.btn-submit {
  width: 100%;
  background: var(--purple-600);
  color: var(--text-primary);
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.btn-submit:hover {
  background: var(--purple-500);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border-color);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to top right, var(--indigo-500), var(--purple-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.navbar-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-logo:hover .navbar-logo-icon {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  padding: 0.375rem;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.navbar-nav::-webkit-scrollbar {
  display: none;
}

/* Hide nav pills on phones to avoid crowding */
@media (max-width: 767px) {
  .navbar-nav {
    display: none;
  }
}

.nav-link {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 767px) {
  .navbar-container {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .navbar-logo {
    font-size: 1.1rem;
  }

  .navbar-nav {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .navbar .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
  }
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.05fr 1fr;
    text-align: left;
  }

  .hero-text {
    align-items: flex-start;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-pulse {
  position: relative;
  width: 8px;
  height: 8px;
}

.hero-pulse::before,
.hero-pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--purple-500);
}

.hero-pulse::before {
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.hero-pulse::after {
  background: var(--purple-500);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-title .block {
  display: block;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-image {
  margin-top: 3.5rem;
  position: relative;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-image {
    margin-top: 0;
  }
}

/* Dashboard Mock */
.dashboard-mock {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.dashboard-mock::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(to bottom, rgba(139, 92, 246, 0.2), transparent);
  border-radius: 1rem;
  filter: blur(16px);
  opacity: 0.5;
  z-index: -1;
}

.dashboard-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
  z-index: 10;
}

.dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid;
}

.dashboard-dot.red {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.dashboard-dot.yellow {
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.5);
}

.dashboard-dot.green {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}

.dashboard-url {
  margin-left: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-content {
  padding: 2rem;
  padding-top: 4rem;
  height: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dashboard-card {
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.dashboard-card.large {
  height: 12rem;
}

.dashboard-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

.dashboard-card-content {
  position: relative;
  z-index: 10;
}

.dashboard-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.dashboard-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.dashboard-chart {
  height: 5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}

.chart-bar {
  flex: 1;
  background: rgba(139, 92, 246, 0.5);
  border-radius: 2px 2px 0 0;
  transition: background 0.2s;
}

.chart-bar:hover {
  background: rgba(139, 92, 246, 0.6);
}

.dashboard-grid-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dashboard-card.small {
  height: 8rem;
  padding: 1rem;
}

.card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon.green {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green-400);
}

.card-icon.red {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red-400);
}

.card-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 1023px) {
  .dashboard-content {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    padding-top: 3rem;
    gap: 1rem;
  }

  .dashboard-grid-small {
    grid-template-columns: 1fr;
  }

  .dashboard-card.large {
    height: auto;
  }

  .dashboard-mock {
    aspect-ratio: 4 / 3;
  }

  .dashboard-sidebar {
    order: -1;
  }
}

.sidebar-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.log-entry {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.log-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.log-dot.green {
  background: var(--green-500);
}

.log-dot.red {
  background: var(--red-500);
}

.log-time {
  margin-left: auto;
  color: var(--text-muted);
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-rows: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
  }
}

.bento-card {
  border-radius: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

@media (min-width: 768px) {
  .bento-card.large,
  .bento-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.bento-card .card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bento-card .card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-400);
}

.bento-card .card-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-400);
}

.bento-card .card-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-400);
}

.bento-card .card-icon.pink {
  background: rgba(244, 114, 182, 0.1);
  color: var(--pink-400);
}

.bento-card .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.bento-card .card-text {
  color: var(--text-secondary);
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.bento-card.medium .card-title {
  font-size: 1.25rem;
}

.bento-card.medium .card-text {
  font-size: 0.875rem;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.globe-visual {
  position: relative;
  height: 16rem;
  width: 100%;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.globe-pulse {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.2;
}

.globe-visual svg {
  position: relative;
  z-index: 10;
  color: rgba(59, 130, 246, 0.5);
  width: 4rem;
  height: 4rem;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
  padding: 8rem 0;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 75rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  border-radius: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-color-hover);
}

.pricing-card.featured {
  background: rgba(39, 39, 42, 0.8);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 40px -10px rgba(139, 92, 246, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-500);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.pricing-price {
  margin-bottom: 2rem;
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-period {
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-card.featured .pricing-features li {
  color: var(--text-primary);
}

.pricing-features svg {
  flex-shrink: 0;
  color: var(--purple-500);
  width: 1rem;
  height: 1rem;
}

.pricing-card.featured .pricing-features svg {
  color: var(--purple-400);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.2));
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3.75rem;
  }
}

.cta-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-email {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .cta-email {
    margin-top: 0;
    margin-left: 1.5rem;
  }
}

.btn-cta {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ============================================
   Social Section
   ============================================ */

.social {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary) !important; /* force clear background (no X) */
}

.social-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .social-content {
    grid-template-columns: 2fr 1fr;
  }
}

.social-text {
  display: grid;
  gap: 0.35rem;
}

.social-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.social-description {
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.social-link:hover {
  border-color: var(--border-color-hover);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.social-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-handle {
  font-weight: 600;
  font-size: 0.95rem;
}


/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================
   About Page Styles
   ============================================ */

.about-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.about-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--purple-400);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 4.5rem;
  }
}

.about-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
}

.services {
  padding: 5rem 0;
  background: rgba(39, 39, 42, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s;
}

.service-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(139, 92, 246, 0.2);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-text {
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-me {
  padding: 6rem 0;
}

.about-me-content {
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-me-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.about-me-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-me-paragraph {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-me-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-me-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: border-color 0.3s;
}

.about-me-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.about-me-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
}

.about-me-card-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.about-cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.1));
}

/* ============================================
   Legal Page
   ============================================ */

.legal-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  background: url("attached_assets/generated_images/legal-bg.png") center/cover no-repeat;
  filter: brightness(0.45) saturate(1.1);
  transform: scale(1.02);
  z-index: 0;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,0.85), rgba(9,9,11,0.92));
  z-index: 0;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 960px;
}

.legal-hero-text {
  display: grid;
  gap: 1rem;
}

.legal-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.legal-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 720px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.meta-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.meta-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.meta-link:hover {
  text-decoration: underline;
}

.legal-body {
  padding: 4rem 0 6rem;
  background: var(--bg-primary);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.legal-card {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.75rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.legal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-chip.ghost {
  background: rgba(255,255,255,0.02);
}

.legal-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-card-copy {
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  display: grid;
  gap: 0.4rem;
}

.legal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ============================================
   Modal / Contact Form
   ============================================ */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  margin-bottom: 1rem;
  position: relative;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: none;
}

.loader {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   Toast Notification
   ============================================ */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(200%);
  opacity: 0;
  transition: all 0.3s;
  z-index: 200;
  max-width: 24rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: var(--green-500);
  background: rgba(34, 197, 94, 0.1);
}

.toast.error {
  border-color: var(--red-500);
  background: rgba(239, 68, 68, 0.1);
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.large,
  .bento-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .features,
  .pricing {
    padding: 4.5rem 0;
  }

  .cta {
    padding: 4.5rem 0;
  }
}
