*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0f2b4a;
  --navy-dark: #091e36;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #dbeafe;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(15, 43, 74, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 43, 74, 0.12);
  --radius: 12px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text.small {
  font-size: 1.5rem;
}

.logo-cube {
  width: 20px;
  height: 20px;
  color: var(--blue);
  margin-top: -12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--navy-dark) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}

.btn-outline.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline.light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 50%, var(--blue-pale) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  border-radius: 100% 100% 0 0;
}

.wave-1 {
  background: rgba(37, 99, 235, 0.06);
  transform: scaleX(1.2);
}

.wave-2 {
  background: rgba(15, 43, 74, 0.04);
  height: 80px;
  transform: scaleX(1.4);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--blue);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 640px;
}

.stat {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
}

/* Services */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  background: var(--white);
}

.service-card:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Workflow */
.workflow {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}

.workflow-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

.workflow-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.workflow-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.workflow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.workflow-steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.workflow-steps li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.step-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue-light);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 8px;
}

.workflow-steps h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.workflow-steps p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.scale-banner {
  text-align: center;
  padding: 24px 32px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: var(--radius);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.scale-banner p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
}

.scale-banner strong {
  color: var(--white);
}

/* About */
.about {
  padding: 100px 0;
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-content > p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 28px;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.about-card-header {
  background: var(--navy);
  padding: 28px 32px;
  color: var(--white);
}

.about-card-header p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.about-card-body {
  padding: 32px;
}

.contact-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-title {
  font-size: 0.9375rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-details a,
.contact-details p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-details a:hover {
  color: var(--blue);
}

.contact-details svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

/* Contact */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-direct {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form {
  background: var(--gray-50);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  position: relative;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.footer-content {
  position: relative;
  text-align: center;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-inner,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-direct {
    flex-direction: column;
  }

  .contact-direct .btn {
    width: 100%;
  }
}
