/* ===================================================
   borcroc.com — main stylesheet
   =================================================== */

/* ===== Variables ===== */
:root {
  --bg:         #0d1117;
  --surface:    #161b22;
  --surface-2:  #21262d;
  --border:     #30363d;
  --text:       #e6edf3;
  --muted:      #8b949e;
  --teal:       #00d4aa;
  --teal-dim:   rgba(0, 212, 170, 0.08);
  --indigo:     #6366f1;
  --indigo-dim: rgba(99, 102, 241, 0.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 8px;
  --max: 1080px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-icon { width: 30px; height: 22px; flex-shrink: 0; }
.logo-text { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.logo-bor  { color: var(--text); }
.logo-croc { color: var(--teal); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--teal) !important;
  color: #0d1117 !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    inset-inline: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 24px;
    gap: 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 1rem; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
  max-width: 220px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.875rem; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.85; text-decoration: none; transform: translateY(-1px); }
.btn-primary  { background: var(--teal);   color: #0d1117; }
.btn-secondary { background: var(--indigo); color: #fff; }
.btn-outline  { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.badge-teal   { background: var(--teal-dim);   color: var(--teal);   border: 1px solid rgba(0,212,170,0.25); }
.badge-indigo { background: var(--indigo-dim); color: var(--indigo); border: 1px solid rgba(99,102,241,0.25); }

/* ===== Section helpers ===== */
.section { padding: 80px 0; }
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
}

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(0,212,170,0.4); transform: translateY(-2px); }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.card p  { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ===== Tags ===== */
.tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ===================================================
   HOME PAGE
   =================================================== */

/* Hero */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% -10%, rgba(0,212,170,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--teal); }
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Offerings */
.offerings { padding: 0 0 80px; }
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 720px) { .offerings-grid { grid-template-columns: 1fr; } }

.offering-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.offering-card:hover { transform: translateY(-3px); }
.offering-card.teal-card:hover  { border-color: rgba(0,212,170,0.5); }
.offering-card.indigo-card { border-color: rgba(99,102,241,0.2); }
.offering-card.indigo-card:hover { border-color: rgba(99,102,241,0.6); }
.offering-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.06;
}
.glow-teal   { background: var(--teal); }
.glow-indigo { background: var(--indigo); }
.offering-card .badge { margin-bottom: 18px; }
.offering-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.offering-card p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.offering-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Why section */
.why {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; gap: 28px; } }
.why-icon {
  width: 36px; height: 36px;
  margin-bottom: 14px;
  color: var(--teal);
}
.why-item h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.why-item p  { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* CTA band */
.cta-band { padding: 96px 0; text-align: center; }
.cta-band h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.cta-band p { color: var(--muted); margin-bottom: 36px; font-size: 1rem; }

/* ===================================================
   INNER PAGES (services, about, contact)
   =================================================== */

.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero .section-title { margin-bottom: 16px; }

/* Services */
.service-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-of-type { border-bottom: none; }
.service-header { margin-bottom: 40px; }
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 720px) { .service-layout { grid-template-columns: 1fr; gap: 32px; } }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8.25' stroke='%2300d4aa' stroke-width='1.5'/%3E%3Cpath d='M5.5 9l2.5 2.5 4.5-5' stroke='%2300d4aa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.integrations { margin-top: 32px; }
.integrations h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.integration-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.early-access {
  background: var(--indigo-dim);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.early-access-icon { color: var(--indigo); flex-shrink: 0; margin-top: 2px; }
.early-access p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.early-access strong { color: var(--text); }

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
}
@media (max-width: 720px) { .about-layout { grid-template-columns: 1fr; gap: 40px; } }
.about-avatar {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-avatar svg { width: 80px; height: 80px; color: var(--teal); opacity: 0.6; }
.about-name { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.5px; }
.about-role { color: var(--teal); font-size: 0.95rem; font-weight: 500; margin: 6px 0 24px; }
.about-bio p { color: var(--muted); line-height: 1.8; font-size: 0.95rem; margin-bottom: 14px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 480px) { .about-stats { grid-template-columns: 1fr 1fr; } }
.stat-val { font-size: 1.8rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat-lbl { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 72px 0;
  align-items: start;
}
@media (max-width: 720px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }
.contact-heading { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 14px; }
.contact-sub { color: var(--muted); line-height: 1.75; margin-bottom: 40px; font-size: 0.95rem; }
.contact-methods { display: flex; flex-direction: column; gap: 22px; }
.contact-method { display: flex; align-items: center; gap: 16px; }
.method-icon {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.method-icon svg { width: 20px; height: 20px; }
.method-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 3px; }
.method-value { color: var(--text); font-size: 0.95rem; }
.method-value a { color: var(--text); }
.method-value a:hover { color: var(--teal); text-decoration: none; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}
.contact-card h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 28px; }
.project-types { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.project-type {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--muted);
}
.pt-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pt-dot-teal   { background: var(--teal); }
.pt-dot-indigo { background: var(--indigo); }
