/* ===== Reset & Base — Neumorphism ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #e8ecf1;
  --bg-alt: #dde3eb;
  --text: #2d3436;
  --text-muted: #636e72;
  --accent: #6c5ce7;
  --accent-soft: #a29bfe;
  --accent-dark: #5649c0;
  --success: #00b894;
  --shadow-light: #ffffff;
  --shadow-dark: #c5cdd8;
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Neumorphic shadows */
  --neu-out: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  --neu-out-sm: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
  --neu-in: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
  --neu-in-sm: inset 3px 3px 8px var(--shadow-dark), inset -3px -3px 8px var(--shadow-light);
  --neu-hover: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
  --neu-pressed: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Neumorphic utilities ===== */
.neu-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--neu-out);
  border: none;
}

.neu-soft {
  background: var(--bg);
  border-radius: 50px;
  box-shadow: var(--neu-out-sm);
}

.neu-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-out-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.neu-icon .material-icons-round {
  font-size: 26px;
}

.neu-inset {
  background: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-in);
  outline: none;
}

.neu-btn {
  box-shadow: var(--neu-out-sm);
  transition: all 0.2s ease;
}

.neu-btn:hover {
  box-shadow: var(--neu-hover);
}

.neu-btn:active {
  box-shadow: var(--neu-pressed);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(232, 236, 241, 0.9);
  backdrop-filter: blur(12px);
  padding: 8px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  color: var(--accent);
  font-size: 28px !important;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--bg);
  box-shadow: var(--neu-out-sm);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.menu-toggle .material-icons-round {
  font-size: 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn .material-icons-round {
  font-size: 20px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 6px 6px 14px rgba(108, 92, 231, 0.35), -4px -4px 10px var(--shadow-light);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 8px 8px 20px rgba(108, 92, 231, 0.4), -4px -4px 12px var(--shadow-light);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: inset 3px 3px 8px rgba(0,0,0,0.2);
}

.btn-outline {
  background: var(--bg);
  color: var(--text);
}

.btn-outline:hover {
  color: var(--accent);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--bg);
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge .material-icons-round {
  font-size: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
}

.stat .material-icons-round {
  font-size: 28px;
  color: var(--accent);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

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

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-alt .neu-card,
.section-alt .neu-icon,
.section-alt .neu-soft,
.section-alt .neu-inset,
.section-alt .btn-outline {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label .material-icons-round {
  font-size: 18px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 36px 28px;
  transition: all 0.25s ease;
}

.service-card:hover {
  box-shadow: var(--neu-hover);
  transform: translateY(-4px);
}

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}

.price-card:hover {
  box-shadow: var(--neu-hover);
  transform: translateY(-4px);
}

.price-card.featured {
  box-shadow: var(--neu-out), 0 0 0 2px var(--accent);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 10px rgba(108, 92, 231, 0.3);
}

.price-icon {
  margin: 0 auto 16px;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-card li .material-icons-round {
  font-size: 20px;
  color: var(--success);
}

/* ===== Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  padding: 8px;
  transition: all 0.25s ease;
}

.portfolio-item:hover {
  box-shadow: var(--neu-hover);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  transition: transform 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-overlay {
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(to top, rgba(45, 52, 54, 0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .material-icons-round {
  font-size: 20px;
}

.portfolio-overlay span:last-child {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Referral ===== */
.referral-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.referral-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin: 48px 0 40px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  transition: all 0.25s ease;
}

.step:hover {
  box-shadow: var(--neu-hover);
  transform: translateY(-4px);
}

.step-num {
  margin: 0 auto 16px;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
}

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

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group label .material-icons-round {
  font-size: 18px;
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: var(--neu-in), 0 0 0 2px rgba(108, 92, 231, 0.25);
}

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

.contact-info {
  padding: 36px 32px;
}

.contact-info-icon {
  margin-bottom: 16px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.info-item > .material-icons-round {
  font-size: 22px;
  color: var(--accent);
  margin-top: 2px;
}

.info-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 2px;
}

.info-item a,
.info-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-item a:hover {
  color: var(--accent);
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0 48px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 32px;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 16px;
    right: 16px;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    border-radius: var(--radius);
    box-shadow: var(--neu-out);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 64px 0;
  }

  .price {
    font-size: 2.2rem;
  }

  .stat {
    width: 100%;
  }
}