/* ================================================================
   AutoAgentPro — style.css
   Dark-themed, mobile-first, responsive portfolio
   ================================================================ */

/* ── 1. CSS Custom Properties ──────────────────────────────────── */
:root {
  --bg-primary:   #0A0A0A;
  --bg-card:      #111111;
  --bg-card-alt:  #1A1A1A;
  --accent-cyan:  #00C8FF;
  --accent-purple:#7B2FFF;
  --text-primary: #FFFFFF;
  --text-muted:   #A0A0A0;
  --gradient:     linear-gradient(135deg, #00C8FF, #7B2FFF);
  --gradient-rev: linear-gradient(135deg, #7B2FFF, #00C8FF);
  --glow-cyan:    0 0 20px rgba(0, 200, 255, 0.15);
  --glow-purple:  0 0 20px rgba(123, 47, 255, 0.15);
  --border:       rgba(255, 255, 255, 0.07);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --nav-h:        70px;
}

/* ── 2. Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* ── 4. Utilities ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 100px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── 5. Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.25);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 200, 255, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--accent-cyan);
  color: var(--accent-cyan);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(0, 200, 255, 0.08);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

.btn-full { width: 100%; justify-content: center; }

/* ── 6. Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 7. Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  animation: fadeDown 0.7s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 200, 255, 0.3);
  background: rgba(0, 200, 255, 0.06);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease infinite;
}

/* ── 8. Services ────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover {
  box-shadow: var(--glow-cyan);
  border-color: rgba(0, 200, 255, 0.25);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(0, 200, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.card-icon--purple { background: rgba(123, 47, 255, 0.1); color: var(--accent-purple); }
.card-icon--cyan   { background: rgba(0, 200, 255, 0.1);  color: var(--accent-cyan); }
.card-icon--gradient {
  background: var(--gradient);
  color: #fff;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.card-features i { color: var(--accent-cyan); font-size: 0.75rem; }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap var(--transition), color var(--transition);
}

.card-cta:hover { gap: 0.75rem; }

/* ── 9. About ───────────────────────────────────────────────────── */
.about-section { background: var(--bg-card); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-placeholder {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 3px solid rgba(0, 200, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--text-muted);
}

.avatar-ring {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 264px;
  height: 264px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 200, 255, 0.2);
  animation: spinSlow 20s linear infinite;
}

.avatar-badge {
  position: absolute;
  bottom: 0;
  right: 20%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.about-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 1rem 0 2rem;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-left: -3px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-badge {
  padding: 0.35rem 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.skill-badge:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

/* ── 10. How It Works ───────────────────────────────────────────── */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  max-width: 280px;
  flex: 1 1 220px;
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
  border-color: rgba(123, 47, 255, 0.25);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gradient);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin: 0 auto 1.25rem;
}

.step-icon--purple { background: rgba(123, 47, 255, 0.1); color: var(--accent-purple); }
.step-icon--gradient { background: var(--gradient); color: #fff; }

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-card p { color: var(--text-muted); font-size: 0.9rem; }

.step-connector {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-top: 2.5rem;
  flex-shrink: 0;
}

/* ── 11. Templates ──────────────────────────────────────────────── */
.templates-section { background: var(--bg-card); }

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.template-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.template-card:hover {
  box-shadow: var(--glow-cyan);
  border-color: rgba(0, 200, 255, 0.25);
  transform: translateY(-4px);
}

.featured-template {
  border-color: rgba(0, 200, 255, 0.35);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.08);
}

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.template-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(0, 200, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.template-icon--purple { background: rgba(123, 47, 255, 0.1); color: var(--accent-purple); }
.template-icon--cyan   { background: rgba(0, 200, 255, 0.1);  color: var(--accent-cyan); }

.template-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.template-badge--free {
  background: rgba(0, 200, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 200, 255, 0.25);
}

.template-badge--paid {
  background: rgba(123, 47, 255, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(123, 47, 255, 0.25);
}

.template-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.template-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.template-tags span {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.template-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.template-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.price-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── 12. Testimonials ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.testimonial-card:hover {
  box-shadow: var(--glow-purple);
  border-color: rgba(123, 47, 255, 0.25);
  transform: translateY(-3px);
}

.testimonial-stars { color: #F5A623; font-size: 0.9rem; display: flex; gap: 0.2rem; }

.testimonial-card blockquote p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── 13. FAQ ────────────────────────────────────────────────────── */
.faq-section { background: var(--bg-card); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(0, 200, 255, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent-cyan); }

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform var(--transition), color var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  padding: 0 1.4rem 1.2rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.2s ease;
}

.faq-answer:not([hidden]) {
  max-height: 300px;
  padding-bottom: 1.4rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── 14. Contact ────────────────────────────────────────────────── */
.contact-section { background: var(--bg-primary); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro {
  color: var(--text-muted);
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(0, 200, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.contact-icon--blue   { background: rgba(0, 136, 204, 0.12); color: #29b6f6; }
.contact-icon--purple { background: rgba(123, 47, 255, 0.1); color: var(--accent-purple); }

.contact-details strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.contact-details a,
.contact-details span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-details a:hover { color: var(--accent-cyan); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.72rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group select {
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23A0A0A0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option { background: var(--bg-card-alt); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(160,160,160,0.5); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.1);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid { border-color: #ff5757; }

.form-group textarea { resize: vertical; min-height: 110px; }

.field-error {
  font-size: 0.78rem;
  color: #ff5757;
  min-height: 1em;
}

.form-feedback {
  border-radius: var(--radius);
  padding: 0;
  font-size: 0.92rem;
  text-align: center;
  transition: all var(--transition);
}

.form-feedback.success {
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--accent-cyan);
  padding: 0.85rem 1.25rem;
}

.form-feedback.error {
  background: rgba(255, 87, 87, 0.08);
  border: 1px solid rgba(255, 87, 87, 0.3);
  color: #ff5757;
  padding: 0.85rem 1.25rem;
}

/* ── 15. Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 0.9rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.footer-bottom {
  text-align: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── 16. Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spinSlow {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* AOS fallback: simple appear on scroll */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }

/* ── 17. Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner   { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .step-connector { display: none; }
  .steps-row { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { padding: 0.9rem 1.5rem; font-size: 1rem; }
  .hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .footer-links  { gap: 1rem; }

  .stats-row { justify-content: center; }
  .skills-grid { justify-content: center; }
}

@media (max-width: 480px) {
  :root { --nav-h: 60px; }
  .section { padding: 4rem 0; }
  .hero-badges { flex-direction: column; align-items: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .services-grid, .templates-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper { padding: 1.25rem; }
}
