:root {
  --primary-900: #0a1628;
  --primary-800: #0f1f3a;
  --primary-700: #15294d;
  --primary-600: #1e3a66;
  --primary-500: #2950a3;
  --accent-500: #3b82f6;
  --accent-400: #60a5fa;
  --accent-300: #93c5fd;
  --accent-100: #dbeafe;
  --accent-50: #eff6ff;
  --neutral-900: #111827;
  --neutral-700: #374151;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --neutral-50: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  --transition: 0.2s ease;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--neutral-900);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  background: var(--accent-400);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-800);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-300);
  color: var(--accent-500);
  box-shadow: var(--shadow);
}

.btn-full {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-900);
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--neutral-200);
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--accent-500);
}

.main-nav .nav-cta {
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--primary-900);
  color: var(--white);
  font-weight: 600;
}

.main-nav .nav-cta:hover {
  background: var(--primary-700);
  color: var(--white);
}

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

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--neutral-50) 0%, var(--white) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-300), transparent 70%);
  top: -120px;
  right: -120px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-500), transparent 70%);
  bottom: -100px;
  left: -120px;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  color: var(--neutral-600);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-900);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-500), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--neutral-600);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

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

.hero-stats strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
}

.hero-stats span {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

/* Sections */
.section {
  padding: 120px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-500);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--neutral-600);
  max-width: 600px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

/* About */
.about {
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.section-copy p {
  color: var(--neutral-600);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  margin-top: 28px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--neutral-700);
  font-size: 1rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--accent-50);
  border-radius: 50%;
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--accent-500);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.about-visual {
  display: grid;
  gap: 24px;
}

.about-card {
  padding: 32px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--accent-500);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 10px;
}

.about-card p {
  color: var(--neutral-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Services */
.services {
  background: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-200);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-50);
  color: var(--accent-500);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--neutral-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Products */
.product {
  background: var(--white);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.product-card-visual {
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.product-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 10px;
}

.product-card-content p {
  color: var(--neutral-600);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.product-tagline {
  font-size: 1.15rem;
  color: var(--primary-700);
  font-weight: 500;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin: 0 0 32px;
  flex-grow: 1;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--neutral-700);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-500);
  font-weight: 700;
}

.product-card-mockup {
  width: 100%;
  max-width: 440px;
  background: var(--primary-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.product-card-mockup .product-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #10b981; }

.product-card-title {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-card-mockup .product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
}

.job-title {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.job-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.job-score {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.score-high {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-300);
  font-size: 0.85rem;
  font-weight: 500;
}

.product-image-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 560px;
}

.product-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--primary-900);
}

.product-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}

.product-image-wrapper:hover img {
  transform: scale(1.02);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(10, 22, 40, 0.85);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* Contact */
.contact {
  background: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  color: var(--neutral-600);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--neutral-700);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}

.contact-detail a {
  color: var(--accent-500);
  font-weight: 500;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-700);
}

.form-field input,
.form-field textarea {
  padding: 12px 16px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--neutral-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

.cf-turnstile {
  min-height: 65px;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Footer */
.site-footer {
  background: var(--primary-900);
  color: var(--white);
  padding: 40px 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .section-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .about-visual {
    order: 2;
  }

  .section-copy,
  .contact-info {
    order: 1;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--neutral-200);
    padding: 16px 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

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

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--neutral-100);
  }

  .main-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

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

  .hero {
    padding: 140px 0 80px;
  }

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

  .hero-lead {
    font-size: 1.05rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .product-card-visual {
    padding: 20px;
  }

  .product-image-gallery {
    grid-template-columns: 1fr;
  }

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

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .service-card:hover,
  .about-card:hover,
  .pipeline-row:hover {
    transform: none;
  }
}
