/* ============================================
   ApexStack - Nuvexa-Inspired Design
   Colors: Black #000 / White #fff / Lime #c8ff00
   Font: Inter
   ============================================ */

/* CSS Custom Properties */
:root {
  --black: #000000;
  --dark: #0a0a0a;
  --dark-card: #111111;
  --dark-border: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-300: #cccccc;
  --gray-400: #999999;
  --gray-500: #777777;
  --gray-600: #555555;
  --gray-700: #333333;
  --gray-800: #1a1a1a;
  --gray-900: #0d0d0d;
  --lime: #c8ff00;
  --lime-dark: #a8d600;
  --lime-glow: rgba(200, 255, 0, 0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

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

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-header-dark {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.btn-header-dark:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--gray-800);
}

.btn-header-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.btn-header-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Header / Nav
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  font-weight: 400;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-chevron {
  font-size: 0.45rem;
  margin-left: 0.125rem;
  transition: var(--transition);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.dropdown-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-link-signin {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9375rem;
  padding: 0.5rem 0.5rem;
}

.header-link-signin:hover {
  color: var(--white) !important;
}

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

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 3rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 9rem);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(2.75rem, 4.25vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.text-lime {
  color: var(--lime);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-buttons .btn-primary {
  padding: 0.85rem 2rem;
}

.hero-buttons .btn-outline-dark {
  padding: 0.85rem 2rem;
}

/* Hero Partner Card */
.hero-partner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: var(--gray-800);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  max-width: 340px;
}

.hero-partner-logos {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.partner-icon-a {
  width: 32px;
  height: 32px;
  background: var(--white);
  color: var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
}

.partner-icon-x {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.partner-icon-n {
  width: 32px;
  height: 32px;
  background: var(--lime);
  color: var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
}

.hero-partner-text {
  display: flex;
  flex-direction: column;
}

.hero-partner-title {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-partner-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

/* ============================================
   Dashboard Mockup
   ============================================ */
.hero-right {
  position: relative;
}

.dashboard-mockup {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  min-height: 480px;
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
  background: #1a1a1a;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--white);
  color: var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.dash-brand-name {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.dash-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.dash-search-icon {
  font-size: 0.75rem;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  border-radius: 6px;
  cursor: default;
}

.dash-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.dash-nav-icon {
  font-size: 0.875rem;
  width: 18px;
  text-align: center;
}

.dash-storage {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.dash-storage-icon {
  font-size: 1.125rem;
  line-height: 1;
}

.dash-storage-info {
  flex: 1;
}

.dash-storage-info > span:first-child {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}

.dash-storage-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 0.375rem 0;
  overflow: hidden;
}

.dash-storage-fill {
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), #a2d600);
  border-radius: 2px;
}

.dash-storage-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
}

/* Dashboard Main */
.dashboard-main {
  padding: 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-welcome h3 {
  font-size: 1.0625rem;
  color: var(--black);
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.dash-welcome p {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.dash-stat-card {
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.dash-stat-label {
  display: block;
  color: var(--gray-500);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.dash-stat-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.dash-recent h4 {
  font-size: 0.875rem;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.dash-table {
  display: flex;
  flex-direction: column;
}

.dash-table-row {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.8125rem;
  color: var(--gray-600);
  align-items: center;
}

.dash-table-header {
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-status-live {
  color: #22c55e;
  font-weight: 600;
  font-size: 0.75rem;
}

.dash-status-deploying {
  color: #eab308;
  font-weight: 600;
  font-size: 0.75rem;
}

/* ============================================
   Logos Bar
   ============================================ */
.logos-bar {
  background: var(--black);
  padding: 3.5rem 0;
  border-top: 1px solid var(--dark-border);
}

.logos-label {
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.partner-logo-text {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.partner-logo-text:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   Section Shared Styles
   ============================================ */
.section-label {
  display: inline-block;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.12;
}

.section-desc {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 580px;
  font-weight: 300;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Features Section (White BG)
   ============================================ */
.features-section {
  padding: 7rem 0;
  background: var(--white);
}

.features-section .section-title {
  color: var(--black);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: var(--white);
}

.feature-card:hover {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-glow);
  border: 1px solid rgba(200, 255, 0, 0.25);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: #6b8f00;
}

.feature-card h3 {
  font-size: 1.125rem;
  color: var(--black);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  transition: var(--transition);
}

.card-link:hover {
  color: var(--lime-dark);
  gap: 0.625rem;
}

/* ============================================
   About Section (Black BG)
   ============================================ */
.about-section {
  padding: 7rem 0;
  background: var(--black);
  color: var(--white);
}

.about-section .section-title {
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-right p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.about-right .btn {
  margin-top: 0.5rem;
}

/* ============================================
   Services Highlight / Platforms (Black BG)
   ============================================ */
.services-highlight {
  padding: 7rem 0;
  background: var(--dark);
  color: var(--white);
  border-top: 1px solid var(--dark-border);
}

.services-highlight .section-title {
  color: var(--white);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.platform-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
}

.platform-card:hover {
  border-color: rgba(200, 255, 0, 0.25);
  transform: translateY(-2px);
}

.platform-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.15);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: var(--lime);
}

.platform-card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.platform-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   Testimonials (Black BG)
   ============================================ */
.testimonials-section {
  padding: 7rem 0;
  background: var(--black);
  color: var(--white);
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: rgba(200, 255, 0, 0.2);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.25rem;
}

.testimonial-stars span {
  color: var(--lime);
  font-size: 1rem;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--dark-border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: rgba(200, 255, 0, 0.12);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.125rem;
}

/* ============================================
   CTA Section (White BG)
   ============================================ */
.cta-section {
  padding: 7rem 0;
  background: var(--white);
}

.cta-content {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-outline-dark {
  color: var(--black);
  border-color: var(--gray-300);
}

.cta-section .btn-outline-dark:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* ============================================
   Newsletter (Black BG)
   ============================================ */
.newsletter-section {
  padding: 5rem 0;
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.newsletter-left h2 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.newsletter-left p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  outline: none;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-input:focus {
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-disclaimer {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  margin-top: 0.625rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--black);
  padding: 5rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--dark-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
  font-weight: 300;
}

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

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  transition: var(--transition);
  font-weight: 300;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: var(--transition);
}

.footer-social-link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* ============================================
   Scroll to Top
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--black);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  font-size: 1.125rem;
  color: var(--white);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

/* ============================================
   Page Hero (Inner Pages)
   ============================================ */
.page-hero {
  background: var(--black);
  padding: 10rem 0 4rem;
  color: var(--white);
}

.page-hero .section-label {
  color: var(--lime);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-hero h1 .dot {
  color: var(--lime);
}

.page-hero > .container > p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.0625rem;
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================
   Generic Content Sections (Inner Pages)
   ============================================ */
.content-section {
  padding: 6rem 0;
}

.content-section.alt-bg {
  background: var(--gray-50);
}

.dot {
  color: var(--lime);
}

/* Feature Grid (Inner Pages) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-glow);
  border: 1px solid rgba(200, 255, 0, 0.25);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: var(--lime-dark);
}

/* Service Cards (Inner Pages) */
.services-section {
  padding: 6rem 0;
  background: var(--black);
  color: var(--white);
}

.services-section .section-label { color: var(--lime); }
.services-section .section-title { color: var(--white); }
.services-section .section-subtitle { color: rgba(255, 255, 255, 0.5); }

.services-header {
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(200, 255, 0, 0.25);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 1.75rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.15);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: var(--lime);
}

.service-card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  transition: var(--transition);
}

.service-links a:hover { color: var(--lime); }

.service-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.btn-link:hover { gap: 0.75rem; }
.btn-link .arrow { transition: var(--transition); }

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ============================================
   Stats (Inner Pages)
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ============================================
   Team Grid (Inner Pages)
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.team-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-card h4 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.team-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ============================================
   Partners Grid (Inner Pages)
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.partner-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}

.partner-logo-placeholder { margin-bottom: 1rem; }
.partner-logo-placeholder strong { font-size: 1.125rem; color: var(--black); }

.partner-tier {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime-dark);
  background: var(--lime-glow);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.partner-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================
   Industries Grid (Inner Pages)
   ============================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.industry-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.industry-card:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}

.industry-card .industry-icon { font-size: 2rem; margin-bottom: 1rem; }
.industry-card h3 { font-size: 1.125rem; color: var(--black); margin-bottom: 0.75rem; }
.industry-card p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.7; }

/* ============================================
   Blog Grid (Inner Pages)
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}

/* ============================================
   Contact (Inner Pages)
   ============================================ */
.contact-section { padding: 6rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-form h2 { font-size: 1.5rem; color: var(--black); margin-bottom: 0.5rem; }
.contact-form > p { color: var(--gray-500); margin-bottom: 2rem; }

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

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--black); margin-bottom: 0.5rem; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-400); }

.form-textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-info-card {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.contact-info-card h3 { font-size: 1.125rem; color: var(--black); margin-bottom: 0.75rem; }
.contact-info-card p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.6; }

/* ============================================
   Offices Grid (Inner Pages)
   ============================================ */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.office-card:hover { border-color: var(--lime); }
.office-icon { font-size: 2rem; margin-bottom: 1rem; }
.office-card h4 { font-size: 1.0625rem; color: var(--black); margin-bottom: 0.5rem; }
.office-card p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.5; }

/* ============================================
   Jobs (Inner Pages)
   ============================================ */
.jobs-grid { display: flex; flex-direction: column; gap: 1rem; }

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.job-card:hover { border-color: var(--lime); }
.job-info h3 { font-size: 1.0625rem; color: var(--black); margin-bottom: 0.375rem; }
.job-meta { display: flex; gap: 1.5rem; color: var(--gray-500); font-size: 0.8125rem; }

/* ============================================
   Backward compat: old classes used on inner pages
   ============================================ */
.intro-section {
  padding: 6rem 0;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.intro-grid .section-title { color: var(--black); }

.clients-bar {
  background: var(--black);
  padding: 3rem 0;
  border-top: 1px solid var(--dark-border);
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.client-logo {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.client-logo:hover { color: rgba(255, 255, 255, 0.85); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    max-width: 600px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    border-top: 1px solid var(--dark-border);
    z-index: 999;
  }

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

  .header-link-signin,
  .btn-header-dark { display: none; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: transparent;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    max-width: 280px;
  }

  .hero-partner-card {
    max-width: 100%;
  }

  .features-grid,
  .services-grid,
  .testimonials-grid,
  .platforms-grid,
  .feature-grid,
  .industries-grid,
  .blog-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .newsletter-grid,
  .contact-grid,
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .logos-row {
    gap: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .page-hero { padding: 8rem 0 3rem; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 1rem; }
  .offices-grid { grid-template-columns: 1fr; }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .job-meta { flex-wrap: wrap; gap: 0.75rem; }
  .cta-buttons { flex-direction: column; }
}
