:root {
  --cyan: #00C8FF;
  --bg: #060D1F;
  --surface: #0D1A35;
  --surface-2: #142745;
  --border: #1E3A5F;
  --text: #E8F4FF;
  --text-muted: #7AA3CC;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 13, 31, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--white);
}

.logo-tld {
  color: var(--cyan);
  font-weight: 400;
  font-size: 0.85em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-cta {
  background: var(--cyan);
  color: var(--bg) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important, transform 0.15s !important;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0, 200, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 200, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 200, 255, 0.12);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--cyan);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--cyan);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0, 200, 255, 0.3);
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 200, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--cyan);
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  background: rgba(0, 200, 255, 0.08);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 60px;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 200, 255, 0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 200, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── GUARANTEE BANNER ── */
.guarantee {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.1) 0%, rgba(0, 200, 255, 0.04) 100%);
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guarantee::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.guarantee-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.guarantee h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.guarantee p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--bg);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ── TARGET AUDIENCE TABS ── */
.audience-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.08);
}

/* ── STATS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-val {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.08) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 100px 24px;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.92rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 20%, rgba(0, 200, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── FORM ── */
.form-section {
  padding: 80px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.97rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--bg);
  font-size: 0.95rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.author-title {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.stars {
  color: #FFD700;
  font-size: 0.85rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 200, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item p {
  font-weight: 600;
  font-size: 0.97rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .form-card {
    padding: 32px 24px;
  }

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .guarantee {
    padding: 36px 24px;
  }

  .guarantee-number {
    font-size: 4rem;
  }
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── NAV LOGIN BUTTON ── */
.nav-login {
  background: transparent !important;
  color: var(--text-muted) !important;
  border: 1.5px solid var(--border) !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: border-color 0.2s, color 0.2s !important;
}

.nav-login:hover {
  border-color: var(--cyan) !important;
  color: var(--cyan) !important;
}

/* ── HERO TRUST BADGES ── */
.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-trust span {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ── HERO CONTENT ── */
.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

/* ── SERVICE CHIP GRID ── */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-chip {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  cursor: default;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.service-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.06);
}

a.service-chip {
  text-decoration: none;
}

/* ── AUDIENCE CARD ── */
.card-audience {
  padding: 40px 36px;
}

.audience-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.audience-badge {
  display: inline-block;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.25);
  color: var(--cyan);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.audience-badge--biz {
  background: rgba(100, 200, 100, 0.1);
  border-color: rgba(100, 200, 100, 0.25);
  color: #6fc96f;
}

/* ── CRM TEASER ── */
.crm-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 52px;
}

.crm-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.crm-feature {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.crm-mockup {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.crm-mockup-bar {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 7px;
  align-items: center;
}

.crm-mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.crm-mockup-row--header {
  padding: 14px 20px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.crm-mockup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(30,58,95,0.5);
  font-size: 0.88rem;
  color: var(--text);
}

.crm-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.crm-status--new {
  background: rgba(0,200,255,0.15);
  color: var(--cyan);
}

.crm-status--sent {
  background: rgba(255,200,0,0.12);
  color: #ffc800;
}

.crm-status--done {
  background: rgba(100,200,100,0.12);
  color: #6fc96f;
}

/* ── FLOW STEPS (Vállalkozói oldal) ── */
.flow-steps {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  transition: border-color 0.2s;
}

.flow-step:hover {
  border-color: var(--cyan);
}

.flow-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.flow-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.flow-arrow {
  text-align: center;
  color: var(--cyan);
  font-size: 1.4rem;
  padding: 6px 0;
  opacity: 0.5;
}

/* ── PELDA CHIPS (Ajánlatkérő form) ── */
.pelda-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pelda-chip {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}

.pelda-chip:hover,
.pelda-chip.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.07);
}

/* ── SERVICE SELECT (Ajánlatkérő form) ── */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.service-select-item {
  position: relative;
  cursor: pointer;
}

.service-select-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-select-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
  min-height: 52px;
}

.service-select-item:hover span,
.service-select-item.selected span {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.08);
}

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 900px) {
  .crm-teaser {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px 28px;
  }

  .crm-teaser-visual {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .cards[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── SCROLL ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}
