/* ============================================================
   HONLAP-DEBRECEN.HU  |  Modern Dev Portfolio Style
   ============================================================ */

/* ── Reset & CSS Variables ────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color palette */
  --bg-0: #060f1e;
  --bg-1: #0b1728;
  --bg-2: #0f2033;
  --bg-card: rgba(11, 23, 40, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);

  --accent: var(--accent-amber);
  /* sky-400 helyett amber */
  --accent-2: var(--accent-amber-2);
  /* sky-600 helyett amber-600 */
  --accent-3: #94a3b8;
  /* sky-300 helyett selyemszürke */
  --accent-warn: #f59e0b; /* amber – figyelmeztetés */
  
  --accent-amber: #fbbf24; /* amber-400 */
  --accent-amber-2: #f59e0b; /* amber-600 */
  --accent-orange: #d97706; /* amber-700 / orange */
  --accent-amber-dim: rgba(251, 191, 36, 0.12);

  --grad-hero: linear-gradient(135deg, #0f172a 0%, #f59e0b 100%);
  --grad-btn: linear-gradient(90deg, #f59e0b, #d97706);
  --grad-card: linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(245, 158, 11, 0.05));

  --text-100: #f0f6ff;
  --text-200: #94a3b8;
  --text-300: #64748b;

  --border: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(251, 191, 36, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 45px rgba(251, 191, 36, 0.12);

  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h: 80px;
  --section-gap: 160px;
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-0);
  color: var(--text-100);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-100);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 99px;
}

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-100);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-300);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.gradient-text {
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: .93rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-btn);
  color: var(--bg-0);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.45);
  filter: brightness(1.1);
}

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

.btn-outline:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(251, 191, 36, 0.06);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: var(--bg-glass-heavy);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  transition: transform var(--transition);
}

.logo-img:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  color: var(--text-200);
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text-100);
  background: var(--bg-glass-light);
}

.nav-link.active {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

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

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 85% 85%, rgba(2, 132, 199, 0.05) 0%, transparent 40%);
}

#matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.02;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 40px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--text-100);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-300);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column; /* Stack on mobile by default */
  gap: 16px;
  margin-bottom: 60px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-100);
  line-height: 1;
}

.stat-plus {
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-300);
  margin-top: 8px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Code Window */
.hero-visual {
  position: relative;
}

.code-window {
  background: rgba(15, 32, 51, 0.65); /* Áttetszőbb alap (Glassmorphism) */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.window-header {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #28c840;
}

.window-title {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-300);
}

.code-content {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.9;
}

.token-keyword {
  color: #c792ea;
}

.token-var {
  color: #82aaff;
}

.token-fn {
  color: #82aaff;
}

.token-op {
  color: var(--text-200);
}

.token-str {
  color: #c3e88d;
}

.token-bool {
  color: #f78c6c;
}

.token-num {
  color: #f78c6c;
}

.token-prop {
  color: #88ddff;
}

.token-punc {
  color: var(--text-200);
}

.token-comment {
  color: var(--text-300);
  font-style: italic;
}

.terminal-line {
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: .83rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-prompt {
  color: var(--accent-3);
}

.term-text {
  color: var(--text-200);
}

.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Floating badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 20, 37, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: 99px;
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 600;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: float 4s ease-in-out infinite;
}

.badge-seo {
  top: -18px;
  right: -20px;
  color: var(--accent-warn);
  border-color: rgba(245, 158, 11, 0.3);
}

.badge-mobile {
  bottom: -18px;
  right: -20px;
  color: var(--accent-3);
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Background Glow Effects */
.glow-bg {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.glow-purple {
  background: radial-gradient(circle, var(--accent-amber-2) 0%, transparent 70%);
  top: -20%;
  right: -10%;
}

.glow-blue {
  background: radial-gradient(circle, #0f172a 0%, transparent 70%);
  bottom: -20%;
  left: -10%;
  animation-delay: -4s;
  opacity: 0.15;
}

.glow-amber {
  background: radial-gradient(circle, var(--accent-amber) 0%, transparent 70%);
  width: 45vw;
  height: 45vw;
  opacity: 0.08;
  animation-delay: -2s;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.08; }
  100% { transform: scale(1.1) translate(5%, 5%); opacity: 0.16; }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--text-300);
  animation: fadeInUp 1s 1.5s both;
  transition: opacity 0.5s ease;
}

.hero-scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: var(--section-gap) 0;
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

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

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  transition: all var(--transition);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  background: var(--bg-glass-heavy);
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-100);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-300);
  line-height: 1.7;
}

/* ── Process ─────────────────────────────────────────────── */
.process {
  padding: var(--section-gap) 0;
  background: var(--bg-0);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.process-step {
  background: var(--bg-glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.process-step:hover {
  background: var(--bg-glass);
  border-color: var(--glass-border-light);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.05;
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 24px;
}

.process-step:hover .step-number {
  opacity: 0.1;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

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

.process-step p {
  font-size: .9rem;
  color: var(--text-200);
  line-height: 1.85;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: var(--section-gap) 0;
  background: var(--bg-1);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  transition: all var(--transition);
}

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

.pricing-featured {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(14, 165, 233, 0.08));
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.9) 0%, rgba(15, 32, 51, 0.95) 100%);
  border-color: var(--accent-warn);
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 15px 50px rgba(245, 158, 11, 0.15), 0 0 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-14px); /* Adjusted hover transform for featured card */
}

.pricing-badge-popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--grad-amber);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-currency {
  font-size: 1.1rem;
  color: var(--accent-amber);
  font-weight: 600;
}

.pricing-desc {
  font-size: .88rem;
  color: var(--text-200);
  margin-bottom: 28px;
  min-height: 54px;
}

.pricing-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-200);
}

.pricing-features li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── About ───────────────────────────────────────────────── */
.about {
  padding: var(--section-gap) 0;
  background: var(--bg-0);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-container {
  position: relative;
  display: inline-block;
}

.about-img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 5%; /* Even higher to prevent cutting the top of the head */
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  filter: grayscale(10%);
  transition: filter var(--transition);
}

.about-img:hover {
  filter: grayscale(0%);
}

.about-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  transform: none; /* Reset transform for mobile */
  background: var(--grad-btn);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.badge-years {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--bg-0);
  line-height: 1;
}

.badge-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(8, 13, 26, 0.7);
  white-space: nowrap;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: .78rem;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  transition: all var(--transition);
}

.tech-tag:hover {
  background: rgba(56, 189, 248, 0.2);
}

.about-text .section-tag {
  margin-bottom: 12px;
}

.about-text .section-title {
  margin-bottom: 20px;
  text-align: left;
}

.about-text p {
  color: var(--text-200);
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text-100);
}

.about-values {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
  font-size: .95rem;
}

.value-item p {
  color: var(--text-200);
  font-size: .85rem;
  margin: 0;
}

/* ── References ──────────────────────────────────────────── */
.references {
  padding: var(--section-gap) 0;
  background: var(--bg-1);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ref-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  cursor: pointer;
}

.ref-card:hover {
  background: var(--bg-glass-heavy);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ref-icon {
  font-size: 2.2rem;
  width: 64px;
  height: 64px;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--transition);
}

.ref-card:hover .ref-icon {
  transform: scale(1.1);
}

.ref-info {
  flex: 1;
}

.ref-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-100);
}

.ref-info p {
  font-size: 0.95rem;
  color: var(--text-300);
}

.ref-arrow {
  color: var(--text-300);
  transition: all var(--transition);
  font-size: 1.2rem;
}

.ref-card:hover .ref-arrow {
  color: var(--accent);
  transform: translateX(5px);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
  padding: var(--section-gap) 0;
  background: var(--bg-0);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  background: var(--bg-glass);
  border-color: var(--glass-border-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 20px;
  right: 32px;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  font-family: 'Outfit', sans-serif;
}

.stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-200);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
  flex: 1;
}

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

.author-info strong {
  display: block;
  font-size: 1rem;
  color: var(--text-100);
  font-weight: 600;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-300);
}

/* ── Articles Carousel ──────────────────────────────────── */
.articles {
  padding: var(--section-gap) 0;
  background: var(--bg-1);
}

.article-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  position: relative;
}

.article-card:hover {
  background: var(--bg-glass-heavy);
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.article-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent);
  margin-bottom: 20px;
  width: fit-content;
}

.article-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--text-100);
}

.article-card p {
  font-size: 0.95rem;
  color: var(--text-300);
  line-height: 1.75;
  margin-bottom: 28px;
  flex: 1;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: all var(--transition);
}

.article-link:hover {
  gap: 12px;
}

/* Carousel Nav Buttons */
.carousel-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  flex-shrink: 0;
}

.carousel-nav:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(56, 189, 248, 0.05);
}

.carousel-nav:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.dot-indicator.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  padding: var(--section-gap) 0;
  background: var(--bg-0);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-300);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), padding .3s;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: .9rem;
  color: var(--text-200);
  line-height: 1.7;
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 50%, rgba(245, 158, 11, 0.03) 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-text p {
  color: var(--text-200);
  font-size: 1rem;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
  padding: var(--section-gap) 0;
  background: var(--bg-0);
}

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

.contact-info .section-title {
  text-align: left;
}

.contact-info p {
  color: var(--text-200);
  margin-bottom: 32px;
}

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

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: .85rem;
  color: var(--text-300);
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  font-size: .97rem;
  color: var(--text-100);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-200);
}

.form-group input,
.form-group textarea {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: .92rem;
  color: var(--text-100);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-300);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #040a16;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  padding-top: 64px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .footer-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  filter: none;
  opacity: 0.85;
}


.footer-brand p {
  font-size: .88rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 32px 24px; /* Reduced padding for small screens */
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }

  /* Új Mobil Menü Overlay */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #060f1e;
    background: #060f1e;
    z-index: 10000000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    align-items: center;
  }

  .mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .mobile-nav-link.active {
    color: var(--accent-amber);
    background: rgba(251, 191, 36, 0.1);
    border-radius: 12px;
  }

  .about-tags {
    justify-content: center !important;
  }

  .about-img {
    object-position: 50% 5% !important;
  }

  .nav-link.active {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.2) !important;
    font-weight: 800 !important;
    border-radius: 8px;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 16px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pricing-featured {
    transform: none;
    order: -1;
    grid-column: span 2;
  }

  .about-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 48px;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .pricing-grid, .ref-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-featured {
    grid-column: auto;
  }

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

  .hero-title {
    font-size: 2.6rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 60px;
  }

  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .ref-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 100%;
  }

  .logo-img {
    height: 40px;
  }
}

/* ── Cookie Consent Banner ───────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  border-radius: 16px;
  padding: 24px;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content h3 {
  font-size: 1.1rem;
  color: var(--text-100);
  margin-bottom: 8px;
}

.cookie-content p {
  color: var(--text-200);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-content a {
  color: var(--accent-warn);
  text-decoration: underline;
  text-decoration-color: rgba(245, 158, 11, 0.4);
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-buttons .cookie-btn-accept {
  width: 100%;
  padding: 12px;
  border: none;
  background: var(--accent-warn);
  color: #000;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-buttons .cookie-btn-accept:hover {
  background: #d97706; /* sötétebb amber */
}

.cookie-btn-outline {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-200);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-100);
}
