/* VK Yazılım — Shield UI Theme (modern SaaS / UI animation) */
:root {
  --void: #06060f;
  --void-2: #0c0c1a;
  --glass: rgba(99, 102, 241, 0.04);
  --glass-hover: rgba(139, 92, 246, 0.08);
  --glass-border: rgba(139, 92, 246, 0.14);
  --glass-shine: rgba(167, 139, 250, 0.1);
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --accent-hot: #6366f1;
  --cyan: #22d3ee;
  --text: #f4f4ff;
  --text-soft: #a8a8c8;
  --text-muted: #6b6b8a;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #a78bfa 100%);
  --gradient-glow: linear-gradient(135deg, #6366f1, #8b5cf6, #22d3ee, #8b5cf6, #6366f1);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --header-h: 76px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1140px, 92%); margin: 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, .section-head h2 { font-family: var(--font-display); }

/* ===== MESH BACKGROUND ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, #12122a 0%, var(--void) 55%),
    radial-gradient(ellipse at 80% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(34, 211, 238, 0.05) 0%, transparent 45%);
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.mesh-blob-1 {
  width: 55vw; height: 55vw; max-width: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  top: -10%; left: 50%;
  transform: translateX(-50%);
  animation: meshPulse1 10s ease-in-out infinite;
}

.mesh-blob-2 {
  width: 40vw; height: 40vw; max-width: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  bottom: 10%; right: -10%;
  animation: meshPulse2 12s ease-in-out infinite;
}

.mesh-blob-3 {
  width: 35vw; height: 35vw; max-width: 420px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, transparent 70%);
  top: 40%; left: -8%;
  animation: meshPulse3 14s ease-in-out infinite;
}

.mesh-blob-4 {
  width: 30vw; height: 30vw; max-width: 360px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
  bottom: 30%; right: 20%;
  animation: meshPulse4 11s ease-in-out infinite;
}

@keyframes meshPulse1 {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(1.12); opacity: 1; }
}

@keyframes meshPulse2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, 15px) scale(1.08); }
}

@keyframes meshPulse3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -12px); }
}

@keyframes meshPulse4 {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}

.ui-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 5%, transparent 75%);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ===== GLASS ===== */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--spot-x) var(--spot-y),
    rgba(139, 92, 246, 0.15),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.ui-border {
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(167, 139, 250, 0.12),
    0 8px 40px rgba(99, 102, 241, 0.15),
    0 0 60px rgba(99, 102, 241, 0.06);
  animation: uiBorderGlow 5s ease-in-out infinite;
}

@keyframes uiBorderGlow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(167,139,250,0.12), 0 8px 40px rgba(99,102,241,0.12), 0 0 40px rgba(99,102,241,0.04); }
  50% { box-shadow: inset 0 1px 0 rgba(167,139,250,0.18), 0 8px 50px rgba(99,102,241,0.22), 0 0 80px rgba(139,92,246,0.1); }
}

.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
}

.header.scrolled {
  background: rgba(6, 6, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

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

.nav-logo img { height: 36px; filter: brightness(1.1); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 100px;
  transition: all var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-bright);
  background: rgba(139, 92, 246, 0.1);
}

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin-left: 8px;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

.scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 80%, 100% { transform: translateX(-100%); }
  40% { transform: translateX(100%); }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 36px rgba(139, 92, 246, 0.45);
}

.btn-secondary {
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-shine);
}

.btn-secondary:hover {
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.95);
  color: var(--void);
}

.btn-outline {
  background: transparent;
  color: var(--accent-bright);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; }
.btn-block { width: 100%; }

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 3;
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-head p { color: var(--text-soft); font-size: 1.0625rem; }

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-wrap { text-align: center; margin-top: 40px; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-text h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: var(--text-soft);
  font-size: 1.0625rem;
  margin-bottom: 28px;
}

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

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chips span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(8px);
}

/* Hero UI Mockup */
.hero-visual { position: relative; }

.hero-mockup-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-mockup {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--glass-border);
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-title {
  margin-left: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body { padding: 24px; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-stat {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.mockup-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mockup-stat span {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mockup-chart {
  height: 120px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.mockup-chart-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(99,102,241,0.15) 100%);
}

.mockup-chart-line svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 80%;
}

.mockup-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }

.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 0.75rem;
  color: var(--text-soft);
}

.mockup-row-bar {
  flex: 1;
  height: 6px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.mockup-row-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--gradient);
  animation: barGrow 2s ease-out forwards;
}

@keyframes barGrow {
  from { width: 0; }
}

.mockup-row:nth-child(1) .mockup-row-fill { width: 92%; animation-delay: 0.2s; }
.mockup-row:nth-child(2) .mockup-row-fill { width: 78%; animation-delay: 0.4s; }
.mockup-row:nth-child(3) .mockup-row-fill { width: 65%; animation-delay: 0.6s; }

.hero-float-badge {
  position: absolute;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  z-index: 2;
  white-space: nowrap;
}

.hero-float-badge strong {
  display: block;
  font-size: 0.8125rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.hero-float-badge small {
  font-size: 0.6875rem;
  color: var(--text-soft);
}

.badge-1 {
  top: 5%;
  left: -6%;
  animation: badgeFloat1 5s ease-in-out infinite;
}

.badge-2 {
  top: 45%;
  right: -8%;
  animation: badgeFloat2 5.5s ease-in-out infinite;
}

.badge-3 {
  bottom: 8%;
  left: 2%;
  animation: badgeFloat3 4.8s ease-in-out infinite;
}

@keyframes badgeFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes badgeFloat2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(4px); }
}

@keyframes badgeFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Stats */
.stats-bar { padding: 0 0 48px; }

.glass-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.glass-bar > div {
  border-right: 1px solid var(--glass-border);
}

.glass-bar > div:last-child { border-right: none; }

.stats-row strong,
.stat-num {
  display: block;
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-percent,
.mockup-stat strong {
  white-space: nowrap;
}

.stats-row span,
.glass-bar span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
  line-height: 1.35;
}

.category-item:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  background: var(--glass-hover);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
  color: var(--accent-bright);
}

/* Packages */
.pkg-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.pkg-tab {
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-soft);
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--ease);
}

.pkg-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.3);
}

.pkg-panel { display: none; animation: fadeUp 0.45s ease; }
.pkg-panel.active { display: block; }
.pkg-panel[hidden] { display: none !important; }

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

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

.pkg-grid-3 { grid-template-columns: repeat(3, 1fr); }

.pkg-card {
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--ease);
  position: relative;
}

.pkg-card:hover { transform: translateY(-6px); }

.pkg-card.featured {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(99, 102, 241, 0.12);
}

.pkg-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--gradient);
  color: #fff;
  border-radius: 100px;
}

.pkg-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.price {
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.pkg-card ul { margin-bottom: 24px; }

.pkg-card li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pkg-card li::before {
  content: '— ';
  color: var(--accent);
  font-size: 0.625rem;
}

/* Blog */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-post {
  border-radius: var(--radius);
  padding: 32px 36px;
  transition: transform var(--ease), border-color var(--ease);
}

.blog-post:hover {
  transform: translateX(6px);
  border-color: rgba(139, 92, 246, 0.2);
}

.blog-cat {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.blog-post h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.blog-post p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

.blog-post strong { color: var(--text); font-weight: 600; }

.blog-kw {
  font-size: 0.6875rem;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 14px;
}

.blog-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.blog-cta:hover { color: var(--cyan); }

.blog-page-hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 24px;
}

.blog-page-hero .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.blog-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 16px;
}

.blog-back {
  margin-top: 24px;
}

/* 404 */
.error-page {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.error-page-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 7rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 12px 0 16px;
}

.error-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

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

.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--ease);
}

.faq-item[open] { border-color: rgba(139, 92, 246, 0.3); }

.faq-item summary {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent-bright);
  flex-shrink: 0;
  transition: transform var(--ease);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 22px 18px;
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.faq-item a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer-contact {
  font-style: normal;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.footer-contact a {
  color: var(--text-soft);
  transition: color var(--ease);
}

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

/* CTA Banner */
.cta-banner { padding: 64px 0; }

.cta-banner-inner {
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius);
}

.cta-banner-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner-inner p {
  color: var(--text-soft);
  margin-bottom: 28px;
}

.cta-banner-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.contact-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.contact-wa {
  display: inline-block;
  padding: 12px 20px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 12px;
  transition: transform var(--ease);
}

.contact-wa:hover { transform: scale(1.05); }

.contact-mail { font-size: 0.875rem; color: var(--text-muted); }

.contact-form {
  border-radius: var(--radius);
  padding: 32px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.field textarea { resize: vertical; min-height: 100px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: #f87171;
  min-height: 1.2em;
}

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.5);
}

/* Footer */
.footer {
  position: relative;
  z-index: 3;
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-inner { text-align: center; }

.footer-inner img {
  margin: 0 auto 20px;
  opacity: 0.95;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--ease);
}

.footer-nav a:hover { color: var(--accent-bright); }

.footer-inner > p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* WhatsApp */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  color: inherit;
  animation: waBounce 2.5s ease-in-out infinite;
  transition: transform var(--ease);
}

.wa-widget:hover {
  transform: scale(1.03);
  animation: none;
}

.wa-text {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  background: rgba(12, 12, 26, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(37, 211, 102, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wa-float {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
}

.wa-float svg { width: 28px; height: 28px; }

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Notice Popup */
.notice-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
}

.notice-popup[hidden] { display: none; }

.notice-popup.is-visible {
  animation: noticeFadeIn 0.35s ease;
}

.notice-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 15, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.notice-modal {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  border-radius: var(--radius);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 48px rgba(99, 102, 241, 0.15);
  animation: noticeSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.notice-body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.notice-visual {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  animation: noticeSadBob 2.5s ease-in-out infinite;
}

.notice-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notice-content { flex: 1; min-width: 0; }

.notice-badge {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
}

.notice-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.notice-content p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 10px;
}

.notice-content strong { color: var(--text); }

.notice-sub {
  font-size: 0.8125rem !important;
  color: var(--text-muted) !important;
}

.notice-close {
  margin-top: 16px;
  width: 100%;
  min-height: 44px;
}

@keyframes noticeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes noticeSadBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

body.notice-open { overflow: hidden; }

.notice-fab {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  right: 16px;
  z-index: 98;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 50%;
  background: rgba(12, 12, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
  cursor: pointer;
  font-size: 1.625rem;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: noticeFabIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.notice-fab[hidden] { display: none; }

.notice-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.4);
}

.notice-fab span {
  display: block;
  animation: noticeSadBob 2.5s ease-in-out infinite;
}

@keyframes noticeFabIn {
  from {
    opacity: 0;
    transform: scale(0.3) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner,
  .contact-wrap { grid-template-columns: 1fr; }

  .hero-mockup-wrap { max-width: 100%; }
  .badge-1 { left: 0; }
  .badge-2 { right: 0; }

  .category-grid,
  .pkg-grid,
  .pkg-grid-3 { grid-template-columns: repeat(2, 1fr); }

  .glass-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .glass-bar > div { border-right: none; border-bottom: 1px solid var(--glass-border); padding-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mesh-blob { opacity: 0.3; }
}

/* ===== MOBILE UX & TOUCH ===== */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .container { width: min(1140px, 94%); }

  .nav-link,
  .category-item,
  .pkg-tab,
  .btn,
  .faq-item summary,
  .contact-wa {
    min-height: 44px;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  .field input,
  .field textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .wa-widget {
    bottom: calc(16px + env(safe-area-inset-bottom, 0));
    right: calc(12px + env(safe-area-inset-right, 0));
    gap: 8px;
    max-width: calc(100vw - 24px);
  }

  .wa-text {
    font-size: 0.6875rem;
    padding: 10px 12px;
    max-width: 200px;
  }

  .wa-float {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 32px;
  }

  .hero-text h1 {
    font-size: clamp(1.625rem, 7vw, 2.25rem);
    letter-spacing: -0.02em;
  }

  .hero-text p { font-size: 1rem; }

  .mockup-title {
    font-size: 0.6875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
  }

  .pkg-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-left: -2%;
    margin-right: -2%;
    padding-left: 2%;
    padding-right: 2%;
  }

  .pkg-tabs::-webkit-scrollbar { display: none; }

  .pkg-tab {
    flex-shrink: 0;
    min-width: 88px;
  }

  .cta-banner-inner { padding: 36px 20px; }

  .cta-wrap .btn-lg {
    font-size: 0.875rem;
    padding: 14px 20px;
    white-space: normal;
    line-height: 1.4;
  }

  .blog-post h3 { font-size: 1.0625rem; }

  .blog-post p { font-size: 0.875rem; }

  .contact-text h2 { font-size: 1.625rem; }

  .contact-form { padding: 24px 20px; }

  .error-page-inner { padding: 36px 24px; }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn-lg { width: 100%; }

  .glass-bar > div:nth-child(3),
  .glass-bar > div:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; min-width: 44px; min-height: 44px; }

  .nav-logo img {
    height: 32px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: rgba(6, 6, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform var(--ease);
    overflow-y: auto;
    padding: 24px 16px;
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    width: min(280px, 88vw);
  }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .category-grid,
  .pkg-grid,
  .pkg-grid-3 { grid-template-columns: 1fr; }

  .category-item {
    padding: 16px 18px;
    font-size: 0.875rem;
  }

  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
  .blog-post { padding: 20px; }
  .section { padding: 56px 0; }
  .hero-float-badge { display: none; }
  .mockup-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mockup-stat { padding: 10px 6px; }
  .mockup-stat strong { font-size: 1rem; }
  .hero-chips span { font-size: 0.625rem; }
  .cta-banner-btns { flex-direction: column; }
  .cta-banner-btns .btn { width: 100%; }
  .footer-nav { gap: 12px 16px; }

  .notice-body {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .notice-visual { width: 100px; height: 100px; }

  .notice-content h2 { font-size: 1.125rem; }
}

@media (max-width: 380px) {
  .hero-chips { gap: 6px; }
  .mockup-stats { grid-template-columns: 1fr; }
  .stat-num, .stats-row strong { font-size: 1.625rem; }
}

/* Reduce backdrop blur on low-end mobile for performance */
@media (max-width: 768px) and (hover: none) {
  .glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  #particles { opacity: 0.5; }
}
