/* main.css — Vulkos shared styles */

:root {
  --navy:       #0D1B2A;
  --off-white:  #F4F7F9;
  --teal:       #1CB8B2;
  --gray:       #5A6472;
  --light-gray: #D1D9E0;
  --white:      #FFFFFF;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background-color: var(--off-white);
  color: var(--gray);
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ─── Navigation ─────────────────────────────────────────── */

nav {
  background-color: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(28, 184, 178, 0.18);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo svg {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--off-white);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--teal);
  text-decoration: none;
}

/* ─── Container ──────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.8rem 1.85rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background-color: #17a39e;
  border-color: #17a39e;
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background-color: var(--teal);
  color: var(--white);
  text-decoration: none;
}

/* ─── Hero ───────────────────────────────────────────────── */

.hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 6.5rem 2rem 7rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.13;
  margin-bottom: 1.35rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--teal);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(244, 247, 249, 0.78);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* ─── Section base ───────────────────────────────────────── */

section {
  padding: 5.5rem 2rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.22;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.75;
}

/* ─── Problem section ────────────────────────────────────── */

.problem {
  background-color: var(--white);
}

.problem .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.problem-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.stat-card {
  background-color: var(--off-white);
  border: 1px solid var(--light-gray);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 1.35rem 1.25rem;
}

.stat-card .stat-number {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.45;
}

.problem-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-item {
  background-color: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.problem-item-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background-color: rgba(28, 184, 178, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
}

.problem-item h4 {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.problem-item p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ─── Use Cases ──────────────────────────────────────────── */

.use-cases {
  background-color: var(--off-white);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.use-case-card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.use-case-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.07);
}

.use-case-icon {
  width: 46px;
  height: 46px;
  background-color: rgba(28, 184, 178, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.use-case-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
}

.use-case-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.use-case-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ─── Testimonials ───────────────────────────────────────── */

.testimonials {
  background-color: var(--navy);
  color: var(--white);
  text-align: center;
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-sub {
  color: rgba(244, 247, 249, 0.7);
  margin: 0 auto;
}

.alpha-badge {
  display: inline-block;
  background-color: rgba(28, 184, 178, 0.12);
  border: 1px solid rgba(28, 184, 178, 0.4);
  color: var(--teal);
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244, 247, 249, 0.82);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-source {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ─── Blog preview ───────────────────────────────────────── */

.blog-preview {
  background-color: var(--white);
}

.blog-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-post-card {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-post-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.07);
}

.blog-post-date {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.blog-post-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  flex: 1;
}

.blog-post-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-post-card .read-more {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-post-card .read-more:hover {
  text-decoration: underline;
}

/* ─── Footer ─────────────────────────────────────────────── */

footer {
  background-color: var(--navy);
  color: rgba(244, 247, 249, 0.55);
  padding: 2.5rem 2rem;
  font-size: 0.84rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  color: rgba(244, 247, 249, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.76rem;
  color: rgba(244, 247, 249, 0.38);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  color: rgba(244, 247, 249, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
  text-decoration: none;
}

/* ─── Utility ────────────────────────────────────────────── */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 660px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.78rem; }
  .hero { padding: 4rem 1.5rem 5rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .problem .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .problem-stats { grid-template-columns: 1fr 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .blog-preview-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-inner { flex-direction: column; gap: 1.25rem; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  section { padding: 4rem 1.5rem; }
}
