/* One Step Web — design system
   Designed for humans AND agents: high contrast, semantic structure,
   readable spacing, no JS-required content. */

:root {
  --bg: #0b0f17;
  --bg-soft: #111827;
  --surface: #161e2e;
  --line: #1f2a3d;
  --text: #e7ecf3;
  --muted: #9aa6b8;
  --accent: #4ade80;       /* "step" green */
  --accent-2: #22d3ee;     /* "web" cyan */
  --warn: #fbbf24;
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #0b0f17 0%, #0e1422 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,23,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .2px; color: var(--text);
}
.logo .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #0b0f17; font-weight: 900;
}
nav ul {
  display: flex; gap: 22px; list-style: none; margin: 0; padding: 0;
}
nav a {
  color: var(--muted); font-size: 15px; text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 56px;
  text-align: left;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1; margin: 0 0 16px;
  letter-spacing: -.5px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 0 28px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 10px; font-weight: 600;
  border: 1px solid var(--line); color: var(--text);
  background: var(--surface); transition: transform .1s ease, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); border-color: var(--accent-2); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f17; border-color: transparent;
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section h2 {
  font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; letter-spacing: -.3px;
}
section .sub { color: var(--muted); max-width: 720px; margin: 0 0 32px; }

.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s ease, transform .1s ease;
}
.card:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px;
  background: rgba(74,222,128,.12); color: var(--accent);
  display: grid; place-items: center; font-weight: 800;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column;
}
.plan.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  position: relative;
}
.plan.featured::after {
  content: "Δημοφιλέστερο";
  position: absolute; top: -12px; right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f17; font-weight: 700; font-size: 12px;
  padding: 5px 10px; border-radius: 999px;
}
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.plan .pitch { color: var(--muted); font-size: 14px; margin: 0 0 20px; min-height: 40px; }
.plan .price {
  font-size: 40px; font-weight: 800; letter-spacing: -1px;
}
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.plan li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.plan li:last-child { border: 0; }

/* ---------- Tables ---------- */
table.addons {
  width: 100%; border-collapse: collapse; margin-top: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
table.addons th, table.addons td {
  text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px;
}
table.addons th { background: var(--bg-soft); color: var(--muted); font-weight: 600; }
table.addons tr:last-child td { border-bottom: 0; }
table.addons td.price-col { text-align: right; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ---------- Founders ---------- */
.founders { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.founder {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.founder .avatar {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #0b0f17; font-weight: 900; font-size: 22px;
}
.founder h3 { margin: 0; }
.founder .role { color: var(--accent-2); font-size: 14px; margin-bottom: 12px; }

/* ---------- Vision ---------- */
.callout {
  background: linear-gradient(135deg, rgba(74,222,128,.08), rgba(34,211,238,.08));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin: 24px 0;
}
.callout h3 { margin-top: 0; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f17; font-weight: 900; display: grid; place-items: center;
}
.step h4 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 36px 0; margin-top: 40px;
  color: var(--muted); font-size: 14px;
}
footer .row {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
footer a { color: var(--muted); }

/* ---------- Burger menu (top right on mobile) ---------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s ease;
}
.nav-toggle:hover, .nav-toggle:focus-visible { border-color: var(--accent-2); outline: none; }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .15s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero { padding: 56px 0 32px; }

  /* show the burger, hide the inline nav until toggled */
  .nav-toggle { display: block; }

  header.site .nav { position: relative; }

  nav[aria-label="Κύρια πλοήγηση"] {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: 0;
    background: rgba(11,15,23,.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  nav[aria-label="Κύρια πλοήγηση"][data-open="true"] {
    max-height: 360px;
  }
  nav[aria-label="Κύρια πλοήγηση"] ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  nav[aria-label="Κύρια πλοήγηση"] li {
    border-bottom: 1px solid var(--line);
  }
  nav[aria-label="Κύρια πλοήγηση"] li:last-child { border-bottom: 0; }
  nav[aria-label="Κύρια πλοήγηση"] a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  /* Tighten hero & sections on small screens */
  .container { padding: 0 18px; }
  section { padding: 40px 0; }
  .cta-row { gap: 10px; }
  .btn { padding: 11px 16px; font-size: 15px; }
  footer .row { flex-direction: column; gap: 8px; }

  /* Tables scroll horizontally instead of breaking layout */
  table.addons { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 17px; }
  .plan { padding: 22px; }
  .plan .price { font-size: 34px; }
}
