/* =========================================================
   AIXXYCLOUD — Neobrutalism, pure HTML + CSS
   ========================================================= */

:root {
  --cream: #fdf8ec;
  --cream-deep: #f7eedb;
  --ink: #111111;
  --ink-soft: #3f3a33;
  --white: #ffffff;
  --orange: #f6883b;
  --orange-dark: #e2762a;
  --lavender: #cfc9f2;
  --red: #f0685f;
  --green: #45c17c;
  --cyan: #7fd8e8;

  --border: 3px solid var(--ink);
  --radius: 14px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-hover: 7px 7px 0 var(--ink);
  --shadow-active: 1px 1px 0 var(--ink);

  --container: 1140px;
  --gutter: 20px;
  --section-y: clamp(56px, 9vw, 104px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
p {
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--cream-deep);
  border-block: var(--border);
}

.section__head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 5vw, 48px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: var(--orange);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.eyebrow--soft {
  background: var(--lavender);
}

.section__title {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 700;
}

.section__lead {
  margin-top: 16px;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--ink-soft);
}

.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn,
.nav a,
.menu-toggle,
.mobile-nav a,
.tab,
.footer__links a {
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--orange);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 10px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn--primary {
  background: var(--orange);
}
.btn--block {
  width: 100%;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-active);
}
.btn--primary:active {
  background: var(--orange-dark);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  background: var(--white);
  border: var(--border);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 6px 14px;
  white-space: nowrap;
}
.logo:hover {
  background: var(--orange);
}

.nav {
  display: none;
  gap: 8px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 3px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}
.nav__cta {
  background: var(--lavender);
  border-color: var(--ink) !important;
  box-shadow: 3px 3px 0 var(--ink);
}

/* ---------- Mobile menu (no JS) ---------- */
.mobile-menu {
  position: relative;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.menu-toggle::-webkit-details-marker {
  display: none;
}
.menu-toggle:hover,
.mobile-menu[open] .menu-toggle {
  background: var(--orange);
}
.menu-toggle__bars {
  display: grid;
  gap: 4px;
}
.menu-toggle__bars i {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(250px, calc(100vw - 40px));
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
}
.mobile-nav ul {
  display: grid;
  gap: 8px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: var(--border);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  background: var(--white);
}
.mobile-nav a:hover {
  background: var(--orange);
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(44px, 8vw, 92px);
  border-bottom: var(--border);
  background:
    radial-gradient(circle at 12% 18%, rgba(207, 201, 242, 0.55), transparent 42%),
    var(--cream);
}

.hero__grid {
  display: grid;
  gap: clamp(32px, 6vw, 56px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.1rem, 7.5vw, 3.6rem);
  font-weight: 700;
}
.hero__title .hl {
  color: var(--orange-dark);
}
.hero__desc {
  margin-top: 18px;
  max-width: 48ch;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  color: var(--ink-soft);
}
.hero__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat {
  padding: 18px;
  text-align: center;
}
.stat__num {
  font-size: clamp(1.3rem, 4.5vw, 2.1rem);
  font-weight: 700;
  color: var(--orange-dark);
  line-height: 1.1;
}
.stat__label {
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero__panel {
  padding: clamp(20px, 4vw, 28px);
  background: var(--lavender);
  border: var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 14px;
}
.hero__panel h2 {
  font-size: 1.15rem;
}
.spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: var(--border);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.95rem;
}
.spec span:last-child {
  color: var(--orange-dark);
  white-space: nowrap;
}

/* ---------- Features ---------- */
.features__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.feature {
  padding: 22px;
}
.feature__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: var(--border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--orange);
  font-weight: 700;
  font-size: 1.05rem;
}
.feature__icon--lav {
  background: var(--lavender);
}
.feature__icon--cyan {
  background: var(--cyan);
}
.feature__icon--green {
  background: var(--green);
}
.feature__icon--red {
  background: var(--red);
}
.feature h3 {
  margin-top: 16px;
  font-size: 1.1rem;
}
.feature p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Tabs (CSS only) ---------- */
.tabs input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 36px);
}
.tab {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.tab:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
#tab-id:checked ~ .tabs__list label[for="tab-id"],
#tab-sg:checked ~ .tabs__list label[for="tab-sg"],
#tab-us:checked ~ .tabs__list label[for="tab-us"] {
  background: var(--orange);
}
.tabs__panel {
  display: none;
}
#tab-id:checked ~ .tabs__panels #panel-id,
#tab-sg:checked ~ .tabs__panels #panel-sg,
#tab-us:checked ~ .tabs__panels #panel-us {
  display: grid;
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.plan {
  position: relative;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.plan--pop {
  background: var(--cream-deep);
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute;
  top: -16px;
  right: 18px;
  background: var(--lavender);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan__name {
  font-size: 1.25rem;
}
.plan__price {
  margin-top: 10px;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--orange-dark);
  line-height: 1.1;
}
.plan__per {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.plan__list {
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
}
.plan__list li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 4px;
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.quote {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.quote p {
  flex: 1;
  color: var(--ink-soft);
}
.quote__who {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--orange);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
}
.quote__name {
  font-weight: 700;
}
.quote__role {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-inline: auto;
}
.faq details {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 32px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq details p {
  margin-top: 12px;
  color: var(--ink-soft);
}

/* ---------- CTA ---------- */
.cta__box {
  background: var(--lavender);
  border: var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
}
.cta__box p {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-inline: auto;
}
.cta__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--lavender);
  border-top: var(--border);
  padding-block: clamp(40px, 7vw, 64px);
}
.footer__inner {
  display: grid;
  gap: 32px;
}
.footer__logo {
  display: inline-block;
  background: var(--white);
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer__copy {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer__heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer__links {
  display: grid;
  gap: 10px;
}
.footer__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--white);
  border: var(--border);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer__links a:hover {
  background: var(--orange);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }
  .logo {
    font-size: 1rem;
    padding: 6px 10px;
  }
  .menu-toggle__text {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 560px) {
  .features__grid,
  .plans,
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .mobile-menu {
    display: none;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .features__grid,
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (hover: none) {
  .btn:hover,
  .nav a:hover,
  .tab:hover,
  .footer__links a:hover {
    transform: none;
  }
}

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