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

:root {
  --bg: #080808;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --text: #f0f0f0;
  --text-muted: #888;
  --accent: #6c63ff;
  --accent-2: #a78bfa;
  --green: #22d3a5;
  --radius: 16px;
  --font: 'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.nav-links a:hover { color: var(--text); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(108,99,255,0.3);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(108,99,255,0.5);
}

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.full-width { width: 100%; text-align: center; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 60px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; left: -100px;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--green);
  bottom: -150px; right: -100px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-2);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero-scroll span {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== STATS ===== */
.stats {
  padding: 0 60px;
  margin-bottom: 120px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 60px;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== WORK ===== */
.work {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108,99,255,0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(108,99,255,0.1);
}

.work-preview {
  padding: 16px;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.work-preview.barbershop { background: linear-gradient(135deg, #1a1025, #0d1a2e); }
.work-preview.restaurant { background: linear-gradient(135deg, #1a1010, #1a150a); }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.4);
  border-radius: 8px 8px 0 0;
  padding: 8px 12px;
  margin-bottom: 0;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.browser-url {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-left: 8px;
  font-family: monospace;
}

.preview-content {
  background: rgba(0,0,0,0.3);
  border-radius: 0 0 8px 8px;
  padding: 16px;
  height: calc(100% - 36px);
}

.preview-hero-block {
  margin-bottom: 16px;
}

.preview-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 8px;
}

.preview-line.wide { width: 70%; }
.preview-line.med { width: 45%; }

.preview-btn-block {
  width: 80px; height: 22px;
  border-radius: 11px;
  background: rgba(108,99,255,0.4);
  margin-top: 12px;
}

.preview-cards {
  display: flex;
  gap: 8px;
}

.preview-card {
  flex: 1;
  height: 60px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.05);
}

.work-info {
  padding: 28px;
}

.work-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.work-info p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.work-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.work-link:hover { color: var(--accent); }

/* ===== SERVICES ===== */
.services {
  padding: 120px 60px;
  background: var(--bg-2);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,99,255,0.3);
}

.service-card.featured {
  border-color: rgba(108,99,255,0.4);
  background: linear-gradient(135deg, rgba(108,99,255,0.05), var(--bg-3));
  box-shadow: 0 0 60px rgba(108,99,255,0.08);
}

.service-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 24px;
  line-height: 1;
}

.service-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.service-card ul {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

/* ===== WHY ===== */
.why {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin: 16px 0 24px;
  letter-spacing: -0.02em;
}

.why-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.why-text .btn-primary { margin-top: 16px; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.why-card:hover {
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-4px);
}

.why-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.why-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 60px;
  background: var(--bg-2);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}

.contact-text > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.contact-item:hover { color: var(--text); }

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

.contact-form {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(108,99,255,0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 60px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-sub {
  font-size: 13px;
  color: rgba(108,99,255,0.6);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 20px 30px; }
  .hero { padding: 120px 30px 80px; }
  .stats { padding: 0 30px; }
  .stats-inner { flex-direction: column; gap: 30px; padding: 40px; }
  .stat-divider { width: 60px; height: 1px; }
  .work { padding: 80px 30px; }
  .work-grid { grid-template-columns: 1fr; }
  .services { padding: 80px 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .why { padding: 80px 30px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact { padding: 80px 30px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding: 40px 30px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
