/* ============================================
   Centaur Studios — Portfolio Website
   Premium Dark Theme with Cosmic Aesthetics
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --bg-primary: #06080f;
  --bg-secondary: #0c1023;
  --bg-card: rgba(15, 20, 45, 0.6);
  --bg-card-hover: rgba(20, 28, 60, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-border: rgba(255, 255, 255, 0.08);

  --text-primary: #e8ecf4;
  --text-secondary: #8892a8;
  --text-muted: #4a5568;

  --accent-purple: #7c3aed;
  --accent-purple-soft: #a78bfa;
  --accent-cyan: #06b6d4;
  --accent-cyan-soft: #67e8f9;
  --accent-gold: #f59e0b;
  --accent-gold-soft: #fbbf24;
  --accent-pink: #ec4899;
  --accent-green: #10b981;

  --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #06b6d4 50%, #f59e0b 100%);
  --gradient-purple: linear-gradient(135deg, #7c3aed, #a78bfa);
  --gradient-cyan: linear-gradient(135deg, #06b6d4, #67e8f9);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
  --gradient-pink: linear-gradient(135deg, #ec4899, #f472b6);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --card-radius: 20px;
  --btn-radius: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.15);
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple-soft);
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Star Field Background ---------- */
.stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  backdrop-filter: blur(0px);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-glass-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 1px;
  transition: width var(--transition-base);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu button */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

.nav-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

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

/* ---------- Language Switcher ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  margin-left: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  padding: 0;
}

.lang-btn .lang-flag {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  transition: opacity var(--transition-base);
  opacity: 0.6;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn:hover .lang-flag {
  opacity: 1;
}

.lang-btn.active {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.15);
}

.lang-btn.active .lang-flag {
  opacity: 1;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  border-radius: 24px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.3));
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-purple);
  color: white;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--bg-glass-border);
  backdrop-filter: blur(12px);
}

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

/* ---------- Section Styling ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-purple-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

/* ---------- Product Card ---------- */
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all var(--transition-slow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

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

.product-card[data-accent="purple"]::before {
  background: var(--gradient-purple);
}

.product-card[data-accent="cyan"]::before {
  background: var(--gradient-cyan);
}

.product-card[data-accent="gold"]::before {
  background: var(--gradient-gold);
}

.product-card[data-accent="pink"]::before {
  background: var(--gradient-pink);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.card-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.card-icon.purple {
  background: rgba(124, 58, 237, 0.15);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.card-icon.cyan {
  background: rgba(6, 182, 212, 0.15);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.card-icon.gold {
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.card-icon.pink {
  background: rgba(236, 72, 153, 0.15);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}

.card-meta {
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-platform .platform-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.card-platform .platform-dot.ios { background: var(--accent-purple); }
.card-platform .platform-dot.android { background: var(--accent-green); }
.card-platform .platform-dot.web { background: var(--accent-cyan); }

.card-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-tag {
  padding: 5px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.store-badge.coming-soon {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-gold-soft);
  cursor: default;
}

.store-badge.coming-soon:hover {
  transform: none;
  background: rgba(245, 158, 11, 0.15);
}

/* ---------- Web Project Showcase ---------- */
.web-showcase {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.web-showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.web-showcase-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.web-showcase-visual {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(124, 58, 237, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}

.browser-mockup {
  width: 90%;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}

.web-showcase:hover .browser-mockup {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--bg-glass-border);
}

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

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

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 12px;
  border-radius: 6px;
  margin-left: 12px;
}

.browser-content {
  padding: 24px;
  min-height: 200px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(12, 16, 35, 0.8) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.browser-content-preview {
  padding: 0;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.browser-content-preview a {
  display: block;
  line-height: 0;
}

.browser-content-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.browser-content-preview:hover img {
  transform: scale(1.03);
}

.browser-content .mock-header {
  height: 24px;
  width: 60%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.browser-content .mock-text {
  height: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.browser-content .mock-text:nth-child(2) { width: 90%; }
.browser-content .mock-text:nth-child(3) { width: 75%; }
.browser-content .mock-text:nth-child(4) { width: 85%; }

.browser-content .mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.browser-content .mock-card {
  height: 80px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(12px);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
}

.stat-number.purple { color: var(--accent-purple-soft); }
.stat-number.cyan { color: var(--accent-cyan-soft); }
.stat-number.gold { color: var(--accent-gold-soft); }
.stat-number.green { color: var(--accent-green); }

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 14px;
  transition: all var(--transition-base);
}

.contact-channel:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-icon.email-icon {
  background: rgba(124, 58, 237, 0.15);
}

.channel-icon.github-icon {
  background: rgba(255, 255, 255, 0.08);
}

.channel-icon.instagram-icon {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.2), rgba(253, 29, 29, 0.2), rgba(252, 176, 69, 0.2));
}

.channel-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.channel-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--card-radius);
  padding: 36px;
  backdrop-filter: blur(12px);
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bg-glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

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

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-purple);
  color: white;
  border: none;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
}

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

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

.footer-brand {
  max-width: 300px;
}

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

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

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

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

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

.footer-col a:hover {
  color: var(--accent-purple-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--accent-purple-soft);
  transform: translateY(-2px);
}

/* ---------- Animations (Scroll Reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Legal Pages ---------- */
.legal-page {
  padding: 140px 24px 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-content .legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--accent-purple-soft);
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent-cyan);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color var(--transition-fast);
}

.legal-back:hover {
  color: var(--accent-purple-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .web-showcase-content {
    grid-template-columns: 1fr;
  }

  .web-showcase-visual {
    min-height: 300px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 8, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .lang-switcher {
    z-index: 1001;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }

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

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-links-group {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .browser-mockup {
    transform: none;
  }
}

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

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

  .card-actions {
    flex-direction: column;
  }

  .store-badge {
    justify-content: center;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 32px;
  }
}
