/* Devdari.com — homepage styles */

:root {
  --plum-900: #2c0730;
  --plum-800: #3d0a42;
  --plum: #4a0e4e;
  --plum-600: #6b1470;
  --pink: #d63da2;
  --pink-200: #f8d7ee;
  --lavender: #f6eef8;
  --lavender-2: #fbf7fc;
  --ink: #241b27;
  --text: #3a313d;
  --muted: #6c6270;
  --line: #ece4ee;
  --white: #fff;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(44, 7, 48, .35);
  --shadow-sm: 0 6px 18px -8px rgba(44, 7, 48, .18);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--plum-600); }
h1, h2, h3 { color: var(--plum); line-height: 1.2; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 14px; height: 14px; stroke-width: 2.4; }
.small { font-size: 13.5px; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 58px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 25px; color: var(--plum); letter-spacing: -.01em; }
.brand-tag { font-size: 11px; color: var(--plum-600); font-weight: 500; margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 24px 14px; font-size: 14.5px; font-weight: 500;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav-list > li > a:hover { color: var(--plum-600); }
.nav-list > li > a[aria-current="page"] { color: var(--plum); font-weight: 600; }
.nav-list > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 14px;
  height: 2px; border-radius: 2px; background: var(--plum);
}
.sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% - 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--lavender); color: var(--plum); }

.lang-switch { display: inline-flex; padding: 3px; border: 1.5px solid #d9c7dd; border-radius: 999px; }
.lang-btn { padding: 5px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--plum); text-decoration: none; }
.lang-btn.is-active { background: var(--plum); color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--plum); cursor: pointer;
}

/* ---------- Hero slider ---------- */
.hero-wrap { padding: 22px 0 10px; }
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  min-height: 540px;
  background: var(--plum-900);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; margin: 0; }
.hero-slide { opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.no-js .hero-slide:first-child { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide figcaption {
  position: absolute; right: 18px; bottom: 14px; z-index: 3;
  font-size: 11px; color: rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .35); padding: 3px 9px; border-radius: 999px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22, 14, 6, .78) 0%, rgba(22, 14, 6, .5) 38%, rgba(22, 14, 6, .05) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, .35) 0%, transparent 30%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 64px 0 80px 80px;
  color: #fff;
}
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; letter-spacing: .42em; text-transform: uppercase; font-weight: 500;
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.hero-title { color: #fff; margin: 8px 0 18px; }
.hero-title-main {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(54px, 7.4vw, 92px); line-height: .95; letter-spacing: -.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.hero-title-sub {
  display: inline-block; font-style: italic; font-weight: 600;
  font-size: clamp(46px, 6.2vw, 76px); line-height: 1.05; padding-right: .1em;
  background: linear-gradient(90deg, #ffd6f4 0%, #f2a6e6 45%, #d18bf0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .3));
}
.hero-lead { font-size: 18px; line-height: 1.55; max-width: 26em; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.hero-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px); transition: background .2s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .35); }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.no-js .hero-arrow { display: none; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; transition: .2s; }
.hero-dot[aria-current="true"] { background: var(--plum-600); box-shadow: 0 0 0 2px #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 19px; height: 19px; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--plum-600); }
.btn-hero {
  background: linear-gradient(135deg, var(--plum-600), var(--plum));
  color: #fff; border-color: #e58bd0; padding: 15px 30px; font-size: 16px;
  box-shadow: 0 10px 26px -8px rgba(214, 61, 162, .6);
}
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .12); padding: 15px 30px; font-size: 16px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa .ico { width: 22px; height: 22px; }
.btn-wa--outline { background: #fff; color: var(--wa-dark); border-color: var(--wa); }
.btn-wa--outline:hover { background: #effaf3; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.text-link { font-weight: 600; font-size: 14.5px; color: var(--plum-600); }

/* ---------- Feature sections ---------- */
.feature { padding: 48px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature:nth-of-type(odd) { background: linear-gradient(180deg, #fff 0%, var(--lavender-2) 100%); }
.feature-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px; align-items: center;
}
.feature--flip .feature-media { order: 2; }

.feature-media { position: relative; margin: 0; aspect-ratio: 1 / 1; }
.feature-media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature-media figcaption {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 11px; color: #fff; background: rgba(0, 0, 0, .45);
  padding: 3px 10px; border-radius: 999px;
}

.feature-body { display: flex; flex-direction: column; gap: 18px; }
.feature-head { display: flex; align-items: center; gap: 16px; }
.feature-icon {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  border-radius: 14px; background: var(--lavender); color: var(--plum-600);
  box-shadow: inset 0 0 0 1px #eedcf1;
}
.feature-icon .ico { width: 26px; height: 26px; }
.feature-head h2 { font-size: clamp(24px, 2.5vw, 31px); font-weight: 600; letter-spacing: -.01em; }

.chips { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px -4px rgba(44, 7, 48, .12);
  font-size: 12.5px; line-height: 1.35; color: var(--muted);
}
.chip .ico { color: var(--plum); width: 24px; height: 24px; }
.chip strong { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b1470' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks strong { color: var(--ink); }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: #fff8e8; border: 1px solid #f3e0b0; font-size: 14.5px;
}
.note .ico { color: #a26a00; margin-top: 2px; }
.note strong { color: var(--ink); }

.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.do-dont > div { padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.mini-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #19804a; margin-bottom: 6px; }
.mini-h .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.mini-h--warn { color: #b3261e; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-900); color: #e6d9e8; margin-top: 24px; }
.site-footer a { color: #fff; }
.footer-alert { background: var(--plum-800); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-alert-inner { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; padding-bottom: 18px; font-size: 14.5px; }
.footer-alert .ico { color: #ffb4e3; width: 26px; height: 26px; }
.footer-alert strong { color: #fff; }

.footer-main {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px; padding-top: 52px; padding-bottom: 36px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; font-size: 14.5px; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-tag { color: #d9b8de; }
.wa-box { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.wa-note { font-size: 13px; color: #d9c8dc; }
.wa-pending { font-size: 13px; color: #ffcf8a; }
.footer-h { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #e6d9e8; text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.sponsor {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.sponsor-label {
  flex: none; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff;
}

.credits { margin: 18px 0 30px; font-size: 13px; color: #cdbad0; }
.credits summary { cursor: pointer; font-weight: 600; color: #fff; }
.credits p { margin: 10px 0 6px; }
.credits ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.credits a { color: #f3dff5; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: #22052a; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; padding-bottom: 26px; font-size: 13px; color: #c7b3ca; }
.legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-links a { color: #e6d9e8; text-decoration: none; }
.legal-links a:hover { text-decoration: underline; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-list > li > a { padding-left: 10px; padding-right: 10px; font-size: 14px; }
  .site-nav { gap: 16px; }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .js .site-nav.is-open { display: flex; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .nav-toggle { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 12px 4px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-list > li > a[aria-current="page"]::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; display: none; }
  .has-sub.is-open .sub { display: block; }
  .lang-switch { align-self: flex-start; }

  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature--flip .feature-media { order: 0; }
  .feature-media { max-width: 560px; width: 100%; margin: 0 auto; }
  .hero { min-height: 500px; }
  .hero-content { padding: 48px 28px 80px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand-name { font-size: 21px; }
  .brand-mark { width: 46px; height: 32px; }
  .brand-tag { font-size: 10px; }
  .hero-wrap { padding-top: 14px; }
  .hero { min-height: 520px; border-radius: 18px; }
  .hero::before { background: linear-gradient(180deg, rgba(22, 14, 6, .35) 0%, rgba(22, 14, 6, .75) 100%); }
  .hero-content { padding: 36px 20px 86px; }
  .hero-kicker { font-size: 13px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-arrow { display: none; }
  .hero-slide figcaption { left: 12px; right: auto; bottom: 46px; }
  .feature { padding: 36px 0; }
  .chips { grid-template-columns: 1fr; }
  .do-dont { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; justify-content: center; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .wa-box .btn { width: 100%; justify-content: center; }
  .sponsor { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
