/* SolarCamel base styles */

:root {
  --navy-900: #0d1f36;
  --navy-800: #16304f;
  --navy-700: #1e3f66;
  --navy-600: #2a5384;
  --orange-600: #c7622a;
  --orange-500: #e2793a;
  --orange-400: #ec9459;
  --green-600: #2f8f5b;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e5e8ec;
  --gray-300: #d3d8de;
  --gray-500: #6b7280;
  --gray-700: #3d4451;
  --gray-900: #14181f;
  --white: #ffffff;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(13, 31, 54, 0.06), 0 1px 1px rgba(13, 31, 54, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 31, 54, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 31, 54, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}

p { margin: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}

.section {
  padding: 88px 0;
}

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

.section-header {
  max-width: 640px;
  margin: 0 0 48px;
}

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

.section-header h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--gray-500);
  font-size: 17px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--orange-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--navy-700);
  background: var(--gray-50);
}

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

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

.btn-block { width: 100%; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-900);
}

.brand img {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* Hero */

.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(680px 380px at 88% -10%, rgba(226, 121, 58, 0.12), transparent 70%),
    radial-gradient(720px 420px at 0% 10%, rgba(22, 48, 79, 0.06), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-meta-item svg { flex-shrink: 0; color: var(--green-600); }

.hero-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.hero-panel-header h3 {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 600;
}

.hero-panel-header .badge { margin: 0; }

.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.metric-row:last-child { border-bottom: none; }

.metric-label {
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}

.metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
}

.metric-value.down { color: var(--green-600); }

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--gray-100);
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-500), var(--green-600));
}

/* Badges */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 143, 91, 0.1);
  color: var(--green-600);
}

/* Logo strip */

.strip {
  padding: 36px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.strip-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.strip-items {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
}

.strip-item svg { color: var(--orange-500); }

/* Feature grid */

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 121, 58, 0.1);
  color: var(--orange-600);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-500);
}

/* Steps */

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

.step {
  position: relative;
  padding: 32px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Why grid */

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

.why-item {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 14px;
  color: var(--gray-500);
}

/* CTA banner */

.cta-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 460px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}

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

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

.footer-brand p {
  font-size: 14px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* Page hero (inner pages) */

.page-hero {
  padding: 64px 0 72px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 620px;
}

/* Detail rows (platform page) */

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.detail-row + .detail-row {
  margin-top: 96px;
}

.detail-row.reverse .detail-copy { order: 2; }
.detail-row.reverse .detail-visual { order: 1; }

.detail-copy .eyebrow { margin-bottom: 16px; }

.detail-copy h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 16px;
}

.detail-copy p {
  color: var(--gray-500);
  font-size: 16px;
  margin-bottom: 22px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.check-list svg {
  flex-shrink: 0;
  color: var(--green-600);
  margin-top: 2px;
}

.detail-visual {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.detail-visual .visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.detail-visual .visual-header span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--navy-800);
}

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

.framework-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
}

.credit-card-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.credit-card-item:last-child { border-bottom: none; }

.credit-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}

.credit-type {
  font-size: 12px;
  color: var(--gray-500);
}

.credit-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}

/* About page */

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

.value-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.value-card h3 {
  font-size: 16px;
  margin: 16px 0 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-500);
}

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

.stat-item .stat-number {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy-900);
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 6px;
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .why-icon {
  width: 40px;
  height: 40px;
}

.contact-info-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 14px;
  color: var(--gray-500);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(226, 121, 58, 0.15);
}

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

.form-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 14px;
}

.form-status {
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  display: none;
}

.form-status.visible { display: block; }

.form-status.success { color: var(--green-600); }
.form-status.error { color: var(--orange-600); }

/* Responsive */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; max-width: 460px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; }
  .detail-row.reverse .detail-copy { order: 1; }
  .detail-row.reverse .detail-visual { order: 2; }
  .detail-row + .detail-row { margin-top: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 18px;
  }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px; flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .strip-inner { flex-direction: column; align-items: flex-start; }
}
