/*
Theme Name: Portfolio Nicolas Raux
Description: Portfolio moderne développeur web
Version: 1.0
Author: Nicolas Raux
*/

:root {
  --bg-0: #050b16;
  --bg-1: #0a1628;
  --bg-2: #10243b;
  --surface: rgba(13, 26, 43, 0.72);
  --surface-2: rgba(19, 38, 62, 0.8);
  --line: rgba(101, 150, 214, 0.22);
  --text-0: #f4f8ff;
  --text-1: #b3c3d7;
  --accent: #2bd4bf;
  --accent-2: #4f7cff;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  --scroll-progress: 0;
}

/* ========================================
   GLOBAL
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background: radial-gradient(1200px 600px at 82% -12%, rgba(43, 212, 191, 0.1), transparent 70%),
    radial-gradient(900px 500px at -8% 22%, rgba(79, 124, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%) !important;
  background-attachment: fixed !important;
  color: var(--text-0) !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: calc(0.12 + (var(--scroll-progress) * 0.2));
  background: radial-gradient(1000px 460px at calc(70% - (var(--scroll-progress) * 28%)) 18%, rgba(43, 212, 191, 0.16), transparent 68%),
    radial-gradient(900px 420px at calc(14% + (var(--scroll-progress) * 20%)) 75%, rgba(79, 124, 255, 0.2), transparent 72%);
  transition: opacity 0.25s linear;
}

/* Zone principale qui grandit pour coller le footer en bas (évite la marge bleue en dessous) */
main#main,
#elementor,
.elementor-inner {
  flex: 1 1 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-main {
  padding-top: 96px;
}

body.admin-bar .site-main {
  padding-top: 132px;
}

.section-shell {
  padding: 4.5rem 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.section-heading p {
  color: var(--text-1);
  max-width: 740px;
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .site-main {
    padding-top: 82px;
  }

  body.admin-bar .site-main {
    padding-top: 126px;
  }
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(125, 169, 224, 0.2);
  background: rgba(6, 17, 33, 0.86);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(1, 7, 16, 0.35);
}

body.admin-bar .site-header {
  top: 38px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 52px;
  }
}

.site-header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  color: var(--text-0);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  padding: 0.2rem 0.35rem 0.2rem 0;
  border-radius: 8px;
}

.site-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(43, 212, 191, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.site-brand:hover::after {
  opacity: 1;
}

.site-brand-mark {
  color: var(--accent-2);
  font-size: 1.1rem;
  display: inline-block;
  text-shadow: 0 0 8px rgba(79, 124, 255, 0.45);
  animation: brand-blink 1.25s steps(2, end) infinite;
}

.site-brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}

.js-ready .site-brand {
  animation: brand-slide-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav {
  margin-left: 0;
}

.site-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.site-nav-list a {
  color: #d7e4f3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  padding: 0.25rem 0;
  letter-spacing: 0.01em;
}

.site-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), #72b7ff);
  transition: transform 0.25s ease;
}

.site-nav-list a:hover,
.site-nav-list .current-menu-item > a,
.site-nav-list .current_page_item > a {
  color: var(--accent);
}

.site-nav-list a:hover::after,
.site-nav-list .current-menu-item > a::after,
.site-nav-list .current_page_item > a::after {
  transform: scaleX(1);
}

.site-header-cta {
  margin-left: 0;
  text-decoration: none;
  color: #04111f;
  background: linear-gradient(90deg, var(--accent), #3bbcff);
  font-weight: 700;
  padding: 0.72rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(43, 212, 191, 0.24);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.site-header-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.site-header-cta:hover {
  transform: translateY(-2px);
  color: #04111f;
  box-shadow: 0 12px 30px rgba(43, 212, 191, 0.36);
}

.site-header-cta:hover::before {
  left: 140%;
}

.site-nav-toggle {
  display: none;
  margin-left: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #d7e4f3;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
}

@media (max-width: 900px) {
  .site-header-inner {
    min-height: 68px;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-header-right {
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    margin-left: 0;
    background: rgba(6, 14, 26, 0.96);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.8rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav-list {
    flex-direction: column;
    gap: 0.65rem;
  }

  .site-header-cta {
    display: none;
  }
}

/* ========== HOME HERO ========== */
.home-hero {
  padding-top: 6.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 25%, rgba(43, 212, 191, 0.14), transparent 36%),
    radial-gradient(circle at 22% 68%, rgba(79, 124, 255, 0.2), transparent 40%);
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ec7ff;
  margin-bottom: 0.75rem;
}

.home-hero h1 {
  max-width: 900px;
  font-size: clamp(2rem, 4.9vw, 4rem);
  line-height: 1.06;
  margin-bottom: 0.9rem;
}

.home-hero p {
  max-width: 760px;
  color: var(--text-1);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-cta-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.portfolio-primary-btn,
.portfolio-secondary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.72rem 1.1rem;
}

.portfolio-primary-btn {
  color: #04111f;
  background: linear-gradient(90deg, var(--accent), #3db6ff);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.portfolio-primary-btn:hover {
  color: #04111f;
  box-shadow: 0 12px 30px rgba(43, 212, 191, 0.28);
}

.portfolio-secondary-btn {
  color: #dbe8f8;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.portfolio-secondary-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ========== SKILLS ========== */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.skill-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.skill-card h3 {
  margin-bottom: 0.7rem;
}

.skill-card ul {
  margin: 0;
  padding-left: 1rem;
}

.skill-card li {
  color: var(--text-1);
  margin-bottom: 0.45rem;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 212, 191, 0.6);
}

@media (max-width: 900px) {
  .skill-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== FORMULAIRE DEVIS ========== */
.portfolio-quote-form-wrap {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.portfolio-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.portfolio-quote-form p {
  margin-bottom: 0.9rem;
}

.portfolio-quote-form label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.portfolio-quote-form input,
.portfolio-quote-form select,
.portfolio-quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 13, 24, 0.6);
  color: #e6f0ff;
  padding: 0.68rem 0.76rem;
}

.portfolio-quote-form input:focus,
.portfolio-quote-form select:focus,
.portfolio-quote-form textarea:focus {
  outline: 2px solid rgba(43, 212, 191, 0.3);
  border-color: var(--accent);
}

.portfolio-form-feedback {
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.portfolio-form-feedback.is-success {
  background: rgba(43, 212, 191, 0.16);
  border: 1px solid rgba(43, 212, 191, 0.5);
}

.portfolio-form-feedback.is-error {
  background: rgba(255, 91, 91, 0.12);
  border: 1px solid rgba(255, 91, 91, 0.4);
}

.portfolio-quote-form .portfolio-primary-btn {
  cursor: pointer;
}

@media (max-width: 900px) {
  .portfolio-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== FOOTER ========== */
.site-footer,
#site-footer {
  display: block !important;
  visibility: visible !important;
  margin-top: auto; /* colle le footer en bas, supprime la marge bleue en dessous */
  padding-top: 6rem; /* espacement au-dessus du footer */
}

.footer-main {
  background: linear-gradient(180deg, rgba(15, 29, 47, 0.96), rgba(10, 21, 35, 0.96));
  padding: 68px 20px 58px;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: relative;
}

.footer-main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 212, 191, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  .footer-main {
    padding: 40px 20px;
  }
}

.footer-col {
  color: #b0b0b0;
  padding: 0.35rem 0.2rem;
}

.footer-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #94b7de;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-heading {
  color: var(--text-0) !important;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-identity .footer-heading {
  font-size: 1.5rem;
}

.footer-desc {
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #04111f;
  background: linear-gradient(90deg, var(--accent), #3bbcff);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.62rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 20px rgba(43, 212, 191, 0.2);
}

.footer-cta:hover {
  transform: translateY(-2px);
  color: #04111f;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.footer-nav-icon {
  flex-shrink: 0;
  color: var(--text-1);
  transition: color 0.15s ease;
}

.footer-nav-list a {
  color: var(--text-1);
  text-decoration: none;
  transition: color 0.15s ease;
  position: relative;
}

.footer-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.footer-nav-list a:hover,
.footer-nav-list li:hover .footer-nav-icon {
  color: var(--accent);
}

.footer-nav-list a:hover::after {
  transform: scaleX(1);
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-contact-line {
  margin: 0 0 0.9rem;
}

.footer-contact-line a {
  color: #dbe9f8;
  text-decoration: none;
  border-bottom: 1px solid rgba(219, 233, 248, 0.35);
  padding-bottom: 1px;
}

.footer-contact-line a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(164, 191, 222, 0.45);
  color: #d5e2f3;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.footer-social-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background-color: rgba(43, 212, 191, 0.12);
  color: #ffffff;
}

.footer-social-link:hover svg {
  color: inherit;
}

.footer-copyright {
  background-color: #081220;
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(119, 160, 215, 0.15);
}

.footer-copyright-text {
  margin: 0;
  color: #7f96af;
  font-size: 13px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

/* ========== PROJETS (shortcode) ========== */
.portfolio-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.portfolio-project-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(43, 212, 191, 0.62);
  box-shadow: 0 18px 46px rgba(5, 13, 26, 0.52);
}

.portfolio-section {
  padding: 4rem 0;
}

.portfolio-section-header {
  margin-bottom: 1.8rem;
}

.portfolio-page-title {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.portfolio-page-intro {
  color: var(--text-1);
  max-width: 720px;
}

.portfolio-project-title {
  margin: 0 0 0.75rem;
  color: var(--text-0);
  font-size: 1.1rem;
}

.portfolio-project-title a {
  color: inherit;
  text-decoration: none;
}

.portfolio-project-title a:hover {
  color: var(--accent);
}

.portfolio-project-context {
  margin: 0 0 0.75rem;
  color: #c6d6e8;
  font-size: 0.95rem;
}

.portfolio-project-description {
  color: var(--text-1);
  margin-bottom: 0.9rem;
}

.portfolio-project-thumb {
  margin: 0 0 0.9rem;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.portfolio-project-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.01);
  transition: transform 0.35s ease;
}

.portfolio-project-thumb:hover img {
  transform: scale(1.05);
}

.portfolio-project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.portfolio-project-links a {
  color: #8cb6ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(140, 182, 255, 0.36);
  padding-bottom: 1px;
}

.portfolio-project-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.portfolio-single-project {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.portfolio-single-header {
  margin-bottom: 1rem;
}

.portfolio-single-thumb {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.portfolio-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-single-content {
  color: #d2deea;
  margin-bottom: 1rem;
}

.portfolio-single-content p {
  margin-bottom: 0.9rem;
}

/* ========== MICRO-INTERACTIONS GLOBAL ========== */
a,
button,
.elementor-button,
.wp-element-button {
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.elementor-button,
.wp-element-button {
  border-radius: 10px !important;
}

.elementor-button:hover,
.wp-element-button:hover {
  transform: translateY(-2px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
}

.js-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* Header transparent -> glass au scroll */
body.is-scrolled .elementor-location-header,
body.is-scrolled .site-header {
  backdrop-filter: blur(8px);
  background: rgba(5, 14, 26, 0.72);
  border-bottom: 1px solid var(--line);
}

@keyframes brand-slide-in {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes brand-blink {
  0%,
  46%,
  100% {
    opacity: 1;
  }
  47%,
  52% {
    opacity: 0.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  body::before {
    opacity: 0.12;
  }

  .site-brand,
  .site-brand-mark {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .portfolio-projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== PAGE A PROPOS ========== */
.about-hero {
  position: relative;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 22%, rgba(43, 212, 191, 0.14), transparent 40%),
    radial-gradient(circle at 18% 78%, rgba(79, 124, 255, 0.18), transparent 42%);
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-page h1 {
  max-width: 920px;
  font-size: clamp(2rem, 4.7vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.about-page p {
  color: var(--text-1);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.about-card h2 {
  margin-bottom: 0.9rem;
  font-size: 1.28rem;
}

.about-timeline {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.about-timeline-item {
  border-left: 2px solid rgba(43, 212, 191, 0.45);
  padding-left: 0.85rem;
}

.about-timeline-item span {
  display: inline-block;
  margin-bottom: 0.22rem;
  font-weight: 700;
  color: #d8ecff;
}

.about-highlights {
  display: grid;
  gap: 0.65rem;
}

.about-highlight {
  border: 1px solid rgba(115, 156, 214, 0.22);
  border-radius: 10px;
  padding: 0.62rem 0.74rem;
  background: rgba(255, 255, 255, 0.02);
}

.about-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-stack-card {
  border: 1px solid rgba(117, 162, 221, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 32, 52, 0.84), rgba(10, 24, 40, 0.9));
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.about-stack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 212, 191, 0.62);
}

.about-stack-card h3 {
  font-size: 1.02rem;
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.about-stack-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), #6ab9ff);
  box-shadow: 0 0 10px rgba(43, 212, 191, 0.5);
}

.about-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-stack-tags span {
  border: 1px solid rgba(124, 163, 220, 0.3);
  background: rgba(255, 255, 255, 0.02);
  color: #d7e8fb;
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.88rem;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.about-stack-tags span:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 212, 191, 0.65);
  background: rgba(43, 212, 191, 0.08);
}

.about-cta-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 30, 49, 0.86), rgba(10, 23, 38, 0.9));
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.about-cta-panel h2 {
  margin-bottom: 0.55rem;
}

.about-cta-panel p {
  max-width: 760px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stack-grid {
    grid-template-columns: 1fr;
  }
}
