/* ============================================
   REVUCZKY SERVICE – LANDING PAGE STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --bg:         #1a1a1a;
  --bg2:        #222222;
  --bg3:        #2a2a2a;
  --surface:    #2f2f2f;
  --border:     #3a3a3a;
  --orange:     #f07621;
  --orange-dk:  #c95e10;
  --orange-lt:  #ffa04a;
  --steel:      #8fa0b0;
  --text:       #e8e0d5;
  --text-muted: #8a8a8a;
  --white:      #ffffff;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(0,0,0,0.45);
}

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

html { scroll-behavior: smooth; }

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

/* ---------- TYPOGRAPHY ---------- */

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* ---------- NAVIGATION ---------- */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.5px;
}

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

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--orange-dk) !important; color: var(--white) !important; }

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 20px 5%;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; color: var(--orange); }

/* ---------- HERO ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(240,118,33,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(143,160,176,0.06) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,118,33,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,118,33,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,118,33,0.15);
  border: 1px solid rgba(240,118,33,0.3);
  color: var(--orange-lt);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  color: var(--white);
  margin-bottom: 8px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 .accent { color: var(--orange); }

.hero-subtitle {
  font-size: clamp(18px, 3vw, 26px);
  color: var(--steel);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(500px, 45vw);
  z-index: 1;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,118,33,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ---------- SECTIONS ---------- */

section { padding: 90px 5%; }

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 12px;
}

/* ---------- STATS STRIP ---------- */

.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 5%;
}

.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- FEATURES ---------- */

#features { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.feature-card:hover { transform: translateY(-4px); border-color: rgba(240,118,33,0.3); box-shadow: var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px;
  background: rgba(240,118,33,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- HOW IT WORKS ---------- */

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

.steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: 0 20px 20px;
}

.step-number {
  width: 72px; height: 72px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step:hover .step-number {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.step h4 { font-size: 20px; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ---------- PRICING ---------- */

#pricing { background: var(--bg2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 30px;
  transition: all 0.3s;
}

.pricing-card.featured {
  background: linear-gradient(135deg, #2a2a2a, #222);
  border-color: var(--orange);
  position: relative;
}

.pricing-card.featured::before {
  content: 'LEGNÉPSZERŰBB';
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pricing-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 4px;
}

.pricing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span { font-size: 22px; color: var(--text-muted); }

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.dim { color: var(--text-muted); }
.pricing-features li.dim::before { content: '–'; color: var(--border); }

/* ---------- DEMO ---------- */

#demo {
  background: linear-gradient(135deg, rgba(240,118,33,0.08), rgba(143,160,176,0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.demo-inner {
  max-width: 700px;
  margin: 0 auto;
}

.demo-inner h2 { font-size: clamp(36px, 5vw, 60px); color: var(--white); margin-bottom: 16px; }
.demo-inner p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; }

.demo-login-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  max-width: 400px;
  margin: 0 auto 32px;
  text-align: left;
}

.demo-login-box h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 20px;
  text-align: center;
}

.demo-field {
  margin-bottom: 14px;
}

.demo-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.demo-field input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.demo-field input:focus { border-color: var(--orange); }

.demo-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ---------- CONTACT ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(32px, 4vw, 50px); color: var(--white); margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }

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

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

.contact-item-text strong { display: block; color: var(--white); font-size: 15px; }
.contact-item-text span { font-size: 14px; color: var(--text-muted); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}

.contact-form h3 { font-size: 24px; color: var(--white); margin-bottom: 24px; }

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 11px 14px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); }

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

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

.form-success {
  display: none;
  background: rgba(240,118,33,0.1);
  border: 1px solid rgba(240,118,33,0.3);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: var(--orange-lt);
  font-weight: 700;
  margin-top: 16px;
}

/* ---------- FOOTER ---------- */

footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 5% 28px;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

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

.footer-links h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

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

.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* ---------- MOCK APP VISUAL ---------- */

.app-mock {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.app-mock-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-mock-dots { display: flex; gap: 6px; }
.app-mock-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.app-mock-title {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}

.app-mock-body { padding: 20px; }

.mock-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mock-month {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.mock-nav { display: flex; gap: 8px; }
.mock-nav button {
  width: 28px; height: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.mock-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 4px;
}

.mock-weekday {
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  padding: 4px 0;
}

.mock-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.mock-day {
  aspect-ratio: 1;
  background: var(--bg3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.mock-day.today { background: rgba(240,118,33,0.2); color: var(--orange); font-weight: 700; }
.mock-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
}

.mock-day.empty { background: transparent; }

.mock-events {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-event {
  background: var(--surface);
  border-left: 3px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-event-name { font-size: 12px; color: var(--text); font-weight: 700; }
.mock-event-meta { font-size: 11px; color: var(--text-muted); }

.mock-status {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.status-done { background: rgba(40,200,80,0.15); color: #28c840; }
.status-wip { background: rgba(240,118,33,0.15); color: var(--orange); }
.status-wait { background: rgba(143,160,176,0.15); color: var(--steel); }

/* ---------- ANIMATIONS ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .hero-visual { width: min(380px, 42vw); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { flex-direction: column; padding-top: 110px; }
  .hero-visual { display: none; }
  .steps::before { display: none; }
  .steps { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
