/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #4361ee;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #3a0ca3;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: #4361ee;
  color: #fff;
  border-color: #4361ee;
}

.btn-primary:hover {
  background: #3a0ca3;
  border-color: #3a0ca3;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #4361ee;
  border-color: #4361ee;
}

.btn-outline:hover {
  background: #4361ee;
  color: #fff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo:hover {
  color: #1a1a2e;
}

.logo-icon {
  color: #4361ee;
  font-size: 1.2rem;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  color: #555;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: #4361ee;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1a1a2e;
}

.header-cta {
  font-size: 0.88rem;
  padding: 10px 22px;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #666;
  font-weight: 500;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.mockup-bar {
  background: #f3f4f6;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.mockup-body {
  padding: 20px;
}

.mockup-header-block {
  height: 40px;
  background: linear-gradient(135deg, #4361ee, #7c3aed);
  border-radius: 8px;
  margin-bottom: 16px;
}

.mockup-content-row {
  display: flex;
  gap: 16px;
}

.mockup-sidebar {
  width: 30%;
  height: 160px;
  background: #f3f4f6;
  border-radius: 8px;
}

.mockup-main {
  flex: 1;
}

.mockup-line {
  height: 10px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 10px;
}

.w80 { width: 80%; }
.w60 { width: 60%; }
.w90 { width: 90%; }

.mockup-cards {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.mockup-card {
  flex: 1;
  height: 60px;
  background: linear-gradient(135deg, #f0f4ff, #e8ecff);
  border-radius: 6px;
}

/* ===== SECTIONS (shared) ===== */
.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #f8f9ff;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(67,97,238,0.1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.service-card p {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.65;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #4361ee;
  box-shadow: 0 12px 40px rgba(67,97,238,0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #4361ee;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a2e;
}

.pricing-period {
  font-size: 0.88rem;
  color: #999;
  margin-bottom: 16px;
}

.pricing-desc {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: #444;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: #888;
}

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #4361ee;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.process-step p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.portfolio-thumb {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e5e7eb;
}

.portfolio-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.portfolio-mockup {
  border-radius: 0;
  overflow: hidden;
}

.portfolio-label {
  background: #fff;
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
}

.portfolio-label strong {
  display: block;
  font-size: 1rem;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.portfolio-label span {
  font-size: 0.82rem;
  color: #888;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  color: #1a1a2e;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: #999;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 0;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.7;
}

.faq-answer a {
  color: #4361ee;
  text-decoration: underline;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 0;
}

.form-group:not(.form-row .form-group) {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67,97,238,0.1);
}

.form-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #999;
  text-align: center;
}

.form-note a {
  color: #4361ee;
  text-decoration: underline;
}

.contact-info {
  padding-top: 20px;
}

.contact-info-item {
  margin-bottom: 28px;
}

.contact-info-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.6;
}

.contact-info-item a {
  color: #4361ee;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer .logo-icon {
  color: #7c8cf5;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #aaa;
  max-width: 280px;
}

.footer-legal-entity {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #888;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #aaa;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: #777;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 24px;
  }

  .nav.nav-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .pricing-amount {
    font-size: 2.2rem;
  }

  .contact-form {
    padding: 24px;
  }
}
