/*
Theme Name: Braingale AI Theme V2
Theme URI: https://braingale-ai.com
Author: Braingale AI
Author URI: https://braingale-ai.com
Description: Official Braingale AI website theme. Dark, minimal AI agency aesthetic with glassmorphism cards, custom dashboard visual, founder section, podcast section, and CF7 contact modal. Built for Richmond Hill, Ontario, Canada.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: braingale-ai
Tags: one-page, dark, responsive, ai, agency, business
*/

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #080C14;
  color: #fff;
  overflow-x: hidden;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: 'DM Sans', sans-serif; cursor: pointer; }

/* ============================================
   MODAL OVERLAY
============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }

.modal {
  background: #0D1525;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 560px;
  position: relative;
  animation: modalIn 0.3s ease;
  margin: 16px;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover { color: #fff; }

.modal-tag {
  display: inline-block;
  background: rgba(21,101,255,0.08);
  color: #6B9FFF;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(21,101,255,0.18);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.modal h2 {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modal-sub {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  margin-bottom: 28px;
  font-weight: 300;
}

/* CF7 form styling inside modal */
.modal .wpcf7 .wpcf7-form,
.modal .cf7-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal .wpcf7 p {
  margin: 0;
}

.modal .wpcf7 input[type="text"],
.modal .wpcf7 input[type="email"],
.modal .wpcf7 input[type="tel"],
.modal .wpcf7 textarea,
.modal .wpcf7 select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.modal .wpcf7 input[type="text"]:focus,
.modal .wpcf7 input[type="email"]:focus,
.modal .wpcf7 input[type="tel"]:focus,
.modal .wpcf7 textarea:focus {
  border-color: rgba(21,101,255,0.5);
}

.modal .wpcf7 textarea {
  height: 100px;
  resize: none;
}

.modal .wpcf7 input[type="submit"],
.modal .wpcf7 .wpcf7-submit {
  background: #1565FF !important;
  color: #fff !important;
  padding: 14px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  font-family: 'DM Sans', sans-serif !important;
  width: 100% !important;
  transition: background 0.2s !important;
  margin-top: 4px !important;
}
.modal .wpcf7 input[type="submit"]:hover,
.modal .wpcf7 .wpcf7-submit:hover {
  background: #1050CC !important;
}

.modal .wpcf7 .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 11px;
  margin-top: 4px;
}

.modal .wpcf7 .wpcf7-response-output {
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 13px;
  border: none !important;
}

/* ============================================
   NAV
============================================ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,20,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: #1565FF;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.nav-cta:hover { background: #1050CC; }

/* ============================================
   HERO
============================================ */
.hero {
  padding: 110px 48px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21,101,255,0.1);
  border: 1px solid rgba(21,101,255,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  color: #6B9FFF;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #28CA42;
  border-radius: 50%;
  animation: blink 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: #1565FF;
}

.hero-sub {
  color: rgba(255,255,255,0.45);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 440px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #1565FF;
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: #1050CC; }

.btn-ghost {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: #fff; }

/* Hero Visual / Dashboard */
.hero-visual {
  background: #0D1525;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.vis-header {
  background: #0A1020;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot { width: 9px; height: 9px; border-radius: 50%; }
.dr { background: #FF5F57; }
.dy { background: #FFBD2E; }
.dg { background: #28CA42; }

.vis-title {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-left: 6px;
}

.vis-body { padding: 24px; }

.vis-what {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.flow { display: flex; flex-direction: column; }

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.flow-item:last-child { border-bottom: none; }

.flow-icon {
  width: 36px;
  height: 36px;
  background: rgba(21,101,255,0.12);
  border: 1px solid rgba(21,101,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.flow-title { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.flow-desc { font-size: 11px; color: rgba(255,255,255,0.35); line-height: 1.5; font-weight: 300; }

.flow-status {
  margin-left: auto;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-top: 2px;
  white-space: nowrap;
}
.status-ready { background: rgba(40,202,66,0.1); color: #28CA42; border: 1px solid rgba(40,202,66,0.2); }
.status-build { background: rgba(21,101,255,0.1); color: #6B9FFF; border: 1px solid rgba(21,101,255,0.2); }

.vis-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   DIVIDER
============================================ */
.divider { height: 1px; background: rgba(255,255,255,0.05); margin: 0 48px; }

/* ============================================
   SECTIONS (shared)
============================================ */
.section { padding: 80px 48px; max-width: 1200px; margin: 0 auto; }

.stag {
  display: inline-block;
  background: rgba(21,101,255,0.08);
  color: #6B9FFF;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(21,101,255,0.18);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.section h2 em { font-style: normal; color: #1565FF; }

.section-sub {
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

/* ============================================
   SERVICES
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.scard {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  cursor: pointer;
}
.scard:hover {
  border-color: rgba(21,101,255,0.35);
  background: rgba(21,101,255,0.04);
}

.sicon {
  width: 42px;
  height: 42px;
  background: rgba(21,101,255,0.1);
  border: 1px solid rgba(21,101,255,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 16px;
}

.scard h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.scard p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   PROCESS / STEPS
============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px;
}

.step-n {
  font-family: 'Syne', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: rgba(21,101,255,0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
}

.step-list { display: flex; flex-direction: column; gap: 7px; }

.step-li {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-li::before { content: '✓'; color: #1565FF; font-weight: 700; flex-shrink: 0; }

/* ============================================
   FOUNDER SECTION
============================================ */
.founder-section {
  background: rgba(21,101,255,0.03);
  border-top: 1px solid rgba(21,101,255,0.08);
  border-bottom: 1px solid rgba(21,101,255,0.08);
  padding: 80px 48px;
}

.founder-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.founder-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.founder-inner h2 em { font-style: normal; color: #1565FF; }

.founder-inner > div > p {
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 16px;
}

.founder-card {
  background: #0D1525;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
}

.founder-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.founder-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(21,101,255,0.4);
  flex-shrink: 0;
  background: #1a2535;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.founder-role { font-size: 13px; color: #6B9FFF; font-weight: 500; margin-bottom: 4px; }
.founder-location { font-size: 12px; color: rgba(255,255,255,0.3); }

.founder-quote {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 20px;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21,101,255,0.1);
  border: 1px solid rgba(21,101,255,0.25);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: #6B9FFF;
  font-weight: 500;
  transition: background 0.2s;
}
.founder-linkedin:hover { background: rgba(21,101,255,0.18); }

.li-icon {
  width: 16px;
  height: 16px;
  background: #0077B5;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  font-style: normal;
}

.founder-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   PODCAST SECTION
============================================ */
.podcast-section { padding: 80px 48px; max-width: 1200px; margin: 0 auto; }

.podcast-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.podcast-section h2 em { font-style: normal; color: #1565FF; }

.podcast-section > p {
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 500px;
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.podcast-card {
  background: #0D1525;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: block;
  color: inherit;
}
.podcast-card:hover {
  border-color: rgba(21,101,255,0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.podcast-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #0a1220;
}

.podcast-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,12,20,0.65), rgba(21,101,255,0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.podcast-ep-num {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(0,0,0,0.45);
  padding: 4px 10px;
  border-radius: 100px;
}

.podcast-play {
  width: 54px;
  height: 54px;
  background: #1565FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 0 28px rgba(21,101,255,0.55);
}
.podcast-card:hover .podcast-play { transform: scale(1.12); }

.podcast-wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.podcast-wave span { width: 3px; background: rgba(255,255,255,0.5); border-radius: 2px; animation: wave 1.2s ease-in-out infinite; }
.podcast-wave span:nth-child(1) { height: 5px;  animation-delay: 0s; }
.podcast-wave span:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.podcast-wave span:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.podcast-wave span:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.podcast-wave span:nth-child(5) { height: 5px;  animation-delay: 0.4s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.podcast-info { padding: 20px; }

.podcast-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.podcast-platform {
  font-size: 10px; color: #6B9FFF;
  background: rgba(21,101,255,0.1); border: 1px solid rgba(21,101,255,0.2);
  padding: 3px 8px; border-radius: 100px; font-weight: 500;
}
.podcast-duration { font-size: 10px; color: rgba(255,255,255,0.3); }
.podcast-title { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.podcast-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; font-weight: 300; }
.podcast-listen { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: #6B9FFF; font-weight: 500; }

/* ============================================
   WHY US
============================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.why-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px;
}

.why-icon { font-size: 28px; margin-bottom: 14px; }

.why-card h3 { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.65; font-weight: 300; }

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
  padding: 80px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-section p {
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-note { font-size: 12px; color: rgba(255,255,255,0.25); margin-top: 16px; }

/* ============================================
   FOOTER
============================================ */
.site-footer {
  padding: 36px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
}

.footer-logo img { height: 30px; width: auto; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

.footer-right { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 70px 24px 60px; gap: 40px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 36px; }
  .services-grid, .steps-grid, .why-grid, .podcast-grid { grid-template-columns: 1fr; }
  .founder-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .section, .founder-section, .cta-section, .podcast-section { padding: 60px 24px; }
  .site-footer { padding: 28px 24px; flex-direction: column; text-align: center; }
  .divider { margin: 0 24px; }
  .modal .wpcf7 .wpcf7-form { grid-template-columns: 1fr; }
  .founder-inner h2 { font-size: 28px; }
  .podcast-section h2 { font-size: 28px; }
}

/* Footer social links */
.footer-social-link {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  font-weight: 500;
}
.footer-li:hover  { color: #6B9FFF; }
.footer-wa:hover  { color: #25D366; }
.footer-yt:hover  { color: #FF4444; }
.footer-sp:hover  { color: #1ED760; }

@media (max-width: 900px) {
  .footer-right { align-items: center !important; }
}

/* ============================================
   BLOG SECTION
============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.blog-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  outline: none;
}

.blog-card:hover,
.blog-card:focus {
  border-color: rgba(21,101,255,0.35);
  background: rgba(21,101,255,0.04);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.blog-card-inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.blog-card-tag {
  display: inline-block;
  background: rgba(21,101,255,0.08);
  color: #6B9FFF;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(21,101,255,0.18);
  text-transform: uppercase;
  width: fit-content;
}

.blog-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  flex: 1;
}

.blog-card-excerpt {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  font-weight: 300;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 14px;
  margin-top: 4px;
}

.blog-card-date {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
}

.blog-card-link {
  font-size: 12px;
  font-weight: 600;
  color: #6B9FFF;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-link { color: #fff; }

/* Blog article modal */
.blog-modal {
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
}

.blog-article-body {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  font-weight: 300;
}

.blog-article-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 24px 0 10px;
}

.blog-article-body p {
  margin-bottom: 14px;
}

.blog-article-body em {
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.blog-article-body strong {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Footer social links */
.footer-social-link {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  font-weight: 500;
}
.footer-li:hover  { color: #6B9FFF; }
.footer-wa:hover  { color: #25D366; }
.footer-yt:hover  { color: #FF4444; }
.footer-sp:hover  { color: #1ED760; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .footer-right { align-items: center !important; }
}
