/* ============================================================
   EasyServe — informational site
   Structure mirrors Veentoo; brand is EasyServe pink #D63384
   ============================================================ */

:root {
  --pink:        #D63384;
  --pink-dark:   #A82568;
  --pink-soft:   #FDF2F7;
  --pink-tint:   #FBF7F9;
  --ink:         #1F2937;
  --ink-soft:    #4B5563;
  --grey:        #6B7280;
  --line:        #E5E7EB;
  --bg:          #FFFFFF;
  --bg-alt:      #F7F8FA;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 10px 40px rgba(0,0,0,.08);
  --shadow-sm:   0 4px 16px rgba(0,0,0,.06);
  --maxw:        1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(214,51,132,.35); }
.btn-outline { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn-outline:hover { background: var(--pink-soft); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ============================================================
   Header / nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s;
}
.nav-links a:hover { color: var(--pink); }
.nav-links a.active { color: var(--pink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .2s;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  text-align: center;
  padding: 72px 0 40px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
  max-width: 820px;
  margin: 0 auto 20px;
}
.hero p.sub {
  font-size: 18px;
  color: var(--grey);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* Laptop mockup with floating cards */
.hero-visual {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
}
.laptop {
  background: #111827;
  border-radius: 18px 18px 0 0;
  padding: 14px 14px 0;
  box-shadow: var(--shadow);
}
.laptop-screen {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
}
.laptop-base {
  height: 20px;
  background: linear-gradient(#d1d5db, #9ca3af);
  border-radius: 0 0 14px 14px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 6px;
  background: #6b7280;
  border-radius: 0 0 8px 8px;
}

/* Mini dashboard inside the laptop */
.dash { display: flex; width: 100%; font-size: 11px; text-align: left; }
.dash-side {
  width: 150px;
  background: var(--pink-tint);
  border-right: 1px solid var(--line);
  padding: 14px 12px;
  flex-shrink: 0;
}
.dash-side .brand { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.dash-side .brand img { height: 16px; }
.dash-side .label { font-size: 9px; text-transform: uppercase; letter-spacing: .5px; color: var(--grey); margin: 14px 0 6px; }
.dash-side .item { padding: 5px 8px; border-radius: 6px; color: var(--ink-soft); margin-bottom: 2px; }
.dash-side .item.on { background: var(--pink); color: #fff; }
.dash-main { flex: 1; padding: 16px; background: #fff; position: relative; overflow: hidden; }
.dash-main h4 { font-size: 14px; margin-bottom: 2px; }
.dash-main .muted { color: var(--grey); font-size: 10px; margin-bottom: 14px; }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  min-width: 110px;
}
.stat .k { font-size: 9px; color: var(--grey); }
.stat .v { font-size: 16px; font-weight: 800; color: var(--ink); }
.stat.accent { background: var(--pink); color: #fff; }
.stat.accent .k, .stat.accent .v { color: #fff; }
.donut {
  width: 90px; height: 90px; border-radius: 50%;
  margin: 16px auto;
  background: conic-gradient(var(--pink) 0 62%, var(--pink-dark) 62% 82%, #F3B4D3 82% 100%);
  -webkit-mask: radial-gradient(circle 28px at center, transparent 98%, #000 100%);
          mask: radial-gradient(circle 28px at center, transparent 98%, #000 100%);
}
.spark { height: 40px; margin-top: 14px; }
.spark svg { width: 100%; height: 100%; }

/* Floating cards over the laptop */
.float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  border: 1px solid var(--line);
}
.float .k { font-size: 10px; color: var(--grey); }
.float .v { font-size: 18px; font-weight: 800; }
.float.f1 { top: 20%; left: -20px; }
.float.f2 { top: 55%; right: -20px; }
.float.pink { background: var(--pink); color: #fff; }
.float.pink .k, .float.pink .v { color: #fff; }
@media (max-width: 720px) { .float { display: none; } }

/* ============================================================
   Section scaffolding
   ============================================================ */

.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.section-head h2.pink { color: var(--pink); }
.section-head p { color: var(--grey); font-size: 17px; }

.center-cta { text-align: center; margin-top: 40px; }

/* Divider dot */
.dot-div { text-align: center; padding: 24px 0; }
.dot-div span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }

/* ============================================================
   Why / isometric cards
   ============================================================ */

.iso {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.iso-card {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  min-width: 200px;
  box-shadow: var(--shadow);
  transform: perspective(800px) rotateY(-8deg);
}
.iso-card:nth-child(even) { transform: perspective(800px) rotateY(8deg); }
.iso-card .big { font-size: 26px; font-weight: 800; }
.iso-card .small { font-size: 13px; opacity: .9; margin-top: 4px; }

/* ============================================================
   Features (numbered cards)
   ============================================================ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.feature .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--grey); font-size: 14.5px; }
.feature .art {
  height: 120px;
  margin-top: 18px;
  border-radius: 10px;
  background: var(--pink-tint);
  display: flex; align-items: center; justify-content: center;
}
.feature .art svg { width: 64px; height: 64px; color: var(--pink); }

/* Full feature grid (features page) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .15s, box-shadow .15s;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fcard .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.fcard .ic svg { width: 26px; height: 26px; }
.fcard h3 { font-size: 17px; margin-bottom: 8px; }
.fcard p { color: var(--grey); font-size: 14px; }

/* ============================================================
   Pricing
   ============================================================ */

.toggle-wrap { display: flex; justify-content: center; margin-bottom: 36px; }
.toggle {
  display: inline-flex;
  background: var(--pink-soft);
  border-radius: 999px;
  padding: 4px;
}
.toggle button {
  border: none;
  background: transparent;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  cursor: pointer;
}
.toggle button.on { background: var(--pink); color: #fff; }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 24px;
  justify-content: center;
}
.plan {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.plan.featured { border-color: var(--pink); box-shadow: 0 12px 40px rgba(214,51,132,.16); }
.plan .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
}
.plan h3 { font-size: 20px; text-align: center; margin-bottom: 10px; }
.plan .price { text-align: center; margin-bottom: 6px; }
.plan .price .amt { font-size: 38px; font-weight: 800; color: var(--ink); }
.plan .price .per { font-size: 14px; color: var(--grey); }
.plan .blurb { text-align: center; color: var(--grey); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; margin-bottom: 24px; }
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.plan li svg { width: 18px; height: 18px; color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.plan li.strong { font-weight: 700; color: var(--ink); }
.plan .btn { width: 100%; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-hero { text-align: center; padding: 64px 0 40px; }
.faq-hero h1 { font-size: 44px; font-weight: 800; color: var(--pink); margin-bottom: 14px; }
.faq-hero p { color: var(--grey); font-size: 17px; max-width: 560px; margin: 0 auto; }

.faq-group {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.faq-group h2 { color: var(--pink); font-size: 22px; margin-bottom: 18px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q svg { width: 18px; height: 18px; color: var(--pink); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 20px;
  color: var(--grey);
  font-size: 14.5px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

.faq-contact {
  text-align: center;
  background: var(--pink-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 8px;
}
.faq-contact h3 { color: var(--pink); font-size: 24px; margin-bottom: 10px; }
.faq-contact p { color: var(--ink-soft); margin-bottom: 22px; }
.faq-contact .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Split auth pages (sign-in / register / demo)
   ============================================================ */

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.split-visual {
  background:
    linear-gradient(rgba(214,51,132,.72), rgba(168,37,104,.82)),
    url("kitchen.jpg") center/cover;
  position: relative;
}
.split-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.split-inner { width: 100%; max-width: 400px; text-align: center; }
.split-inner .logo { height: 40px; margin: 0 auto 30px; }
.split-inner h1 { font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.split-inner .sub { color: var(--grey); font-size: 15px; margin-bottom: 28px; }
.field { text-align: left; margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--pink); }
.account-row { display: flex; gap: 8px; }
.account-row input:first-child { flex: 1; }
.account-suffix {
  display: flex; align-items: center;
  padding: 0 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--grey);
  font-size: 14px;
  white-space: nowrap;
}
.split .btn { width: 100%; }
.split .link { color: var(--pink); font-weight: 600; }
.muted-link { display: inline-block; margin: 10px 0; font-size: 13px; color: var(--grey); }
.muted-link a { color: var(--pink); }
.or-div { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--grey); font-size: 13px; }
.or-div::before, .or-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.google-btn:hover { background: var(--bg-alt); }
.fineprint { font-size: 12px; color: var(--grey); margin-top: 18px; line-height: 1.5; }
.fineprint a { color: var(--pink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-visual { display: none; } }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--pink);
  color: #fff;
  padding: 56px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; opacity: .9; max-width: 320px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; opacity: .9; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: .85;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .features, .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 28px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .plans { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Single centered plan */
.plans-single { grid-template-columns: minmax(0, 420px); }

/* ============================================================
   Language toggle (nav)
   ============================================================ */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-right: 6px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-toggle button.on { background: var(--pink); color: #fff; }
.lang-toggle button:not(.on):hover { color: var(--pink); }

@media (max-width: 760px) {
  /* keep the toggle visible even when the burger menu collapses links */
  .nav-cta .lang-toggle { display: inline-flex; }
}
