:root {
  --sun: #ffe566;
  --coral: #ff6b4a;
  --coral-deep: #ff3d6e;
  --aqua: #2ec4b6;
  --ink: #1a2340;
  --muted: #55627f;
  --cream: #fff8ef;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 20px 50px rgba(255, 92, 138, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 107, 74, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(46, 196, 182, 0.2), transparent 50%),
    linear-gradient(180deg, #fff5eb 0%, #e8f9ff 42%, #fff8ef 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.bg-glow {
  position: fixed;
  inset: auto -20% -30% auto;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(255, 229, 102, 0.35), transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: drift 12s ease-in-out infinite;
}

.nav, main, .footer { position: relative; z-index: 1; }

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(26, 35, 64, 0.06);
}

.logo {
  font-family: "Outfit", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border-radius: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
  background: rgba(255, 107, 74, 0.06);
}

.logo-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 8px 18px rgba(255, 61, 110, 0.32),
    0 0 0 2px rgba(255, 255, 255, 0.9);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.logo-main {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: linear-gradient(90deg, #1a2340 0%, #ff3d6e 70%, #2ec4b6 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 800;
  margin-top: 2px;
}

.btn-wa,
.btn-nav.btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.btn-wa-primary {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 20px;
}

.btn-wa-primary:hover { transform: translateY(-2px); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  margin-bottom: 12px;
  animation: rise 0.7s ease both;
  color: var(--ink);
}

.brand-mark-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(255, 61, 110, 0.25);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 3px;
  border: 1px solid rgba(26, 35, 64, 0.08);
}

.lang-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}

.lang-btn.active {
  background: var(--ink);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(90deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 61, 110, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(26, 35, 64, 0.1);
  color: var(--ink);
}

.btn-nav {
  background: var(--sun);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 0.88rem;
  box-shadow: 0 8px 18px rgba(255, 229, 102, 0.35);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: min(78vh, 720px);
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  animation: rise 0.8s ease 0.08s both;
}

.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, var(--coral), #ff3d6e 60%, var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  margin-top: 16px;
  max-width: 32ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--muted);
  line-height: 1.45;
  animation: rise 0.8s ease 0.16s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  animation: rise 0.8s ease 0.24s both;
}

.hero-visual {
  position: relative;
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}

.float-chip {
  position: absolute;
  background: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(26, 35, 64, 0.12);
}

.chip-a {
  top: 8%;
  left: -4%;
  color: var(--coral-deep);
  animation: bob 3.5s ease-in-out infinite;
}

.chip-b {
  bottom: 12%;
  right: -2%;
  background: var(--sun);
  color: var(--ink);
  animation: bob 4s ease-in-out infinite reverse;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 88px auto 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head p {
  margin-top: 10px;
  font-weight: 700;
  color: var(--muted);
  font-size: 1.05rem;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.build-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 35, 64, 0.06);
  transition: transform 0.25s ease;
}

.build-item:hover { transform: translateY(-6px); }

.build-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.build-item h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  padding: 16px 18px 6px;
}

.build-item p {
  padding: 0 18px 20px;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.how .steps {
  list-style: none;
  display: grid;
  gap: 14px;
}

.how li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.step-num {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--aqua);
  line-height: 1;
}

.how h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.how p {
  font-weight: 700;
  color: var(--muted);
}

.sales-strip {
  width: min(1120px, calc(100% - 32px));
  margin: 72px auto 0;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 107, 74, 0.92), rgba(255, 61, 110, 0.9)),
    url("/assets/mt5-ad-salesy-en.png") center/cover;
  box-shadow: var(--shadow);
}

.sales-inner {
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  max-width: 36rem;
}

.sales-inner h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
}

.sales-inner p {
  margin: 12px 0 22px;
  font-weight: 700;
  opacity: 0.95;
}

.sales-inner .btn-primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.sales-inner .btn-wa-primary {
  background: #fff;
  color: #128c47;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.quote-form {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #fff;
  border-radius: 28px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 16px 40px rgba(26, 35, 64, 0.08);
}

.quote-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
}

.field-full { grid-column: 1 / -1; }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(26, 35, 64, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.15);
}

.form-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-note {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  margin-top: 14px;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 14px;
}

.form-status.ok {
  background: #eafff2;
  color: #128c47;
}

.form-status.err {
  background: #ffe8ee;
  color: #c2185b;
}

.contact-panel,
.contact-panel-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.wa-card {
  background: linear-gradient(145deg, #eafff2, #fff);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.18);
}

.wa-card .mail-label { color: #128c47; }

.contact-points-row {
  margin-top: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer strong {
  font-family: "Outfit", sans-serif;
  color: var(--coral-deep);
  letter-spacing: 0.02em;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  animation: bob 2.8s ease-in-out infinite;
}

.wa-float:hover { transform: scale(1.06); }

.mail-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(145deg, #fff, #fff3e8);
  border-radius: 28px;
  padding: 28px;
  border: 2px solid #fff;
  box-shadow: 0 16px 40px rgba(255, 107, 74, 0.12);
  transition: transform 0.2s ease;
}

.mail-card:hover { transform: scale(1.015); }

.mail-label {
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.mail-addr {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  word-break: break-all;
}

.mail-hint {
  font-weight: 700;
  color: var(--muted);
}

.contact-points {
  list-style: none;
  display: grid;
  gap: 12px;
  align-content: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 24px;
  border: 1px solid #fff;
}

.contact-points li {
  font-weight: 800;
  padding-left: 28px;
  position: relative;
}

.contact-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--aqua);
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 72px auto 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 35, 64, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--muted);
}

.footer a { color: var(--ink); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -30px); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 12px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
  .build-grid { grid-template-columns: 1fr; }
  .contact-panel,
  .contact-panel-2 { grid-template-columns: 1fr; }
  .contact-points-row { grid-template-columns: 1fr; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-main { font-size: 0.95rem; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .btn-nav { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}
