/* ============================================================
   DumaWeb — Main Stylesheet
   Cheetah-inspired: Fast, Clean, Professional
   ============================================================ */

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

:root {
  --gold:        #F5A623;
  --gold-dark:   #E09415;
  --gold-light:  #FFF8E7;
  --dark:        #0A0A0A;
  --dark-2:      #1A1A1A;
  --dark-3:      #2D2D2D;
  --text:        #1E1E1E;
  --text-2:      #555555;
  --text-3:      #888888;
  --bg:          #FFFFFF;
  --bg-alt:      #F8F8F5;
  --border:      #E8E8E2;
  --green:       #16a34a;
  --red:         #dc2626;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 32px rgba(0,0,0,.12);
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Arial, sans-serif;
  --transition:  .2s cubic-bezier(.4,0,.2,1);
  --max-w:       1160px;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding-inline: 20px;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover { background: var(--gold-dark); box-shadow: 0 6px 20px rgba(245,166,35,.35); }

.btn-outline {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: var(--dark-3); box-shadow: var(--shadow); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.nav-logo .accent { color: var(--gold); }
.nav-logo .white  { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 6px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  padding: 20px;
  gap: 4px;
}
.nav-mobile a {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: block;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .btn { margin-top: 12px; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile.open { display: flex; }
}

/* --- Hero ------------------------------------------------- */
.hero {
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Cheetah speed lines — pure CSS, no images */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 42%, rgba(245,166,35,.03) 42%, rgba(245,166,35,.03) 44%, transparent 44%),
    linear-gradient(105deg, transparent 52%, rgba(245,166,35,.025) 52%, rgba(245,166,35,.025) 53%, transparent 53%),
    linear-gradient(105deg, transparent 63%, rgba(245,166,35,.02) 63%, rgba(245,166,35,.02) 64%, transparent 64%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: #fff;
  max-width: 820px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.6);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}
.hero-stat-num span { color: var(--gold); }
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
  font-weight: 500;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-dot {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 5px; opacity: 1; }
  50%       { top: 16px; opacity: .3; }
}

/* --- Section Layout --------------------------------------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,.55); }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-inline: auto; }

/* --- About ------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-visual {
  position: relative;
}
.about-card-main {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-card-main::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(245,166,35,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.about-years {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.05em;
  line-height: 1;
}
.about-years-label {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.about-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}
.about-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.mini-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.mini-card-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}
.mini-card-num span { color: var(--gold); }
.mini-card-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.about-text p { color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.about-text p:last-of-type { margin-bottom: 28px; }

/* --- Why DumaWeb ------------------------------------------ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.why-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,166,35,.06), var(--shadow);
  transform: translateY(-3px);
}
.why-icon {
  width: 48px; height: 48px;
  background: var(--gold-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* --- Packages --------------------------------------------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  align-items: start;
}

.pkg-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,166,35,.08), var(--shadow-lg);
}

.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pkg-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.pkg-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 6px;
}
.pkg-price sup { font-size: 1rem; vertical-align: super; font-weight: 700; }
.pkg-deposit {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.pkg-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 42px;
}

.pkg-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.pkg-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pkg-skeleton {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.skeleton-line {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
  height: 14px;
  margin-bottom: 10px;
}
.skeleton-line.tall  { height: 42px; }
.skeleton-line.short { width: 60%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- How It Works ----------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 34px; left: 50px;
  right: 50px; height: 2px;
  background: repeating-linear-gradient(to right, var(--border) 0, var(--border) 12px, transparent 12px, transparent 24px);
}
.step-card { text-align: center; position: relative; }
.step-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--dark);
  border: 3px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* --- Trust Bar -------------------------------------------- */
.trust-bar {
  background: var(--dark);
  padding: 24px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  font-weight: 500;
}
.trust-item span { font-size: 20px; }

/* --- CTA Banner ------------------------------------------- */
.cta-banner {
  background: var(--gold);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(10,10,10,.65);
  margin-bottom: 36px;
  max-width: 480px;
  margin-inline: auto;
}

/* --- Contact / Order Section ------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 { font-size: 1.4rem; margin-bottom: 12px; }
.contact-info p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.contact-detail {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
}
.contact-detail span { font-size: 18px; }

/* --- Forms ------------------------------------------------ */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-label .req { color: var(--gold); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,.12);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--red);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-error { font-size: 12px; color: var(--red); }
.form-hint  { font-size: 12px; color: var(--text-3); }

/* --- Alert / Flash ---------------------------------------- */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info    { background: var(--gold-light); border: 1px solid rgba(245,166,35,.3); color: #92400e; }
.alert-icon    { font-size: 18px; flex-shrink: 0; }

/* --- Status Badge ----------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.status-pending            { background: #fef3c7; color: #92400e; }
.status-payment_pending    { background: #fef3c7; color: #92400e; }
.status-order_received     { background: #dbeafe; color: #1e40af; }
.status-planning_started   { background: #ede9fe; color: #5b21b6; }
.status-design_in_progress { background: #fce7f3; color: #9d174d; }
.status-development        { background: #d1fae5; color: #065f46; }
.status-review_ready       { background: #ffedd5; color: #9a3412; }
.status-final_payment_required { background: #fef3c7; color: #92400e; }
.status-website_completed  { background: #d1fae5; color: #065f46; }
.status-delivered          { background: #0A0A0A; color: #fff; }

/* Progress timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -24px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
}
.timeline-dot.active  { background: var(--gold); }
.timeline-dot.done    { background: var(--green); }
.timeline-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.timeline-msg   { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.timeline-time  { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { }
.footer-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
.footer-logo .accent { color: var(--gold); }
.footer-logo .white  { color: #fff; }
.footer-tagline { font-size: 13px; line-height: 1.6; max-width: 240px; }

.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Loading / Spinner ------------------------------------ */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Utility ---------------------------------------------- */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mt-auto  { margin-top: auto; }
.hidden   { display: none !important; }
.sr-only  { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Fade-in on scroll ------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-content { padding: 60px 0 80px; }
  .hero-stats { gap: 28px; }
  .steps-grid::before { display: none; }
  .packages-grid { grid-template-columns: 1fr; }
}
