/* ===== BASE ===== */
:root {
  --green: #4ade80;
  --green-dark: #22c55e;
  --bg-darkest: #0a0a0a;
  --bg-dark: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text: #f0f0f0;
  --text-muted: #a0a0a0;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-darkest);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
}

/* ===== NAV ===== */
.navbar {
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 222, 128, 0.1);
  padding: 0.75rem 0;
}

.navbar-brand.brand-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.5px;
}

.nav-link {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0.4rem 0.8rem !important;
}

.nav-link:hover,
.nav-link.active-nav { color: var(--green) !important; }

/* ===== BRANDING ===== */
.brace { color: var(--green); font-weight: 900; }
.slash { color: var(--green); font-weight: 300; margin: 0 1px; }
.et { color: var(--green); }

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  background: radial-gradient(ellipse at center top, #0d2018 0%, var(--bg-darkest) 65%);
  padding-top: 80px;
}

.logo-icon {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.brand-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  margin-top: 0.5rem;
}

.hero-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 0.95rem;
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline-green:hover {
  background-color: var(--green);
  color: #0a0a0a;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section-dark    { background-color: var(--bg-dark); }
.section-darker  { background-color: var(--bg-darkest); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--green);
  margin-top: 8px;
  border-radius: 2px;
}

.text-center .section-title::after { margin-left: auto; margin-right: auto; }

.text-muted-custom {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 16px 48px rgba(74, 222, 128, 0.08);
}

.pricing-card--featured {
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.15);
}

.pricing-badge {
  background: var(--green);
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
}

.pricing-body {
  padding: 1.5rem 1.5rem 1rem;
  flex: 1;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li i {
  color: var(--green);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.pricing-footer {
  padding: 1rem 1.5rem 1.5rem;
}

/* ===== PRICING INFOBAR ===== */
.pricing-infobar {
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
  border-right: 1px solid rgba(74, 222, 128, 0.1);
}

.pricing-info-item:last-child { border-right: none; }

.pricing-info-item i {
  font-size: 1.4rem;
  color: var(--green);
  flex-shrink: 0;
}

.pricing-info-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.pricing-info-item strong {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 700;
}

.pricing-info-item span {
  font-size: 0.78rem;
  color: var(--green);
}

/* ===== PROJECT LINK ===== */
.project-link {
  text-decoration: none;
  display: block;
}

/* ===== PROJECT CARDS ===== */
.project-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, border-color 0.25s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.3);
}

.project-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  gap: 8px;
}

.project-placeholder i { color: var(--green); font-size: 1.3rem; }

.project-screenshot {
  height: 200px;
  overflow: hidden;
  background: #1a1a1a;
}

.project-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.project-link:hover .project-screenshot img {
  transform: scale(1.04);
}

.project-info {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}

.project-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.project-tag {
  font-size: 0.75rem;
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 2px 10px;
  border-radius: 20px;
}

/* ===== ABOUT ===== */
.avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card), #222);
  border: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--green);
  flex-shrink: 0;
}

.skills-list { display: flex; flex-wrap: wrap; gap: 8px; }

.skill-tag {
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-inline:hover { color: var(--green); }
.contact-inline i { color: var(--green); }

/* ===== CONTACT FORM ===== */
.form-control-dark {
  background-color: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-dark::placeholder { color: var(--text-muted); }

.form-control-dark:focus {
  background-color: #1f1f1f;
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
  outline: none;
}

select.form-control-dark option {
  background: #1a1a1a;
  color: #fff;
}

/* ===== BUTTONS ===== */
.btn-green {
  background-color: var(--green);
  color: #0a0a0a;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 0.95rem;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-green:hover {
  background-color: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.25);
}

.btn-green:active { transform: translateY(0); }

/* ===== ALERTS ===== */
.alert-success-custom {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.alert-error-custom {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer-dark {
  background-color: #080808;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.text-muted-footer { color: rgba(255,255,255,0.25); font-size: 0.8rem; }
.text-green { color: var(--green) !important; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-section .logo-icon    { animation: fadeUp 0.5s 0.0s ease forwards; }
.hero-section .brand-title  { animation: fadeUp 0.5s 0.1s ease forwards; }
.hero-section .hero-subtitle{ animation: fadeUp 0.5s 0.2s ease forwards; }
.hero-section .hero-tagline { animation: fadeUp 0.5s 0.3s ease forwards; }
.hero-section .d-flex       { animation: fadeUp 0.5s 0.4s ease forwards; }

/* ===== PROCESSUS ===== */
.process-step {
  background: var(--bg-card);
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s;
}

.process-step:hover {
  border-color: rgba(74, 222, 128, 0.35);
  transform: translateY(-4px);
}

.process-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(74, 222, 128, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: monospace;
}

.process-icon {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(74, 222, 128, 0.1) !important;
  border-radius: 10px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-btn {
  background: transparent !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 1.25rem;
  box-shadow: none !important;
}

.faq-btn::after {
  filter: invert(1) sepia(1) saturate(3) hue-rotate(95deg);
}

.faq-btn:not(.collapsed) {
  color: var(--green) !important;
}

.faq-body {
  color: var(--text-muted);
  background: transparent;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-body strong {
  color: var(--green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section { padding-top: 90px; }
  .about-flex { flex-direction: column; align-items: center; text-align: center; }
  .skills-list { justify-content: center; }
  .section-title::after { margin-left: auto; margin-right: auto; }
  .pricing-info-item { border-right: none; border-bottom: 1px solid rgba(74, 222, 128, 0.1); }
  .pricing-info-item:last-child { border-bottom: none; }
}
