/* =========================================================================
   WINTERTRAY - MODERN TÉLI GLASSMORPHISM & WINDOWS 11 STÍLUSLAP (STYLE.CSS)
   ========================================================================= */

:root {
  --font-family: 'Segoe UI Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', Consolas, monospace;

  /* Színpaletta - Éjféli téli égbolt & jégkristályok */
  --bg-deep: #060913;
  --bg-surface: #0a1020;
  --bg-card: rgba(14, 23, 44, 0.65);
  --bg-card-hover: rgba(22, 34, 64, 0.82);
  --bg-glass: rgba(15, 23, 42, 0.55);
  --bg-glass-active: rgba(30, 48, 86, 0.7);

  /* Keretek és üveghatások */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-frost: rgba(186, 230, 253, 0.35);
  --border-glow: rgba(56, 189, 248, 0.5);

  /* Akcentszínek */
  --ice-primary: #38bdf8;
  --ice-light: #bae6fd;
  --ice-glow: rgba(56, 189, 248, 0.35);
  --aurora-cyan: #22d3ee;
  --aurora-violet: #818cf8;
  --aurora-purple: #c084fc;
  --frost-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Windows 11 lekerekítések */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Árnyékok */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --shadow-glow: 0 0 35px -5px rgba(56, 189, 248, 0.4);
  --shadow-mockup: 0 25px 60px -15px rgba(0, 0, 0, 0.75), 0 0 40px -10px rgba(56, 189, 248, 0.25);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================================
   ALAPOK ÉS RESET
   ========================================================================= */

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-deep);
  color: var(--frost-white);
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(129, 140, 248, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 15% 55%, rgba(34, 211, 238, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #060913 0%, #0a1020 35%, #070d1a 75%, #05070f 100%);
  background-attachment: fixed;
  color: var(--frost-white);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

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

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

/* =========================================================================
   CANVAS HÓHÁTTÉR
   ========================================================================= */

#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   HEADER & NAVIGÁCIÓ (WINDOWS 11 MICA SÁV)
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 14px 0;
  background: rgba(6, 9, 19, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(6, 9, 19, 0.88);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--frost-white);
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-icon-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(129, 140, 248, 0.25));
  border: 1px solid var(--border-frost);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--ice-glow);
}

.logo-icon-wrapper svg {
  width: 20px;
  height: 20px;
  color: var(--ice-primary);
  filter: drop-shadow(0 0 6px var(--ice-primary));
  animation: gentle-spin 24s linear infinite;
}

@keyframes gentle-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-name {
  background: linear-gradient(120deg, #ffffff 40%, var(--ice-light) 75%, var(--ice-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--ice-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ice-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--ice-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--frost-white);
  transition: all var(--transition-fast);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-frost);
  transform: translateY(-1px);
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(125, 211, 252, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all var(--transition-fast);
}

.btn-nav-download:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
  transform: translateY(-1px);
}

/* Mobil menü gomb */
.mobile-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--frost-white);
}

/* =========================================================================
   HERO BLOKK
   ========================================================================= */

.hero-section {
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
}

.hero-badge-wrapper {
  margin-bottom: 24px;
  display: inline-block;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--ice-light);
  box-shadow: 0 0 25px -4px rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(12px);
}

.pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, var(--ice-light) 50%, var(--ice-primary) 85%, var(--aurora-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.25);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px auto;
  font-weight: 400;
  line-height: 1.6;
}

/* Hero CTA Gombok */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-primary-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #075985 100%);
  border: 1px solid rgba(186, 230, 253, 0.4);
  color: #ffffff;
  box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all var(--transition-smooth);
  overflow: hidden;
  text-align: left;
}

.btn-primary-download::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.75s ease;
}

.btn-primary-download:hover::before {
  left: 100%;
}

.btn-primary-download:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 60%, #0369a1 100%);
  box-shadow: 0 15px 40px -5px rgba(14, 165, 233, 0.65), 0 0 25px rgba(56, 189, 248, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

.download-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-icon-box svg {
  width: 24px;
  height: 24px;
}

.download-text-box {
  display: flex;
  flex-direction: column;
}

.download-label {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-meta {
  font-size: 0.8rem;
  color: var(--ice-light);
  opacity: 0.9;
  font-weight: 500;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-glass);
  color: var(--frost-white);
  font-size: 0.98rem;
  font-weight: 600;
  backdrop-filter: blur(16px);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(30, 41, 69, 0.85);
  border-color: var(--border-frost);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: var(--shadow-subtle);
}

.btn-secondary svg {
  width: 20px;
  height: 20px;
  color: var(--ice-light);
}

.hero-quick-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 50px;
}

.hero-quick-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-quick-meta svg {
  width: 14px;
  height: 14px;
  color: var(--ice-primary);
}

/* =========================================================================
   APP BEMUTATÓ MOCK-UP KERET (WINDOWS 11 STÍLUSBAN)
   ========================================================================= */

.mockup-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

/* Havazás és jégcsap díszítés a mockupon */
.snow-cap {
  position: absolute;
  top: -9px;
  left: 6px;
  right: 6px;
  height: 14px;
  background: radial-gradient(ellipse at 50% 100%, #ffffff 0%, rgba(224, 242, 254, 0.95) 60%, rgba(186, 230, 253, 0) 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.icicles-decor {
  position: absolute;
  top: 36px;
  left: 20px;
  right: 20px;
  height: 24px;
  pointer-events: none;
  z-index: 10;
  display: flex;
  gap: 18px;
}

.icicle {
  position: relative;
  width: 6px;
  height: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(186, 230, 253, 0.8) 70%, rgba(56, 189, 248, 0.2) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.6));
  animation: icicle-drip 3s infinite ease-in-out;
}

.icicle:nth-child(2) { height: 12px; animation-delay: 0.8s; }
.icicle:nth-child(3) { height: 22px; animation-delay: 1.5s; }
.icicle:nth-child(4) { height: 14px; animation-delay: 2.2s; }
.icicle:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes icicle-drip {
  0%, 100% { opacity: 0.85; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.08); filter: drop-shadow(0 2px 5px rgba(56, 189, 248, 0.9)); }
}

.app-mockup {
  position: relative;
  background: rgba(14, 22, 42, 0.78);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-mockup);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  overflow: hidden;
  text-align: left;
}

/* Windows 11 Fejlécsáv */
.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(10, 16, 32, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  user-select: none;
}

.titlebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ice-light);
}

.titlebar-brand svg {
  width: 16px;
  height: 16px;
  color: var(--ice-primary);
}

.titlebar-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

.caption-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.caption-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.caption-btn.minimize { background: #eab308; }
.caption-btn.maximize { background: #22c55e; }
.caption-btn.close { background: #ef4444; }
.caption-btn:hover { opacity: 1; }

/* Mockup belső felépítés */
.mockup-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 400px;
}

/* Oldalsáv */
.mockup-sidebar {
  background: rgba(8, 13, 26, 0.7);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.sidebar-item.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--ice-light);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.sidebar-item svg {
  width: 18px;
  height: 18px;
  color: var(--ice-primary);
}

/* Fő vezérlőpult a mockupon belül */
.mockup-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(145deg, rgba(14, 23, 44, 0.4) 0%, rgba(9, 14, 28, 0.6) 100%);
}

.mockup-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-header-title h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

.mockup-header-title p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.interactive-preview-box {
  background: rgba(5, 8, 18, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.preview-sim-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--ice-light);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Windows 11 Fluent Toggles & Sliders a mockupon */
.mockup-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.setting-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.setting-card:hover {
  border-color: var(--border-glass);
}

.setting-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.setting-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--frost-white);
}

.setting-desc {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Windows 11 stílusú Toggle Switch */
.w11-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.w11-toggle.checked {
  background: var(--ice-primary);
  border-color: var(--ice-light);
  box-shadow: 0 0 12px var(--ice-glow);
}

.w11-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform var(--transition-bounce);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.w11-toggle.checked .w11-toggle-thumb {
  transform: translateX(20px);
  background: #041021;
}

/* Slider sor */
.slider-control-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.slider-val-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ice-light);
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.w11-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.w11-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ice-primary);
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 10px var(--ice-glow);
  transition: transform var(--transition-fast);
}

.w11-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* =========================================================================
   STATISZTIKA / METRIKA SÁV
   ========================================================================= */

.stats-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(8, 13, 26, 0.45);
  margin-top: 60px;
}

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

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

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 30%, var(--ice-light) 70%, var(--ice-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================================
   FUNKCIÓK SZEKCIÓ (GLASSMORPHISM KÁRTYÁK)
   ========================================================================= */

.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--ice-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-frost), transparent);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-frost);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(56, 189, 248, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
  color: var(--ice-primary);
}

.feature-card h3 {
  font-size: 1.24rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.feature-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--ice-light);
}

/* =========================================================================
   INTERAKTÍV HÓ-JÁTSZÓTÉR (SNOW PLAYGROUND WIDGET)
   ========================================================================= */

.playground-section {
  background: radial-gradient(circle at 50% 50%, rgba(14, 30, 60, 0.45) 0%, rgba(6, 9, 19, 0.8) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 60px 0;
}

.playground-card {
  background: rgba(14, 22, 42, 0.7);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.playground-info {
  max-width: 440px;
}

.playground-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.playground-info p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.playground-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pg-control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}

.pg-control-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.btn-flurry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(129, 140, 248, 0.25) 100%);
  border: 1px solid var(--border-frost);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2);
  transition: all var(--transition-fast);
}

.btn-flurry:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(129, 140, 248, 0.4) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* =========================================================================
   KIADÁSOK & CHANGELOG (IDŐVONAL SZEKCIÓ)
   ========================================================================= */

.changelog-section {
  position: relative;
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 20px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--ice-primary) 0%, rgba(56, 189, 248, 0.3) 70%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-node {
  position: absolute;
  top: 6px;
  left: -36px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0b1328;
  border: 2px solid var(--ice-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--ice-primary);
}

.timeline-node-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ice-light);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  transition: border-color var(--transition-fast);
}

.timeline-card:hover {
  border-color: var(--border-frost);
}

.release-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.release-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.release-version {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.release-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.release-badge.beta {
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.release-date {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.release-download-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-release-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(125, 211, 252, 0.4);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-release-dl:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-1px);
}

.btn-release-portable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--ice-light);
  font-size: 0.84rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.btn-release-portable:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass);
}

.release-highlights {
  list-style: none;
  margin-bottom: 20px;
}

.release-highlights li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: #e2e8f0;
}

.release-highlights li::before {
  content: '❄';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--ice-primary);
  font-size: 0.85rem;
}

/* Részletes kategóriák (Új funkciók, Javítások) */
.changelog-category {
  margin-top: 16px;
  background: rgba(8, 13, 26, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  border: 1px solid var(--border-subtle);
}

.category-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ice-light);
  margin-bottom: 8px;
}

.category-items {
  list-style: disc;
  padding-left: 18px;
}

.category-items li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.release-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}

.sha-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.sha-box:hover {
  background: rgba(56, 189, 248, 0.1);
  color: var(--ice-light);
}

.sha-box code {
  font-family: var(--font-mono);
}

/* =========================================================================
   RENDSZERKÖVETELMÉNYEK
   ========================================================================= */

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.req-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.req-card-header svg {
  width: 24px;
  height: 24px;
  color: var(--ice-primary);
}

.req-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.req-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.req-label {
  color: var(--text-muted);
}

.req-val {
  font-weight: 600;
  color: var(--frost-white);
  text-align: right;
}

/* =========================================================================
   GYIK (FAQ) HARMONIKA SZEKCIÓ
   ========================================================================= */

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

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

.faq-item:hover {
  border-color: var(--border-frost);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--ice-primary);
  transition: transform var(--transition-smooth);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  background: rgba(8, 13, 26, 0.4);
}

.faq-answer-inner {
  padding: 0 24px 20px 24px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================================
   ZÁRÓ CALL-TO-ACTION (CTA) BANNER
   ========================================================================= */

.cta-banner-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.25) 0%, rgba(14, 23, 44, 0.85) 75%);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--ice-light);
  max-width: 600px;
  margin: 0 auto 32px auto;
}

/* =========================================================================
   LÁBLÉC (FOOTER)
   ========================================================================= */

.site-footer {
  background: #040710;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  position: relative;
  z-index: 10;
}

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

.footer-brand-col {
  max-width: 360px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

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

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

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* =========================================================================
   TOAST ÉRTESÍTŐ
   ========================================================================= */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  pointer-events: none;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: rgba(14, 23, 44, 0.95);
  border: 1px solid var(--border-frost);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================================================
   RESZPONZIVITÁS & MOBIL NÉZETEK
   ========================================================================= */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }

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

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

  .mockup-settings-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-download, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .timeline-container {
    padding-left: 24px;
  }

  .timeline-node {
    left: -24px;
    width: 20px;
    height: 20px;
  }

  .timeline-card {
    padding: 20px;
  }

  .playground-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

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