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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #0a0e1a;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===========================
   VARIABLES
=========================== */
:root {
  --blue:       #3b82f6;
  --blue-dark:  #2563eb;
  --blue-glow:  rgba(59,130,246,0.25);
  --accent:     #06b6d4;
  --bg:         #0a0e1a;
  --bg-card:    #111827;
  --bg-card2:   #1a2235;
  --border:     rgba(255,255,255,0.07);
  --text:       #e2e8f0;
  --muted:      #94a3b8;
  --radius:     14px;
  --shadow:     0 4px 40px rgba(0,0,0,0.4);
}

/* ===========================
   CONTAINER
=========================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 24px var(--blue-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.5);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ===========================
   SECTION SHARED
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--blue);
  font-size: 16px;
}

.logo-accent { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px var(--blue-glow);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
}

.hero-bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.shape-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; left: -200px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: 10%; right: -100px;
}

.shape-3 {
  width: 300px; height: 300px;
  background: #8b5cf6;
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
}

.hero-content { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { text-align: left; }

.stat-number {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Browser Mockup */
.hero-visual {
  flex: 0 0 440px;
  max-width: 440px;
}

.browser-mockup {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.browser-bar {
  background: #1e2a3d;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.browser-dots { display: flex; gap: 6px; }

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: monospace;
}

.browser-body { padding: 20px; }

.mock-header {
  height: 36px;
  background: linear-gradient(90deg, var(--blue-dark), var(--accent));
  border-radius: 8px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.mock-hero-block {
  height: 120px;
  background: rgba(59,130,246,0.1);
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(59,130,246,0.15);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mock-card {
  height: 64px;
  background: var(--bg-card2);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mock-text-lines { display: flex; flex-direction: column; gap: 8px; }

.mock-line {
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}

.mock-line.long   { width: 100%; }
.mock-line.medium { width: 72%; }
.mock-line.short  { width: 48%; }

/* ===========================
   SERVICES
=========================== */
.services {
  padding: 100px 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(59,130,246,0.1);
}

.service-card.featured {
  border-color: rgba(59,130,246,0.4);
  background: linear-gradient(160deg, #111f3a 0%, var(--bg-card) 100%);
  box-shadow: 0 0 40px rgba(59,130,246,0.1);
}

.service-icon {
  font-size: 36px;
  line-height: 1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  flex: 1;
}

.service-features li {
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  gap: 8px;
}

.service-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

/* ===========================
   PRICING
=========================== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.03) 50%, transparent 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.pricing-card.highlight {
  border-color: var(--blue);
  background: linear-gradient(160deg, #0f2040 0%, var(--bg-card) 100%);
  box-shadow: 0 0 60px rgba(59,130,246,0.15);
  transform: scale(1.04);
}

.pricing-card.highlight:hover { transform: scale(1.04) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-range {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-from {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
}

.price-sep {
  font-size: 20px;
  color: var(--muted);
}

.price-to {
  font-size: 38px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.price-period-label {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  margin-left: -4px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-note {
  font-size: 12px;
  color: #64748b;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 10px 14px;
  border-left: 3px solid var(--blue-dark);
  line-height: 1.5;
}

/* ===========================
   WHY US
=========================== */
.why-us {
  padding: 100px 0;
}

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

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.25);
}

.why-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.why-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===========================
   PROCESS
=========================== */
.process {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.03), transparent);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(59,130,246,0.2);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 24px;
  color: rgba(59,130,246,0.3);
  padding-top: 20px;
  flex-shrink: 0;
}

/* ===========================
   CONTACT
=========================== */
.contact {
  padding: 100px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info { padding-top: 10px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.contact-icon { font-size: 18px; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--muted);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #475569;
}

.form-group select option {
  background: #1e293b;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* Inline validation error banner — shown above submit button */
.form-error-banner {
  display: none;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #fca5a5;
  line-height: 1.5;
}

.form-disclaimer {
  font-size: 12px;
  color: #475569;
  text-align: center;
  margin-top: -6px;
}

/* ===========================
   PORTFOLIO
=========================== */
.portfolio {
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Mini website preview mockup */
.portfolio-preview {
  height: 180px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.barbershop { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.plumbing   { background: linear-gradient(135deg, #0f2027 0%, #203a43 100%); }
.autoparts  { background: linear-gradient(135deg, #1a0a00 0%, #2d1500 100%); }

.preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  padding: 5px 8px;
}

.preview-logo-dot {
  width: 40px; height: 7px;
  background: rgba(255,255,255,0.4);
  border-radius: 3px;
}

.preview-nav-links {
  display: flex;
  gap: 6px;
}

.preview-nav-links span {
  display: block;
  width: 22px; height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.preview-hero {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
}

.preview-badge {
  width: 50px; height: 6px;
  border-radius: 3px;
  background: rgba(59,130,246,0.6);
}

.preview-h1 {
  width: 85%; height: 9px;
  background: rgba(255,255,255,0.7);
  border-radius: 3px;
}

.preview-h2 {
  width: 65%; height: 7px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.preview-btn {
  width: 50px; height: 12px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 4px;
  margin-top: 2px;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.preview-card {
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Barbershop accent colors */
.barbershop .preview-badge { background: rgba(168,85,247,0.7); }
.barbershop .preview-btn   { background: linear-gradient(90deg, #7c3aed, #a855f7); }

/* Plumbing accent colors */
.plumbing .preview-badge { background: rgba(6,182,212,0.7); }
.plumbing .preview-btn   { background: linear-gradient(90deg, #0891b2, #06b6d4); }

/* Auto parts accent colors */
.autoparts .preview-badge { background: rgba(245,158,11,0.7); }
.autoparts .preview-btn   { background: linear-gradient(90deg, #d97706, #f59e0b); }

.portfolio-info {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(59,130,246,0.1);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.portfolio-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.portfolio-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.portfolio-features span {
  font-size: 12px;
  color: #4ade80;
  font-weight: 500;
}

.portfolio-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.portfolio-cta p {
  font-size: 16px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 48px; }
}

/* ===========================
   PAY INVOICE
=========================== */
.pay-invoice {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.03), transparent);
}

.pay-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pay-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.pay-feature {
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-card {
  background: var(--bg-card);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 0 60px rgba(59,130,246,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pay-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pay-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.pay-powered {
  font-size: 12px;
  color: var(--muted);
}

.pay-amount-note {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.pay-btn {
  font-size: 16px;
  padding: 16px;
}

.pay-disclaimer {
  font-size: 12px;
  color: #475569;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .pay-wrapper { grid-template-columns: 1fr; }
  .pay-info .section-title,
  .pay-info .section-subtitle { text-align: center !important; }
  .pay-features { align-items: center; }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #070b14;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

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

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: #475569;
}

/* ===========================
   TOAST NOTIFICATION
=========================== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1e293b;
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 340px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-title {
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 4px;
}

/* ===========================
   RESPONSIVE
   Breakpoints:
     1024px — tablet landscape / small desktop
     768px  — tablet portrait / large phone
     480px  — phone (most iPhones)
     360px  — small Android phones
=========================== */

/* ── Tablet landscape & iPad Pro (≤1024px) ── */
@media (max-width: 1024px) {

  /* Hero — stack vertically */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 110px 24px 60px;
    gap: 40px;
    overflow-x: hidden;
  }
  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .hero-subtitle { text-align: center; max-width: 100%; word-break: break-word; overflow-wrap: break-word; }
  .hero-visual   { flex: none; max-width: 500px; width: 100%; }
  .hero-stats    { justify-content: center; }

  /* Grids → single column */
  .services-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  /* Pricing highlight — remove scale on tablet */
  .pricing-card.highlight       { transform: none; }
  .pricing-card.highlight:hover { transform: translateY(-4px); }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info .section-title,
  .contact-info .section-subtitle { text-align: center !important; }
  .contact-details  { align-items: center; }
  .trust-badges     { justify-content: center; }

  /* Pay invoice */
  .pay-wrapper { grid-template-columns: 1fr; }
  .pay-info .section-title,
  .pay-info .section-subtitle { text-align: center !important; }
  .pay-features { align-items: center; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  /* Section padding */
  .services, .pricing, .why-us, .process,
  .contact, .pay-invoice, .portfolio { padding: 70px 0; }
}

/* ── Tablet portrait & large phones (≤768px) ── */
@media (max-width: 768px) {

  /* Nav — hamburger menu */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a    { font-size: 18px; }
  .hamburger      { display: flex; }

  /* Hero */
  .hero         { padding: 100px 16px 50px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; }
  .hero-stats   { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .stat-number  { font-size: 20px; }

  /* Grids → single column */
  .why-grid      { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 40px; }

  /* Process steps — vertical */
  .process-steps  { flex-direction: column; align-items: center; }
  .step           { max-width: 100%; }
  .step-arrow     { transform: rotate(90deg); padding: 0; font-size: 20px; }

  /* Contact form */
  .form-row               { grid-template-columns: 1fr; }
  .contact-form-wrapper   { padding: 24px 20px; }

  /* Pay card */
  .pay-card { padding: 24px 20px; }

  /* Footer */
  .footer-top    { flex-direction: column; gap: 28px; }
  .footer-links  { gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Section padding */
  .services, .pricing, .why-us, .process,
  .contact, .pay-invoice, .portfolio { padding: 56px 0; }

  /* Section headers */
  .section-header  { margin-bottom: 36px; }
  .section-subtitle { font-size: 15px; }
}

/* ── iPhone & most phones (≤480px) ── */
@media (max-width: 480px) {

  /* Global container */
  .container { padding: 0 16px; }

  /* Navbar */
  .navbar       { padding: 14px 0; }
  .logo         { font-size: 17px; }

  /* Hero */
  .hero         { padding: 90px 16px 44px; gap: 32px; }
  .hero-badge   { font-size: 11px; }
  .hero-subtitle { font-size: 15px; }
  .hero-stats   { gap: 12px; }
  .stat-number  { font-size: 18px; }
  .stat-label   { font-size: 11px; }
  .stat-divider { height: 28px; }

  /* Browser mockup — shorter on phone */
  .browser-body { padding: 12px; }
  .mock-hero-block { height: 80px; }

  /* Section headings */
  .section-title  { font-size: 26px; }
  .section-badge  { font-size: 11px; padding: 5px 14px; }

  /* Service / pricing / why cards */
  .service-card,
  .pricing-card,
  .why-card { padding: 24px 20px; }
  .service-price  { font-size: 22px; }
  .price-from,
  .price-to       { font-size: 30px; }

  /* Process */
  .step-number   { font-size: 36px; }
  .step-content h4 { font-size: 15px; }

  /* Portfolio */
  .portfolio-preview { height: 150px; }
  .portfolio-info    { padding: 18px 18px 20px; }
  .portfolio-info h3 { font-size: 15px; }

  /* Contact */
  .contact-form-wrapper { padding: 20px 16px; border-radius: 14px; }
  .form-group label     { font-size: 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea  { padding: 12px 14px; font-size: 14px; }
  .btn-full             { padding: 14px; font-size: 14px; }

  /* Pay invoice */
  .pay-card       { padding: 20px 16px; border-radius: 14px; }
  .pay-card-title { font-size: 14px; }
  .pay-btn        { font-size: 14px; padding: 14px; }

  /* Footer */
  .footer         { padding: 44px 0 24px; }
  .footer-brand p { font-size: 13px; }
  .footer-col h5  { font-size: 12px; }
  .footer-col li a { font-size: 13px; }
  .footer-bottom p { font-size: 12px; }

  /* Sections */
  .services, .pricing, .why-us, .process,
  .contact, .pay-invoice, .portfolio { padding: 48px 0; }
}

/* ── Very small phones (≤360px) ── */
@media (max-width: 360px) {
  .hero-title    { font-size: 28px; }
  .hero-stats    { flex-direction: column; align-items: center; gap: 8px; }
  .stat-divider  { display: none; }
  .price-from,
  .price-to      { font-size: 26px; }
  .contact-form-wrapper { padding: 16px 12px; }
}
