/* ===== CSS Variables ===== */
:root {
  --navy: #0F2B46;
  --navy-light: #1A3D5C;
  --navy-dark: #0A1F33;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1D4ED8;
  --sky: #E8F0FE;
  --sky-light: #F0F6FF;
  --accent: #0EA5E9;
  --accent-light: #38BDF8;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --success: #10B981;
  --danger: #EF4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

.section-tag {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}

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

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.125rem;
  margin-top: 16px;
}

.text-accent {
  color: var(--blue);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  gap: 8px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-nav {
  padding: 8px 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.btn-nav:hover {
  background: var(--blue-dark);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-full { width: 100%; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  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: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
}

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

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

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--white) 0%, var(--sky-light) 50%, var(--sky) 100%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

/* Hero Compass Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  position: relative;
  width: 400px;
  height: 400px;
}

.compass-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--blue);
}

.ring-outer {
  width: 360px;
  height: 360px;
  top: 20px;
  left: 20px;
  opacity: 0.15;
  animation: spin 30s linear infinite;
}

.ring-middle {
  width: 260px;
  height: 260px;
  top: 70px;
  left: 70px;
  opacity: 0.25;
  animation: spin 20s linear infinite reverse;
}

.ring-inner {
  width: 160px;
  height: 160px;
  top: 120px;
  left: 120px;
  opacity: 0.4;
  border-width: 2px;
  border-color: var(--accent);
  animation: spin 15s linear infinite;
}

.compass-needle {
  position: absolute;
  width: 4px;
  height: 120px;
  top: 90px;
  left: 198px;
  background: linear-gradient(to bottom, var(--blue), var(--accent));
  border-radius: 2px;
  transform-origin: bottom center;
  animation: needle-swing 4s ease-in-out infinite;
}

.compass-needle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 50%;
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.dot-1 { top: 60px; left: 200px; animation: pulse 2s ease-in-out infinite; }
.dot-2 { top: 200px; right: 30px; animation: pulse 2s ease-in-out 0.5s infinite; }
.dot-3 { bottom: 100px; left: 60px; animation: pulse 2s ease-in-out 1s infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle-swing {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ===== Problem Section ===== */
.problem-section {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 20px;
}

.problem-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.problem-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.problem-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
  color: var(--accent-light);
}

.problem-icon svg {
  width: 22px;
  height: 22px;
}

.problem-card h3 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.problem-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ===== Services Section ===== */
.services-section {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all var(--transition);
}

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

.service-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 0 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border: none;
}

.service-card.featured:hover {
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.8); }

.service-number {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.5;
  margin-bottom: 16px;
}

.service-card.featured .service-number { color: var(--accent-light); }

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

.service-card.featured .service-icon {
  background: rgba(255,255,255,0.1);
  color: var(--accent-light);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-meta {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.service-card.featured .service-meta {
  border-top-color: rgba(255,255,255,0.15);
}

.service-timeline, .service-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
}

.service-card.featured .service-timeline,
.service-card.featured .service-price {
  color: rgba(255,255,255,0.6);
}

.service-price {
  color: var(--blue);
}

.service-card.featured .service-price {
  color: var(--accent-light);
}

/* ===== About Section ===== */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--gray-500);
  font-size: 1.0625rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  border-radius: 50%;
  color: var(--blue);
  margin-top: 2px;
}

.feature-check svg {
  width: 14px;
  height: 14px;
}

.about-feature h4 {
  margin-bottom: 4px;
}

.about-feature p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.comparison-card.highlight {
  background: var(--navy);
  border-color: var(--navy);
}

.comparison-card h4 {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.comparison-card.highlight h4 {
  color: var(--white);
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.comparison-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-list.negative li::before {
  background: rgba(239, 68, 68, 0.1);
  box-shadow: inset 0 0 0 2px rgba(239, 68, 68, 0.3);
}

.comparison-list.positive li {
  color: rgba(255,255,255,0.85);
}

.comparison-list.positive li::before {
  background: rgba(16, 185, 129, 0.2);
  box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.4);
}

/* ===== Industries Section ===== */
.industries-section {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.industry-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  border-radius: var(--radius-lg);
  margin: 0 auto 20px;
  color: var(--blue);
}

.industry-icon svg {
  width: 26px;
  height: 26px;
}

.industry-card h3 {
  margin-bottom: 10px;
}

.industry-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== Results Section ===== */
.results-section {
  padding: 100px 0;
}

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

.result-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--sky-light);
  border-radius: var(--radius-xl);
  border: 1px solid var(--sky);
}

.result-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.result-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray-500);
  font-size: 1.0625rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  border-radius: var(--radius);
  color: var(--blue);
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
}

.contact-method h4 {
  margin-bottom: 4px;
}

.contact-link {
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--blue-dark);
}

.contact-method p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

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

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--success);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-500);
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 24px;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  margin-bottom: 12px;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9375rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.8125rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-toggle { display: flex; }

  .hero { padding: 120px 0 60px; }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 48px;
  }

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

@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
