@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Outfit:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #F7F8FA;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFBFC;
  --surface: #EEF1F6;
  --border: #E2E6ED;
  --border-light: #D0D6E0;
  --text-primary: #0F1E36;
  --text-secondary: #4A5972;
  --text-tertiary: #7A8698;
  --navy: #143059;
  --teal: #2DA8A8;
  --teal-light: #3BC4C4;
  --green: #3DAA5C;
  --green-light: #5DC87C;
  --accent: #2DA8A8;
  --accent-dim: #248E8E;
  --accent-glow: rgba(45, 168, 168, 0.06);
  --accent-glow-strong: rgba(45, 168, 168, 0.12);
  --gradient: linear-gradient(135deg, #143059, #1B4D7A, #2DA8A8);
  --gradient-text: linear-gradient(135deg, #143059, #2DA8A8, #3DAA5C);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text-primary); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fade-up { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 12px rgba(15,30,54,0.06); }
.nav-logo { cursor: pointer; display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links li {
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-secondary);
  cursor: pointer; position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav-links li:hover { color: var(--navy); }
.nav-links li.active { color: var(--teal); }
.nav-links li.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--teal); animation: lineGrow 0.3s ease both; transform-origin: left;
}
.nav-links a { text-decoration: none; color: inherit; }
.nav-cta {
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.06em; color: #fff; background: var(--navy);
  border: none; padding: 10px 24px; border-radius: 6px;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--teal); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: all 0.3s; }

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: 24px; gap: 18px;
  }
}

.page { min-height: 100vh; padding-top: 68px; }

/* Hero */
.hero {
  min-height: calc(100vh - 68px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 48px; position: relative; overflow: hidden;
  background: linear-gradient(165deg, #0D1B2E 0%, #143059 40%, #1A5070 65%, #1E6E7A 85%, #237D74 100%);
  color: #fff;
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.hero-orb.a { top: -10%; right: 10%; width: 500px; height: 500px; background: rgba(45,168,168,0.15); }
.hero-orb.b { bottom: -15%; left: -5%; width: 400px; height: 400px; background: rgba(61,170,92,0.1); }
.hero-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--teal-light);
  margin-bottom: 28px; display: flex; align-items: center; gap: 12px;
  animation: fadeUp 0.6s 0.1s both;
}
.hero-label::before { content: ''; width: 32px; height: 1px; background: var(--teal-light); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.08; letter-spacing: -0.02em; color: #fff;
  max-width: 820px; animation: fadeUp 0.6s 0.2s both;
}
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75;
  color: rgba(255,255,255,0.72); max-width: 600px;
  margin-top: 28px; font-weight: 300; animation: fadeUp 0.6s 0.35s both;
}
.hero-actions { display: flex; gap: 14px; margin-top: 44px; animation: fadeUp 0.6s 0.5s both; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--navy); background: #fff;
  border: none; padding: 14px 28px; border-radius: 6px;
  cursor: pointer; transition: all 0.3s; text-transform: uppercase;
  text-decoration: none;
}
.btn-primary:hover { background: var(--teal-light); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; color: #fff; background: transparent;
  border: 1px solid rgba(255,255,255,0.3); padding: 14px 28px;
  border-radius: 6px; cursor: pointer; transition: all 0.3s; text-transform: uppercase;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--teal-light); color: var(--teal-light); }
.btn-primary-dark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; color: #fff; background: var(--navy);
  border: none; padding: 14px 28px; border-radius: 6px;
  cursor: pointer; transition: all 0.3s; text-transform: uppercase;
  text-decoration: none;
}
.btn-primary-dark:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 72px; padding-top: 36px; animation: fadeUp 0.6s 0.6s both;
}
.stat-value { font-family: var(--serif); font-size: 34px; color: var(--teal-light); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; font-weight: 300; line-height: 1.5; }

@media (max-width: 768px) {
  .hero { padding: 48px 20px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* Section */
.section { padding: 100px 48px; position: relative; }
.section-header { max-width: 640px; margin-bottom: 60px; }
.section-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--teal);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--teal); }
.section h2 {
  font-family: var(--serif); font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15; letter-spacing: -0.015em; color: var(--navy);
}
.section h2 em { font-style: italic; color: var(--teal); }
.section-desc { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-top: 16px; font-weight: 300; }

@media (max-width: 768px) { .section { padding: 64px 20px; } }

/* Phases */
.phases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1100px; }
.phase-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 40px 36px; position: relative; overflow: hidden; transition: all 0.35s ease;
}
.phase-card:hover { border-color: var(--teal); box-shadow: 0 8px 30px rgba(45,168,168,0.08); transform: translateY(-2px); }
.phase-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); opacity: 0; transition: opacity 0.35s;
}
.phase-card:hover::before { opacity: 1; }
.phase-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-glow-strong); color: var(--teal);
  font-family: var(--mono); font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.phase-name { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--teal); margin-bottom: 6px; }
.phase-card h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.phase-card > p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); font-weight: 300; margin-bottom: 20px; }
.phase-items { display: flex; flex-direction: column; gap: 8px; }
.phase-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--text-tertiary); font-weight: 300; }
.phase-item::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }

@media (max-width: 768px) { .phases-grid { grid-template-columns: 1fr; } .phase-card { padding: 28px 24px; } }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1100px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 40px 36px; position: relative; overflow: hidden; transition: all 0.35s ease;
}
.service-card:hover { border-color: var(--teal); box-shadow: 0 8px 30px rgba(45,168,168,0.08); transform: translateY(-2px); }
.service-tier { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--teal); margin-bottom: 14px; }
.service-card h3 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-bottom: 14px; }
.service-card p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); font-weight: 300; margin-bottom: 20px; }
.service-meta { display: flex; gap: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.service-meta span { font-size: 12px; color: var(--text-tertiary); font-family: var(--mono); }
.service-meta strong { color: var(--text-secondary); font-weight: 500; }
.service-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-right { display: flex; flex-direction: column; gap: 14px; }
.service-item { display: flex; gap: 10px; align-items: flex-start; }
.service-item .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.service-item p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); font-weight: 300; margin: 0; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
}

/* Applications */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1100px; }
.app-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 32px 28px; transition: all 0.35s ease; }
.app-card:hover { border-color: var(--border-light); }
.app-card h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.app-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.app-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--text-secondary); font-weight: 300; }
.app-card li::before { content: ''; width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }

@media (max-width: 768px) { .apps-grid { grid-template-columns: 1fr; } }

/* Case Studies */
.case-studies-list { display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
.cs-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 40px 44px; text-decoration: none; display: block;
  transition: all 0.35s ease; position: relative; overflow: hidden;
}
.cs-card:hover { border-color: var(--teal); box-shadow: 0 8px 30px rgba(45,168,168,0.08); transform: translateY(-2px); }
.cs-card::after {
  content: '\2192'; position: absolute; right: 44px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--teal); opacity: 0; transition: all 0.3s;
}
.cs-card:hover::after { opacity: 1; }
.cs-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 10px; }
.cs-card h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.cs-card h4 { font-size: 15px; font-weight: 400; color: var(--text-secondary); margin-bottom: 14px; }
.cs-card p { font-size: 14px; line-height: 1.7; color: var(--text-tertiary); font-weight: 300; max-width: 780px; }

/* Case Study Detail */
.cs-detail { max-width: 800px; }
.cs-detail-back {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--teal);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px;
  background: none; border: none; transition: opacity 0.2s; text-decoration: none;
}
.cs-detail-back:hover { opacity: 0.7; }
.cs-detail h1 { font-family: var(--serif); font-size: clamp(30px, 3.5vw, 44px); line-height: 1.15; color: var(--navy); margin-bottom: 10px; }
.cs-detail h4 { font-size: 17px; font-weight: 300; color: var(--text-secondary); margin-bottom: 40px; }
.cs-phase { margin-bottom: 24px; padding: 36px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; border-left: 3px solid var(--teal); }
.cs-phase-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--teal); margin-bottom: 12px; }
.cs-phase p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); font-weight: 300; }

/* Platforms */
.platforms-section { padding: 100px 48px; background: linear-gradient(165deg, #0D1B2E, #143059, #1B5065); color: #fff; }
.platforms-section .section-label { color: var(--teal-light); }
.platforms-section .section-label::before { background: var(--teal-light); }
.platforms-section h2 { color: #fff; }
.platforms-section h2 em { color: var(--teal-light); }
.platforms-section .section-desc { color: rgba(255,255,255,0.6); }
.platforms-grid { display: flex; flex-wrap: wrap; gap: 8px; max-width: 900px; margin-top: 40px; }
.platform-pill {
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.7);
  padding: 8px 18px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px; transition: all 0.3s;
}
.platform-pill:hover { border-color: var(--teal-light); color: var(--teal-light); background: rgba(45,168,168,0.1); }

@media (max-width: 768px) { .platforms-section { padding: 64px 20px; } }

/* Data points */
.dp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; max-width: 1000px; }
.dp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text-secondary); font-weight: 300; transition: all 0.3s;
}
.dp-item:hover { border-color: var(--border-light); }
.dp-item::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; flex-shrink: 0; }

@media (max-width: 768px) { .dp-grid { grid-template-columns: 1fr; } }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; }
.benefit-card { padding: 32px 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; }
.benefit-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-glow-strong);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; color: var(--teal);
}
.benefit-card h3 { font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.benefit-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); font-weight: 300; }

@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1050px; }
.contact-info h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 12px; margin-top: 32px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); font-weight: 300; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-tertiary); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px; color: var(--text-primary);
  font-family: var(--sans); font-size: 15px; font-weight: 300; transition: border-color 0.3s; outline: none;
}
.form-input:focus { border-color: var(--teal); }
.form-input::placeholder { color: var(--text-tertiary); }
textarea.form-input { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } .form-row { grid-template-columns: 1fr; } }

/* Footer */
.footer {
  padding: 48px 48px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; background: var(--bg);
}
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 32px; width: auto; }
.footer-copy { font-size: 13px; color: var(--text-tertiary); font-weight: 300; }

@media (max-width: 768px) { .footer { padding: 36px 20px; flex-direction: column; gap: 12px; text-align: center; } }

/* CTA banner */
.cta-banner {
  padding: 80px 48px; text-align: center; background: linear-gradient(165deg, #0D1B2E, #143059);
}
.cta-banner h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); color: #fff; line-height: 1.2; margin-bottom: 16px; }
.cta-banner h2 em { font-style: italic; color: var(--teal-light); }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.6); font-weight: 300; line-height: 1.7; max-width: 520px; margin: 0 auto 36px; }

/* Thank you box */
.thankyou-box {
  padding: 44px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; text-align: center;
}
.thankyou-box .ty-title { font-family: var(--serif); font-size: 26px; margin-bottom: 10px; color: var(--teal); }
.thankyou-box p { font-size: 15px; color: var(--text-secondary); font-weight: 300; line-height: 1.7; }
