/* ============================================
   BREWTECC — index.css (Home Page)
   ============================================ */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  overflow: hidden;
}
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-inner {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(91,33,255,0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1.5rem;
}
.dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px #22c55e; }
  50% { box-shadow: 0 0 12px #22c55e; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title .grad {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.stat-num .grad {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero logo block */
.hero-logo-block {
  flex: 0 0 auto;
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(91,33,255,0.3) 0%, rgba(37,99,235,0.15) 50%, transparent 75%);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 1; }
}
.hero-logo-img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(91,33,255,0.4));
}

/* ---- About Section ---- */
.about-section { padding-top: 5rem; padding-bottom: 5rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.pillar:hover { border-color: rgba(91,33,255,0.4); }
.pillar-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.pillar p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Code block visual */
.about-visual { display: flex; align-items: center; justify-content: center; }
.code-block {
  width: 100%;
  max-width: 420px;
  background: #0D0D17;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(91,33,255,0.1);
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot-red   { width:12px;height:12px;border-radius:50%;background:#FF5F57;flex-shrink:0; }
.dot-yellow{ width:12px;height:12px;border-radius:50%;background:#FEBC2E;flex-shrink:0; }
.dot-green { width:12px;height:12px;border-radius:50%;background:#28C840;flex-shrink:0; }
.code-file {
  margin-left: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--muted);
}
.code-body {
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #A9B1D6;
  white-space: pre;
  overflow-x: auto;
}
.kw   { color: #BB9AF7; }
.fn   { color: #7AA2F7; }
.prop { color: #73DACA; }
.str  { color: #9ECE6A; }
.punc { color: #A9B1D6; }

/* ---- Credentials Section ---- */
.cred-section { padding-top: 5rem; padding-bottom: 5rem; }
.cred-header { margin-bottom: 3rem; }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.cred-col {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cred-col:hover {
  border-color: rgba(91,33,255,0.4);
  box-shadow: 0 4px 32px rgba(91,33,255,0.08);
}

.cred-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cred-col-icon { font-size: 1.1rem; }

.cred-list { display: flex; flex-direction: column; gap: 1.25rem; }
.cred-item { padding-bottom: 1.25rem; border-bottom: 1px solid rgba(91,33,255,0.08); }
.cred-item:last-child { border-bottom: none; padding-bottom: 0; }
.cred-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.cred-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--off-white);
}
.cred-org {
  font-size: 0.8rem;
  color: var(--indigo);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.cred-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Accolades bar */
.accolades-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--grad-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.accolade {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.accolade-icon { font-size: 1.25rem; }
.accolade-text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--off-white);
}
.accolade-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* ---- CTA Strip ---- */
.cta-strip {
  background: var(--grad-main);
  padding: 4rem 2rem;
}
.cta-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.cta-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}
.cta-strip .btn-primary {
  background: var(--white);
  color: var(--indigo);
  box-shadow: none;
  white-space: nowrap;
}
.cta-strip .btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; align-items: center; min-height: auto; }
  .hero-inner { max-width: 100%; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-logo-block { width: 240px; height: 240px; }
  .hero-logo-img { width: 200px; height: 200px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .accolades-bar { flex-direction: column; gap: 1rem; }
  .accolade-sep { width: 80px; height: 1px; }
}
