/* ===== VARIABLES ===== */
:root {
  --oct-dark:    #0a0d14;
  --oct-navy:    #111827;
  --oct-teal:    #00c9a7;
  --oct-teal2:   #00e5b4;
  --oct-muted:   #6b7280;
  --oct-border:  rgba(255,255,255,0.08);
  --section-bg:  #f8fafc;
  --card-radius: 16px;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; word-wrap: break-word; color: #1f2937; }
img  { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
.oct-navbar {
  background: rgba(10, 13, 20, 0.97) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 10px 0;
}
.oct-navbar .navbar-brand img { max-width: 150px; }
.navbar-nav { flex-direction: row; gap: 0.2rem; }
.navbar-nav .nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  color: rgba(255,255,255,0.8) !important;
  font-size: 13px; font-weight: 500; padding: 6px 11px;
  border-radius: 8px; transition: all 0.2s;
}
.navbar-nav .nav-link:hover { color: var(--oct-teal) !important; background: rgba(0,201,167,0.08); }
.lang-flag { width: 24px; height: 16px; cursor: pointer; border-radius: 3px; transition: transform 0.2s; }
.lang-flag:hover { transform: scale(1.15); }

/* ===== HERO ===== */
.hero {
  min-height: 520px;
  background: url('../imgs/banner-home-plain.png') no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex; align-items: center;
}
.hero-overlay {
  width: 100%; min-height: 520px;
  background: linear-gradient(120deg, rgba(10,13,20,0.90) 0%, rgba(10,13,20,0.55) 100%);
  display: flex; align-items: center;
}
.hero-content { text-align: left; max-width: 680px; padding: 130px 0 70px; }

.hero-badge-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--oct-teal); border: 1px solid rgba(0,201,167,0.35);
  padding: 4px 14px; border-radius: 100px; margin-bottom: 18px;
}
#hero-title {
  font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  color: #ffffff; line-height: 1.15; margin-bottom: 14px;
}
#hero-subtitle {
  font-size: clamp(14px, 1.8vw, 17px); color: rgba(255,255,255,0.72);
  line-height: 1.65; margin-bottom: 0;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--oct-teal); color: #0a0d14 !important; font-weight: 700;
  padding: 11px 26px; border-radius: 8px; border: none; transition: all 0.22s;
  font-size: 14px; text-decoration: none;
}
.btn-hero-primary:hover { background: var(--oct-teal2); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,201,167,0.35); }

.btn-hero-secondary {
  background: transparent; color: #ffffff !important; font-weight: 600;
  padding: 11px 26px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.22s; font-size: 14px; text-decoration: none;
}
.btn-hero-secondary:hover { border-color: var(--oct-teal); color: var(--oct-teal) !important; }

/* ===== SECTIONS GENERAL ===== */
.section { padding: 90px 0; }

/* Light sections — dark text */
#services, #markets, #about { background: #ffffff; color: #1f2937; }
#services .section-title, #markets .section-title, #about .section-title { color: #111827; }
#services .section-subtitle, #markets .section-subtitle { color: var(--oct-muted); }

/* Alt-light sections */
#services { background: #f8fafc; }

/* Dark sections */
#synapse, #why, #contact { background: var(--oct-dark); color: #ffffff; }
#synapse .section-title, #why .section-title, #contact .section-title { color: #ffffff; }
#synapse .section-subtitle, #why .section-subtitle, #contact .section-subtitle { color: rgba(255,255,255,0.6); }

.section-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--oct-teal); background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.28); padding: 4px 13px; border-radius: 100px;
}
.section-title { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.section-subtitle { font-size: 15px; max-width: 580px; margin: 0 auto; }

/* ===== SERVICES ===== */
.service-card {
  background: #ffffff; border: 1px solid #e5e7eb; border-radius: var(--card-radius);
  padding: 26px; height: 100%; transition: all 0.22s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(0,0,0,0.09); border-color: var(--oct-teal); }
.service-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 15px;
}
.icon-teal   { background: rgba(0,201,167,0.12); color: var(--oct-teal); }
.icon-green  { background: rgba(34,197,94,0.12);  color: #15a151; }
.icon-purple { background: rgba(139,92,246,0.12); color: #7c3aed; }
.icon-orange { background: rgba(249,115,22,0.12); color: #ea580c; }
.service-card h5 { font-weight: 700; font-size: 16px; color: #111827; margin-bottom: 5px; }
.service-card .svc-desc  { font-weight: 600; font-size: 13px; color: var(--oct-teal); margin-bottom: 9px; }
.service-card .svc-detail{ font-size: 13px; color: #6b7280; line-height: 1.7; margin: 0; }

/* ===== SYNAPSE (dark bg) ===== */
.synapse-badge { color: var(--oct-teal); background: rgba(0,201,167,0.1); border-color: rgba(0,201,167,0.28); }
#synapse-title { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); color: #ffffff; line-height: 1.1; }
.synapse-tagline { font-size: 17px; color: var(--oct-teal); font-weight: 600; margin-bottom: 4px; }
.synapse-not-just { color: rgba(255,255,255,0.88); font-size: 14px; }
.synapse-desc-text { color: rgba(255,255,255,0.68); font-size: 15px; line-height: 1.75; }

.btn-synapse {
  display: inline-block; background: var(--oct-teal); color: #0a0d14 !important;
  font-weight: 700; padding: 11px 26px; border-radius: 8px; border: none;
  transition: all 0.22s; font-size: 14px; text-decoration: none;
}
.btn-synapse:hover { background: var(--oct-teal2); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,201,167,0.35); }

.synapse-how-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--card-radius); padding: 26px;
}
.synapse-how-title { font-weight: 700; color: #ffffff; font-size: 15px; }
.synapse-step { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.synapse-step:last-child { border-bottom: none; }
.synapse-step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--oct-teal);
  color: #0a0d14; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.synapse-step-title { font-weight: 700; color: #ffffff; font-size: 14px; margin-bottom: 2px; }
.synapse-step-desc  { color: rgba(255,255,255,0.58); font-size: 13px; }

.synapse-feature-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--card-radius); padding: 20px; transition: all 0.22s;
}
.synapse-feature-card:hover { background: rgba(0,201,167,0.08); border-color: rgba(0,201,167,0.3); transform: translateY(-3px); }
.synapse-feature-card i    { color: var(--oct-teal); font-size: 22px; margin-bottom: 9px; display: block; }
.synapse-feature-card h6   { font-weight: 700; color: #ffffff; font-size: 14px; margin-bottom: 5px; }
.synapse-feature-card p    { color: rgba(255,255,255,0.58); font-size: 13px; margin: 0; line-height: 1.6; }

.synapse-stack-bar {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px 22px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.stack-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.38); white-space: nowrap; }
.stack-pill {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78); font-size: 12px; font-weight: 600;
  padding: 3px 12px; border-radius: 100px;
}

/* Tier cards */
.tier-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--card-radius); padding: 26px; text-align: center; transition: all 0.22s;
}
.tier-card.highlight { background: rgba(0,201,167,0.1); border-color: var(--oct-teal); }
.tier-card:hover { transform: translateY(-4px); }
.tier-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oct-teal); background: rgba(0,201,167,0.15); padding: 3px 10px; border-radius: 100px; }
.tier-name  { font-weight: 700; color: #ffffff; font-size: 15px; margin: 10px 0 4px; }
.tier-users { color: rgba(255,255,255,0.48); font-size: 13px; margin-bottom: 16px; }
.tier-price-label { color: rgba(255,255,255,0.38); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.tier-price { font-weight: 800; color: var(--oct-teal); font-size: 20px; }
.tier-year1 { color: rgba(255,255,255,0.62); font-size: 13px; margin: 7px 0; }
.tier-maint { color: rgba(255,255,255,0.45); font-size: 12px; margin-bottom: 10px; }
.tier-diag  { font-size: 12px; color: var(--oct-teal); font-weight: 600; }
.btn-tier {
  display: block; margin-top: 15px;
  background: var(--oct-teal); color: #0a0d14 !important; font-weight: 700; font-size: 13px;
  padding: 9px 18px; border-radius: 8px; border: none; text-decoration: none; transition: all 0.2s;
}
.btn-tier:hover { background: var(--oct-teal2); }

/* ===== MARKETS (light bg) ===== */
.market-card {
  background: #ffffff; border: 1px solid #e5e7eb; border-radius: var(--card-radius);
  padding: 26px; height: 100%; transition: all 0.22s;
}
.market-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,0.09); }
.market-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.market-card h5 { font-weight: 700; font-size: 17px; color: #111827; margin-bottom: 9px; }
.market-card p  { color: #6b7280; font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.market-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.market-tag  { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: #f3f4f6; color: #374151; }

/* ===== WHY (dark bg) ===== */
.why-badge { color: var(--oct-teal); background: rgba(0,201,167,0.1); border-color: rgba(0,201,167,0.28); }
.why-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--card-radius); padding: 20px;
  display: flex; gap: 15px; align-items: flex-start; transition: all 0.22s;
}
.why-card:hover { background: rgba(0,201,167,0.07); border-color: rgba(0,201,167,0.25); transform: translateY(-3px); }
.why-icon { font-size: 24px; color: var(--oct-teal); flex-shrink: 0; margin-top: 2px; }
.why-card h6 { font-weight: 700; color: #ffffff; font-size: 15px; margin-bottom: 4px; }
.why-card p  { color: rgba(255,255,255,0.58); font-size: 13px; margin: 0; line-height: 1.65; }

.stat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--card-radius); padding: 26px; text-align: center; }
.stat-num   { font-weight: 800; font-size: 3rem; color: var(--oct-teal); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.52); font-size: 14px; margin-top: 6px; }

/* ===== ABOUT (light bg) ===== */
#about p, #about h2 { color: #1f2937; }
.about-tagline {
  font-style: italic; color: var(--oct-teal); font-weight: 600; font-size: 14px;
  border-left: 3px solid var(--oct-teal); padding-left: 14px;
}
.process-timeline { display: flex; flex-direction: column; }
.process-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
.process-step:last-child { border-bottom: none; }
.process-num { font-weight: 800; font-size: 22px; color: #d1d5db; flex-shrink: 0; width: 38px; line-height: 1; }
.process-step h6 { font-weight: 700; color: #111827; font-size: 14px; margin-bottom: 3px; }
.process-step p  { color: #6b7280; font-size: 13px; margin: 0; line-height: 1.65; }

/* ===== CONTACT (dark bg) ===== */
.contact-badge { color: var(--oct-teal); background: rgba(0,201,167,0.1); border-color: rgba(0,201,167,0.28); }
.contact-info-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--card-radius); padding: 26px;
}
.contact-info-item { display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item i { color: var(--oct-teal); font-size: 19px; margin-top: 2px; }
.contact-info-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 2px; }
.contact-info-item a, .contact-info-item span { color: rgba(255,255,255,0.82); font-size: 14px; text-decoration: none; }
.contact-info-item a:hover { color: var(--oct-teal); }

.oct-input {
  background: rgba(255,255,255,0.07) !important; border: 1px solid rgba(255,255,255,0.15) !important;
  color: #ffffff !important; border-radius: 9px !important; padding: 11px 15px !important; font-size: 14px !important;
}
.oct-input::placeholder { color: rgba(255,255,255,0.32) !important; }
.oct-input:focus { background: rgba(255,255,255,0.1) !important; border-color: var(--oct-teal) !important; box-shadow: 0 0 0 3px rgba(0,201,167,0.14) !important; outline: none; }
textarea.oct-input { resize: vertical; }

.btn-contact {
  background: var(--oct-teal); color: #0a0d14 !important; font-weight: 700;
  font-size: 15px; padding: 13px; border-radius: 9px; border: none; transition: all 0.22s;
}
.btn-contact:hover { background: var(--oct-teal2); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,201,167,0.35); }
#contact-status { font-weight: 500; }

/* ===== FOOTER ===== */
.footer { background: #060810; padding: 44px 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo  { max-width: 110px; opacity: 0.82; }
.footer-tagline { font-weight: 600; font-size: 14px; color: rgba(255,255,255,0.68); margin: 0; }
.footer-copy    { font-size: 13px; color: rgba(255,255,255,0.38); margin: 0; }
.footer-copy a  { color: var(--oct-teal); text-decoration: none; }
.footer-copy a:hover { color: var(--oct-teal2); }

/* ===== CARDS HOVER (Bootstrap override) ===== */
.card:hover { transform: scale(1.02); transition: transform 0.25s ease; }
.btn:not(.btn-hero-primary):not(.btn-hero-secondary):not(.btn-synapse):not(.btn-tier):not(.btn-contact):hover {
  box-shadow: 0 4px 12px rgba(0,123,255,0.25); transition: all 0.25s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199.98px) {
  .navbar-nav { flex-direction: column; align-items: flex-start; padding: 0.75rem 0; gap: 0; }
  .navbar-nav .nav-item { width: 100%; }
  .navbar-nav .nav-link { width: 100%; padding: 8px 14px; }
  .lang-switcher { justify-content: flex-end; margin-top: 0.75rem; }
  .hero-content { text-align: center; padding: 120px 0 60px; }
  .hero-btns { justify-content: center; }
  .tier-card.highlight { transform: none; }
}
@media (max-width: 576px) {
  .section { padding: 68px 0; }
  #hero-title { font-size: 1.8rem; }
  .navbar-brand img { max-width: 120px !important; }
}
@media (max-width: 480px) {
  .navbar-brand img { max-width: 100px !important; }
}

/* Logo sizing */
.navbar-brand img { width: auto; max-width: 150px; height: auto; transition: width 0.2s ease; }
@media (max-width: 768px) { .navbar-brand img { max-width: 120px; } }

/* Support and navigation refinements */
:root { --nav-offset: 145px; }
section[id], #support-form, #support-form-title { scroll-margin-top: var(--nav-offset); }
.section { overflow-x: clip; }
.section .row { --bs-gutter-x: 1.5rem; }
.section [class*="col-"] { min-width: 0; }
.synapse-stack-bar { min-width: 0; }
.stack-label { white-space: normal; }
.language-button { border: 0; background: transparent; padding: 6px; border-radius: 6px; }
.language-button[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--oct-teal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--oct-teal); outline-offset: 4px; }
.support-section { background: var(--section-bg); border-bottom: 1px solid #e5e7eb; }
.support-intro { color: #4b5563; line-height: 1.75; }
.support-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.support-price strong { font-size: 3.3rem; line-height: 1.2; color: var(--oct-navy); letter-spacing: -0.05em; }
.support-price span { color: #4b5563; font-size: 15px; }
.support-condition { padding: 20px; border: 1px solid #dce3e9; background: white; border-radius: var(--card-radius); height: 100%; }
.support-condition h3, .support-types h3 { font-size: 15px; font-weight: 700; color: var(--oct-navy); }
.support-condition p, .support-types p { font-size: 14px; line-height: 1.65; color: #4b5563; }
.support-condition p { margin: 0; }
.support-types { margin-top: 24px; }
.support-small { font-size: 12px; color: #4b5563; line-height: 1.65; }
.support-projects { border-left: 3px solid var(--oct-teal); padding-left: 14px; font-size: 14px; font-weight: 600; margin: 20px 0; }
.support-form-card { background: white; border: 1px solid #dce3e9; border-top: 4px solid var(--oct-teal); border-radius: var(--card-radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 12px 35px rgba(17,24,39,.05); }
.support-form-card h3 { font-size: 23px; font-weight: 800; }
.support-form-card > p { color: #6b7280; font-size: 14px; }
form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.support-form-card .form-control, .support-form-card .form-select { font-size: 14px; border-radius: 9px; padding: 10px 12px; }
.support-form-card :is(input,textarea,select):focus { border-color: var(--oct-teal); box-shadow: 0 0 0 3px rgba(0,201,167,.15); }
.support-service-link { display: inline-block; margin-top: 14px; color: #087865; font-size: 13px; font-weight: 700; }
.form-pending { opacity: .65; }
.hero-support { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 20px 22px; background: rgba(0,201,167,.10); border: 1px solid rgba(0,201,167,.42); border-left: 4px solid var(--oct-teal); border-radius: 12px; text-align: left; }
.hero-support h2 { margin: 0 0 7px; color: #fff; font-size: 19px; font-weight: 750; }
.hero-support p { margin: 0 0 3px; color: var(--oct-teal2); font-size: 14px; font-weight: 600; }
.hero-support small { display: block; color: rgba(255,255,255,.7); font-size: 11px; }
.hero-support-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px; border-radius: 8px; background: var(--oct-teal); color: var(--oct-dark); text-decoration: none; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.hero-support-cta:hover { background: var(--oct-teal2); color: var(--oct-dark); }
@media (max-width: 576px) { .hero-support { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; } .hero-support-cta { width: 100%; } }
@media (max-width: 1199.98px) { :root { --nav-offset: 120px; } .navbar-collapse { max-height: calc(100dvh - 115px); overflow-y: auto; } }
@media (max-width: 576px) { :root { --nav-offset: 110px; } .hero-content { padding-left: 18px; padding-right: 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
