:root {
  color-scheme: dark;
  --bg: #05050d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f8fb;
  --muted: #9da4b8;
  --accent: #4fe0e4;
  --accent-soft: rgba(79, 224, 228, 0.11);
  --purple: #9a8cff;
  font-family: "Inter", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(79, 224, 228, 0.08), transparent 35rem),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(110px);
  pointer-events: none;
}

.page-glow--one {
  top: 28rem;
  right: -15rem;
  background: var(--accent);
}

.page-glow--two {
  top: 92rem;
  left: -16rem;
  background: var(--purple);
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 5px;
}

.brand-dot {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-button,
.home-link {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-button {
  min-width: 44px;
  padding: 0 13px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.home-link svg {
  order: -1;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-button:hover,
.home-link:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 224, 228, 0.45);
  background: var(--accent-soft);
  color: var(--accent);
}

.plans-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  padding: 100px 0 118px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.plans-hero h1 {
  max-width: 990px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 7.1rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.plans-hero h1 span {
  display: block;
}

.accent-text {
  color: transparent;
  background: linear-gradient(95deg, var(--accent), #8bbdf0 52%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
}

.hero-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(79, 224, 228, 0.38);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-cta {
  margin-top: 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-cta--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #246bff, #1754d8);
  box-shadow: 0 14px 34px rgba(36, 107, 255, 0.24);
}

.hero-cta:hover,
.primary-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(79, 224, 228, 0.18);
}

.packages-section,
.terms-section {
  padding: 130px 0;
  scroll-margin-top: 20px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-number {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.28);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-heading h2,
.plans-cta h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4.7rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 580px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(5, 5, 13, 0.78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}

.package-card--featured {
  border-color: rgba(79, 224, 228, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 224, 228, 0.1), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 5, 13, 0.82);
}

.featured-label {
  position: absolute;
  top: 0;
  right: 28px;
  padding: 9px 14px;
  border-radius: 0 0 11px 11px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.package-index,
.package-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.package-index {
  color: var(--accent);
}

.package-type {
  color: rgba(255, 255, 255, 0.38);
}

.package-card h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

.package-price {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin: 20px 0 5px;
}

.package-price span {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.package-price strong {
  color: var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.package-description {
  max-width: 570px;
  margin: 19px 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.package-features {
  display: grid;
  gap: 12px;
  margin: 0 0 34px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.package-features li {
  position: relative;
  padding-left: 25px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 14px;
  line-height: 1.45;
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.package-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 49px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.package-link span:last-child {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.package-link:hover span:last-child {
  transform: translateX(4px);
}

.packages-note {
  max-width: 820px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.term-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.term-card:hover,
.term-card[open] {
  border-color: rgba(79, 224, 228, 0.35);
  background: var(--surface-strong);
}

.term-card:hover {
  transform: translateY(-3px);
}

.term-card summary {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1;
  min-height: 210px;
  padding: 24px;
  cursor: pointer;
  list-style: none;
}

.term-card summary::-webkit-details-marker {
  display: none;
}

.term-index {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.term-card h3 {
  margin: auto 0 9px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.term-card summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.term-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.term-toggle::before,
.term-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.term-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.term-card[open] .term-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.term-details {
  padding: 0 24px 24px;
}

.term-details ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.term-details li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.term-details li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.plans-cta {
  margin: 90px 0 130px;
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid rgba(79, 224, 228, 0.2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 224, 228, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  text-align: center;
}

.plans-cta h2 {
  max-width: 760px;
  margin-inline: auto;
}

.plans-cta > p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.plans-cta .primary-button {
  margin-top: 30px;
  background: var(--accent);
  color: var(--bg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #7f8496;
  font-size: 12px;
}

.site-footer div {
  display: flex;
  gap: 22px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.brand:focus-visible,
.language-button:focus-visible,
.home-link:focus-visible,
.hero-cta:focus-visible,
.package-link:focus-visible,
.term-card summary:focus-visible,
.primary-button:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 1020px) {
  .terms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .home-link {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .home-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .plans-hero {
    min-height: calc(100svh - 76px);
    padding: 74px 0 90px;
  }

  .plans-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .hero-cta {
    width: 100%;
    max-width: 330px;
  }

  .packages-section,
  .terms-section {
    padding: 92px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 38px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: 0;
    padding: 27px;
    border-radius: 23px;
  }

  .package-topline {
    margin-bottom: 33px;
  }

  .package-card h3 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .term-card summary {
    min-height: 0;
    padding: 20px;
  }

  .term-details {
    padding: 0 20px 20px;
  }

  .plans-cta {
    margin: 60px 0 92px;
    border-radius: 26px;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .term-card summary {
    aspect-ratio: 1.35;
  }

  .hero-cta,
  .primary-button {
    width: 100%;
    max-width: 330px;
  }

  .site-footer div {
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Μηνιαία υποστήριξη & portal */
.care-section {
  padding: 0 0 130px;
  scroll-margin-top: 20px;
}

.care-card {
  max-width: 640px;
}

.package-price .care-price {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

@media (max-width: 760px) {
  .care-section {
    padding: 0 0 92px;
  }
}
