/* ==============================
    Core variables & resets
    ============================== */
:root {
  --brand: #22d3ee;
  --brand-2: #38bdf8;
  --container: 1200px;
  --radius: 16px;
  --shadow: 0 10px 24px rgba(0, 0, 0, .25);
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(0, 0, 0, .08);
}

/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, "Open Sans", Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

/* ==============================
    Header & Navbar (Consistent with index.html)
    ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: .2s;
}

.btn--primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #001019;
  font-weight: 700;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 211, 238, .15);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
}

/* Products Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .btn {
  background: none;
  font-weight: normal;
  font-size: 1rem;
  cursor: pointer;
}

.dropdown .btn:hover {
  background-color: var(--bg-2);
  transform: none;
  box-shadow: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, .1);
  z-index: 10;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  margin-top: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-content a {
  color: var(--text);
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  border-radius: 8px;
}

.dropdown-content a:hover {
  background-color: var(--bg-2);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ==============================
    Hero (About Page Specific)
    ============================== */
.hero {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(34, 211, 238, .1), transparent), radial-gradient(900px 500px at -10% 10%, rgba(56, 189, 248, .08), transparent), var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 64px 20px;
}

.eyebrow {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--brand-2);
}

h1 {
  font-size: clamp(2rem, 2.5rem + 1vw, 3rem);
  margin: .5rem 0;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.media img {
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ==============================
    Content Sections (About Page Specific)
    ============================== */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type {
  border-bottom: none;
}

.section h2 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  margin-bottom: .5rem;
}

.muted { color: var(--muted); }
.mt-18 { margin-top: 18px; }

/* Grid / cards */
.grid { display: grid; gap: 20px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card-body { padding: 12px; }
.card-body h3 { margin: .2rem 0; }
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards .card img { aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }


/* About boxes */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* Stripe */
.stripe { display: grid; grid-template-columns: 2fr 1.2fr .8fr; gap: 20px; }
.stripe .tile { background: no-repeat center/cover; border-radius: 18px; min-height: 200px; }
.stripe .panel { background: #fff; border-radius: 18px; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }

/* ==============================
    Footer (Consistent with index.html)
    ============================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 40px 20px;
}

.footer-col h5 {
  margin-bottom: .5rem;
  color: #0f172a;
}

.footer-col p {
  color: var(--muted);
  margin: .3rem 0;
}

.foot-bottom {
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #475569;
  font-size: .95rem;
}

/* ==============================
    Responsive
    ============================== */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .stripe { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 16px;
    gap: .8rem;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .btn, .dropdown .btn { width: 100%; }
  .dropdown-content { position: static; box-shadow: none; border: none; width: 100%; transform: none; background: transparent; padding: 0; margin-top: 8px; }
  .dropdown-content a { padding-left: 1rem; }
}

@media (max-width: 640px) {
  .cols-3 { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}