/* CSS Reset & Variables */
:root {
  --bg-primary: #ffffff;
  --bg-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #3b82f6 100%);
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-accent: #06b6d4;
  --bg-dark: #1e293b;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #ffffff;
  --text-muted: #94a3b8;
  --brand-primary: #22c55e;
  --brand-secondary: #16a34a;
  --accent: #3b82f6;
  --accent-secondary: #2563eb;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-family: 'Changa', 'Arial Black', 'Trebuchet MS', sans-serif;
}

/* Complete CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  vertical-align: baseline;
}

/* Remove any unwanted outlines or borders */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* -------------------------------------------------- */
/* Shared Page Layout Enhancements for Inner Pages    */
/* -------------------------------------------------- */
.page-hero { position:relative; padding:4.5rem 0 3.5rem; background:linear-gradient(135deg,#4f46e5 0%,#6366f1 40%,#3b82f6 100%); color:#fff; overflow:hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 18% 78%,rgba(255,255,255,0.12) 0%,rgba(255,255,255,0) 65%),radial-gradient(circle at 82% 22%,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0) 55%); pointer-events:none; }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { font-size:clamp(2rem,4.5vw,3.2rem); font-weight:800; line-height:1.15; margin:0 0 1rem; letter-spacing:-.5px; }
.page-hero p.lead { font-size:clamp(1rem,1.4vw,1.25rem); max-width:880px; font-weight:300; line-height:1.55; color:rgba(255,255,255,0.9); }

.content-wrapper { padding:3rem 0 4.5rem; background:var(--bg-primary); }
.content-wrapper.alt { background:var(--bg-secondary); }
.content-section { max-width:960px; margin:0 auto 3rem; background:#ffffff; border:1px solid #e2e8f0; border-radius:1.25rem; padding:2.2rem 2.2rem 2.4rem; box-shadow:0 4px 14px -4px rgba(15,23,42,.12),0 2px 6px -2px rgba(15,23,42,.06); transition:box-shadow .35s ease, transform .35s ease; }
.content-section:hover { transform:translateY(-4px); box-shadow:0 10px 32px -8px rgba(30,64,175,.25),0 4px 14px -4px rgba(30,64,175,.15); }
.content-section h2 { font-size:1.4rem; font-weight:800; letter-spacing:.5px; margin:0 0 1rem; color:#0f172a; position:relative; padding-left:.75rem; }
.content-section h2::before { content:""; position:absolute; left:0; top:6px; bottom:6px; width:4px; border-radius:2px; background:linear-gradient(180deg,#6366f1,#3b82f6); }
.content-section p, .content-section li { font-size:.95rem; line-height:1.7; color:#23313f; }
.content-section ul { list-style:disc; margin:0 0 1rem 1.2rem; padding:0; }
.content-section ul li { margin:0 0 .55rem; }
.content-section code { background:#1e293b; color:#fff; padding:2px 6px; border-radius:6px; font-size:.75rem; }

@media (max-width:640px){
  .page-hero { padding:3.5rem 0 2.5rem; }
  .page-hero h1 { font-size:clamp(1.7rem,7vw,2.3rem); }
  .content-section { padding:1.65rem 1.35rem 1.8rem; }
  .content-section h2 { font-size:1.15rem; }
}

/* Reset list styles */
ol, ul {
  list-style: none;
}

/* Reset table styles */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Reset form elements */
input, textarea, select, button {
  font-family: var(--font-family);
  font-size: inherit;
  line-height: inherit;
}

/* Reset quote styles */
blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
}

a:hover {
  color: var(--accent-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-primary);
  transition: transform 0.2s ease;
  letter-spacing: 0.02em;
  height: 48px;
}

.brand:hover {
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--text-primary);
}

.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 48px;
}

#navToggle {
  display: none;
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

#navToggle:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  height: 36px;
  line-height: 1;
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
  text-decoration: none;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.2s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after {
  width: 80%;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  overflow: hidden;
  background: var(--accent);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
  z-index: 1001;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
/* Main Content Styles */
main {
  flex: 1;
}

/* Hero Section */
.hero {
  background: var(--bg-hero);
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.5;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-placeholder {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: float 3s ease-in-out infinite;
}

.hero-character {
  animation: float 3s ease-in-out infinite;
  max-width: 100%;
  height: auto;
}

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

/* Hero Badges */
.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #2c3e50;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

/* Quick Download Section */
.quick-download {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.download-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.download-quick-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.download-quick-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(74, 144, 226, 0.2);
  border-color: var(--primary-color);
}

.platform-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  height: 100px;
}

.platform-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.download-quick-card:hover .platform-icon img {
  transform: scale(1.1);
}

.download-quick-card h3 {
  color: var(--dark-color);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.download-quick-card p {
  color: #666;
  margin-bottom: 25px;
}

/* New System Requirements Cards */
.requirements-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:2.5rem; margin-top:2.5rem; }
.platform-showcase { position:relative; overflow:hidden; padding:6rem 0; background:var(--bg-primary); }
.platform-showcase::before,
.platform-showcase::after { content:""; position:absolute; inset:0; pointer-events:none; }
.platform-showcase::before { background:radial-gradient(circle at 20% 78%, rgba(79,132,255,0.10) 0%, rgba(79,132,255,0) 60%),radial-gradient(circle at 82% 22%, rgba(108,75,239,0.12) 0%, rgba(108,75,239,0) 55%); opacity:.9; }
.platform-showcase::after { background:radial-gradient(circle at 50% -10%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%); mix-blend-mode:overlay; opacity:.55; }
.platform-showcase .container { position:relative; z-index:1; }
.requirement-card { background:#ffffffcc; backdrop-filter:blur(4px); border:1px solid #d4d9e2; border-radius:20px; padding:2.1rem 1.6rem 2.3rem; position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; justify-content:flex-start; min-height:480px; box-shadow:0 4px 12px -2px rgba(16,36,94,0.08),0 2px 4px -1px rgba(16,36,94,0.05); transition:box-shadow .35s ease, transform .35s ease, border-color .35s ease; }
.requirement-card::after { content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(140deg, rgba(108,75,239,0.10), rgba(79,132,255,0)); opacity:0; transition:opacity .35s ease; pointer-events:none; }
.requirement-card:hover { transform:translateY(-6px); box-shadow:0 10px 28px -6px rgba(16,36,94,0.18),0 4px 14px -3px rgba(16,36,94,0.12); border-color:#6c4bef; }
.requirement-card:hover::after { opacity:1; }
.requirement-card:hover { transform:translateY(-6px); box-shadow:0 10px 34px -4px rgba(30,64,175,0.26); }
.req-heading { text-align:center; font-size:1.05rem; letter-spacing:.9px; font-weight:800; text-transform:uppercase; line-height:1.3; margin:0 0 1.2rem; color:#101d2c; }
.req-heading .req-sub { font-size:.74rem; font-weight:700; color:#334155; letter-spacing:.85px; display:block; margin-bottom:.2rem; }
.req-heading .req-for { font-size:1.45rem; font-weight:700; text-transform:none; display:inline-block; margin-top:.2rem; }
.requirement-card strong { font-weight:800; font-size:1.45rem; background:linear-gradient(90deg,#6c4bef,#4f84ff); -webkit-background-clip:text; color:transparent; }
.req-list { list-style:none; padding:0; margin:0 0 2rem; font-size:.83rem; line-height:1.65; color:#253544; font-weight:500; max-width:320px; }
.req-list li { margin:0 0 .6rem; padding-left:0; }
.req-platform-icon { width:clamp(90px,8vw,120px); height:clamp(90px,8vw,120px); display:flex; align-items:center; justify-content:center; margin:0 auto 1.15rem; }
.req-platform-icon img { width:80%; height:80%; object-fit:contain; filter:drop-shadow(0 6px 14px rgba(0,0,0,0.18)); transition:transform .55s ease, filter .55s ease; }
.requirement-card:hover .req-platform-icon img { transform:translateY(-4px) scale(1.06); filter:drop-shadow(0 12px 22px rgba(0,0,0,0.22)); }
.btn.wide { display:block; width:100%; text-align:center; font-weight:700; padding:1.05rem 1.25rem; border-radius:2rem; font-size:.9rem; letter-spacing:.5px; }
@media (max-width:1100px){ .requirements-grid { gap:clamp(1.5rem,2vw,2.25rem); } }
@media (max-width:900px){ .requirement-card { min-height:460px; } }
@media (max-width:700px){ .requirement-card { min-height:440px; padding:2rem 1.5rem 2.2rem; } .req-heading .req-for { font-size:1.35rem; } }
@media (max-width:560px){ .requirements-grid { grid-template-columns:1fr; } .requirement-card { min-height:auto; } }

/* FAQ Section on Home */
.faq-section {
  padding: 80px 0;
  background: #ecf6ff !important;
  color: #000000;
}

.faq-section .section-title {
  color: #000000;
}

.faq-accordion {
  max-width: 1000px;
  margin: 40px auto 0;
}

.faq-item {
  background: white;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #000000;
  text-align: left;
  padding: 30px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 0, 0, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: #000000;
}

.faq-item[data-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.02);
}

.faq-answer.open {
  max-height: 200px;
  padding: 0 40px 30px;
}

.faq-answer p {
  color: #333333;
  line-height: 1.6;
  padding-top: 10px;
}

.faq-cta {
  text-align: center;
  margin-top: 50px;
}

.faq-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

/* Updated CTA Section */
.cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 50px 30px;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(103, 58, 183, 0.1) 100%);
  border-radius: 20px;
  border: 1px solid rgba(74, 144, 226, 0.2);
}

.cta-section h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-size: 2rem;
}

.cta-section p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Features Showcase */
.features-showcase {
  padding: 6rem 0;
  background: var(--bg-primary);
  min-height: 600px;
  display: block !important;
  visibility: visible !important;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #4A90E2;
  margin-bottom: 1rem;
}

/* Override specific section titles to black */
.features-showcase .section-title,
.platform-showcase .section-title { color:#000000; }

/* Mod Explainer Section */
.mod-explainer { padding:4rem 0 4.5rem; background:var(--bg-secondary); }
.mod-explainer h2 { text-align:center; font-size:2.2rem; font-weight:800; margin:0 0 2rem; color:#000; }
.mod-explainer p { max-width:960px; margin:0 auto 1.25rem; font-size:1rem; line-height:1.7; color:#23313f; }
.mod-explainer p strong { font-weight:800; }
@media (max-width:640px){
  .mod-explainer { padding:3.2rem 0 3.5rem; }
  .mod-explainer h2 { font-size:1.85rem; }
  .mod-explainer p { font-size:.9rem; }
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

.features-showcase { position:relative; overflow:hidden; }
.features-showcase::before,
.features-showcase::after { content:""; position:absolute; inset:0; pointer-events:none; }
.features-showcase::before { background:radial-gradient(circle at 18% 75%, rgba(79,132,255,0.10) 0%, rgba(79,132,255,0) 60%),radial-gradient(circle at 82% 25%, rgba(33,150,243,0.10) 0%, rgba(33,150,243,0) 55%); opacity:.85; }
.features-showcase::after { background:radial-gradient(circle at 50% -10%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%); mix-blend-mode:overlay; opacity:.55; }
.features-showcase .container { max-width:1600px; position:relative; z-index:1; }

/* Feature Cards Layout */
.features-container { display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(1.75rem,2vw,3rem); align-items:stretch; margin-top:2.75rem; }

@media (max-width: 1280px){ .features-container { gap:clamp(1.5rem,2vw,2.25rem); } }
@media (max-width: 1100px){ .features-container { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 640px){ .features-container { grid-template-columns:1fr; } .feature-card { min-height:400px; padding:1.85rem 1.3rem 2rem; } .feature-icon img { width: clamp(150px,55vw,180px); } }

.feature-card { background:#ffffffcc; backdrop-filter:blur(4px); border:1px solid #e2e8f0; border-radius:20px; padding:2.4rem 1.75rem 2.5rem; text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; box-shadow:0 4px 12px -2px rgba(16,36,94,0.08),0 2px 4px -1px rgba(16,36,94,0.05); transition:box-shadow .35s ease, transform .35s ease, border-color .35s ease; opacity:1; position:relative; min-height:470px; }
.feature-card::after { content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(140deg, rgba(79,132,255,0.10), rgba(79,132,255,0)); opacity:0; transition:opacity .35s ease; pointer-events:none; }
.feature-card:hover { transform:translateY(-6px); box-shadow:0 10px 28px -6px rgba(16,36,94,0.18),0 4px 14px -3px rgba(16,36,94,0.12); border-color:#c2d5ff; }
.feature-card:hover::after { opacity:1; }
.feature-card:focus-within { outline:2px solid #3b82f6; outline-offset:4px; }
.feature-card:hover .feature-icon img { transform:translateY(-4px) scale(1.04); filter:drop-shadow(0 10px 18px rgba(0,0,0,0.18)); }

.feature-icon { margin: 0 0 1.25rem; width:100%; }
.feature-icon img { width: clamp(180px,18vw,180px); height:auto; display:block; margin:0 auto; filter:drop-shadow(0 10px 22px rgba(0,0,0,0.18)); transition:transform .5s ease, filter .5s ease; }

.feature-card h3 { font-size:1.05rem; letter-spacing:0.9px; font-weight:800; margin:0 0 1.05rem; color:#101d2c; text-transform:uppercase; }
.feature-card p { font-size:0.83rem; line-height:1.7; color:#253544; margin:0 0 1.1rem; max-width:320px; }

.feature-tag { display:none !important; }

@keyframes featureFadeUp { 0% { opacity:0; transform:translateY(24px);} 100% { opacity:1; transform:translateY(0);} }
.features-container .feature-card { animation:featureFadeUp .8s cubic-bezier(.25,.6,.3,1) forwards; opacity:0; }
.features-container .feature-card:nth-child(1){ animation-delay:.05s; }
.features-container .feature-card:nth-child(2){ animation-delay:.15s; }
.features-container .feature-card:nth-child(3){ animation-delay:.25s; }
.features-container .feature-card:nth-child(4){ animation-delay:.35s; }
@media (prefers-reduced-motion: reduce){ .features-container .feature-card { animation:none; opacity:1; } .feature-icon img { transition:none; } }

.feature-tag { display:inline-block; background:#0d5de6; color:#fff; font-size:0.65rem; letter-spacing:0.3px; padding:6px 12px; border-radius:14px; text-decoration:none; font-weight:600; }
.feature-tag:hover { background:#094bb7; text-decoration:none; color:#fff; }

/* Ensure visibility */
.features-showcase .feature-card { opacity:1 !important; transform:none !important; }

/* Responsive adjustments handled above with grid media queries */

/* === Global Mobile & Responsive Enhancements === */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x:hidden; }

/* Navigation Mobile */
@media (max-width: 860px){
  #navToggle { display:inline-flex; align-items:center; gap:.4rem; font-size:.9rem; }
  .nav-menu { position:absolute; top:64px; right:1rem; background:rgba(255,255,255,0.96); backdrop-filter:blur(10px); flex-direction:column; align-items:stretch; padding:1rem 1.1rem 1.2rem; border:1px solid #dbe4f0; border-radius:18px; box-shadow:0 20px 40px -10px rgba(0,0,0,.15); width:min(250px,80vw); max-height:0; overflow:hidden; opacity:0; transform:translateY(-6px); transition:opacity .35s ease, transform .35s ease, max-height .45s cubic-bezier(.4,.65,.3,1); }
  .nav-menu.open { opacity:1; transform:translateY(0); max-height:420px; }
  .nav-menu a { width:100%; height:auto; padding:.85rem .9rem; justify-content:flex-start; font-size:.9rem; }
  .nav-menu a::after { display:none; }
}

/* Hero Mobile */
@media (max-width: 960px){
  .hero-content { grid-template-columns:1fr; gap:2.5rem; text-align:center; }
  .hero-text { order:2; }
  .hero-image { order:1; display:flex; justify-content:center; }
  .hero-character { max-width: clamp(240px,60vw,400px); }
  .hero { padding:3rem 0 4rem; }
  .hero h1 { font-size: clamp(2.1rem,6.5vw,3.2rem); line-height:1.1; }
  .hero p { font-size: clamp(.95rem,2.4vw,1.05rem); max-width:640px; margin:0 auto 1.2rem; }
  .hero-badges { justify-content:center; flex-wrap:wrap; }
}

@media (max-width:520px){
  .hero { padding:2.6rem 0 3.2rem; }
  .hero h1 { font-size: clamp(1.9rem,8.2vw,2.4rem); }
  .hero-badges .badge { font-size:.72rem; padding:6px 12px; }
}

/* Features Small Screens Tweaks beyond existing */
@media (max-width:560px){
  .feature-card { min-height:420px; }
  .feature-card h3 { font-size:.88rem; }
  .feature-card p { font-size:.7rem; }
}
@media (max-width:430px){
  .feature-card { min-height:400px; padding:1.7rem 1.2rem 2rem; }
  .feature-icon img { width:clamp(150px,68vw,300px); }
}

/* Platform Requirements Mobile Polishing */
@media (max-width:640px){
  .requirement-card { padding:1.8rem 1.3rem 1.9rem; min-height:auto; }
  .req-heading .req-for { font-size:1.2rem; }
  .req-list { font-size:.75rem; line-height:1.5; }
  .btn.wide { font-size:.78rem; padding:.9rem 1rem; }
}
@media (max-width:430px){
  .feature-card { min-height:380px; padding:1.55rem 1.1rem 1.85rem; }
  .feature-icon img { width:clamp(150px,70vw,170px); }
}

/* FAQ Mobile */
@media (max-width:740px){
  .faq-section { padding:60px 0; }
  .faq-question { padding:22px 26px; font-size:1.05rem; }
  .faq-item { margin-bottom:12px; }
}
@media (max-width:520px){
  .faq-question { padding:18px 20px; font-size:.95rem; }
}

/* Footer Mobile */
@media (max-width:900px){
  .footer-content { flex-direction:column; gap:2.5rem; }
  .footer-section { width:100%; }
  .footer-logo h3 { font-size:1.8rem; }
}

/* Utility: reduce container horizontal padding if not already managed */
@media (max-width:640px){
  .container { padding-left:1.1rem; padding-right:1.1rem; }
}

/* (Removed legacy duplicate feature-icon & text styles to prevent conflicts) */

.feature-btn {
  display: inline-block;
  background: #4A90E2;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-btn:hover {
  background: #357ABD;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.feature-btn-small {
  display: inline-block;
  background: #4A90E2;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-btn-small:hover {
  background: #357ABD;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.feature-btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.feature-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  border: 3px solid #448aff;
  border-radius: 1rem;
  padding: 2rem;
  background: white;
  min-height: 400px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  min-height: 250px;
  display: block;
  visibility: visible;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
  color: #448aff;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cta-section {
  text-align: center;
  background: var(--brand-primary);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.cta-section p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--bg-accent);
  color: var(--text-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-battle {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.about-details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-details h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-details p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* -------------------------------------------------- */
/* Enhanced About Page Layout                         */
/* -------------------------------------------------- */
.about-intro-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:3rem;align-items:start;margin:0 0 3.5rem;}
.about-highlight {background:linear-gradient(135deg,#6366f1,#3b82f6);padding:2rem 2.2rem;border-radius:1.25rem;color:#fff;position:relative;overflow:hidden;box-shadow:0 10px 30px -10px rgba(59,130,246,.4);}
.about-highlight::after {content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.25) 0%,rgba(255,255,255,0) 60%);mix-blend-mode:overlay;pointer-events:none;}
.about-highlight h2 {margin:0 0 .85rem;font-size:1.9rem;font-weight:800;letter-spacing:-.5px;color:#fff;}
.about-highlight p {margin:0 0 1rem;font-size:.98rem;line-height:1.65;color:rgba(255,255,255,.9);}
.about-stats {display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.2rem;margin-top:1.5rem;}
.stat-card {background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-radius:1rem;padding:1.15rem 1.1rem 1.2rem;position:relative;overflow:hidden;box-shadow:0 4px 12px -4px rgba(30,58,138,.2);}
.stat-card h3 {margin:0;font-size:.8rem;font-weight:700;letter-spacing:.5px;color:#475569;text-transform:uppercase;}
.stat-card .stat-value {display:block;font-size:1.9rem;font-weight:800;line-height:1.1;margin:.35rem 0 .25rem;background:linear-gradient(90deg,#6366f1,#3b82f6);-webkit-background-clip:text;color:transparent;}
.stat-card p {margin:0;font-size:.7rem;letter-spacing:.35px;color:#64748b;font-weight:500;}
.timeline {position:relative;margin:0 0 3.5rem;padding:0 0 0 1.2rem;}
.timeline::before {content:"";position:absolute;left:.45rem;top:.25rem;bottom:.25rem;width:2px;background:linear-gradient(#6366f1,#3b82f6);}
.timeline-item {position:relative;padding:.05rem 0 1.75rem 1.5rem;}
.timeline-item:last-child {padding-bottom:.5rem;}
.timeline-item::before {content:"";position:absolute;left:-.1rem;top:.35rem;width:.85rem;height:.85rem;border-radius:50%;background:#fff;border:3px solid #6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.15);}
.timeline-item h3 {margin:0 0 .35rem;font-size:1.05rem;font-weight:700;letter-spacing:.25px;color:#0f172a;}
.timeline-item time {display:inline-block;margin:0 0 .4rem;font-size:.65rem;font-weight:700;letter-spacing:.75px;background:#eef2ff;color:#4338ca;padding:3px 8px;border-radius:999px;text-transform:uppercase;}
.timeline-item p {margin:0;font-size:.85rem;line-height:1.55;color:#334155;}
.values-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.4rem;margin:0 0 3.25rem;}
.value-card {background:#fff;border:1px solid #e2e8f0;border-radius:1.1rem;padding:1.4rem 1.35rem 1.55rem;box-shadow:0 4px 16px -6px rgba(30,41,59,.15);position:relative;overflow:hidden;transition:transform .35s ease, box-shadow .35s ease;}
.value-card:hover {transform:translateY(-6px);box-shadow:0 16px 32px -10px rgba(99,102,241,.35);}
.value-card h3 {margin:0 0 .55rem;font-size:1rem;font-weight:700;letter-spacing:.5px;color:#0f172a;}
.value-card p {margin:0;font-size:.8rem;line-height:1.55;color:#475569;}
.value-card .icon {display:inline-flex;width:40px;height:40px;border-radius:12px;align-items:center;justify-content:center;margin:0 0 .65rem;font-size:1.35rem;background:linear-gradient(135deg,#6366f1,#3b82f6);color:#fff;box-shadow:0 4px 8px -2px rgba(59,130,246,.45);}
.about-cta-box {background:linear-gradient(135deg,#6366f1,#3b82f6);padding:2.4rem 2rem;border-radius:1.35rem;color:#fff;text-align:center;position:relative;overflow:hidden;box-shadow:0 14px 42px -12px rgba(59,130,246,.55);}
.about-cta-box::after {content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 80%,rgba(255,255,255,.2) 0%,rgba(255,255,255,0) 60%);mix-blend-mode:overlay;}
.about-cta-box h2 {margin:0 0 .75rem;font-size:2rem;font-weight:800;letter-spacing:-.5px;color:#fff;}
.about-cta-box p {margin:0 0 1.4rem;font-size:.95rem;font-weight:400;line-height:1.6;color:rgba(255,255,255,.92);}
.about-cta-box .btn {min-width:220px;}

@media (max-width:780px){
  .about-highlight h2 {font-size:1.7rem;}
  .about-stats {grid-template-columns:repeat(auto-fit,minmax(140px,1fr));}
  .timeline-item h3 {font-size:.95rem;}
  .timeline-item p {font-size:.78rem;}
  .value-card {padding:1.25rem 1.1rem 1.35rem;}
  .value-card h3 {font-size:.92rem;}
  .value-card p {font-size:.72rem;}
  .about-cta-box h2 {font-size:1.65rem;}
}
@media (max-width:540px){
  .timeline {padding-left:.75rem;}
  .timeline::before {left:.2rem;}
  .timeline-item {padding-left:1.15rem;}
  .timeline-item::before {left:-.3rem;}
  .about-highlight {padding:1.65rem 1.55rem;}
  .about-highlight h2 {font-size:1.55rem;}
  .about-cta-box {padding:2rem 1.4rem;}
  .about-cta-box h2 {font-size:1.45rem;}
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: var(--text-light);
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.btn.secondary {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: var(--text-light);
  box-shadow: var(--shadow);
}

.btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.btn.ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: var(--text-light);
}

.btn.large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  min-width: 200px;
}

/* Download Section */
.download-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.download-card {
  background: var(--bg-card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  text-align: center;
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.platform-header h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.platform-header h4 {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 2rem;
}

.requirements-list {
  text-align: left;
  margin-bottom: 2rem;
}

.requirements-list li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.requirements-list li:last-child {
  border-bottom: none;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.faq-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-content h2 {
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* CTA Styles */
.cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

@media (max-width: 960px){
  .hero-text .cta { justify-content:center; }
}
@media (max-width: 640px){
  .hero-text .cta { justify-content:center; }
  .hero-text .cta .btn.large { width:100%; max-width:320px; text-align:center; }
}

.cta .btn.large {
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  min-width: 220px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

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

.cta .btn.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn.large:hover::before {
  left: 100%;
}

/* Footer Styles */
.site-footer {
  background: #448aff url('../../assets/img/layer_footer.png') center/cover;
  background-blend-mode: multiply;
  color: white;
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 900px){
  .footer-content { display:flex; flex-direction:column; gap:2.25rem; }
  .footer-section { width:100%; }
}
@media (max-width: 640px){
  .site-footer { padding:50px 0 20px; }
  .footer-content { gap:1.9rem; }
  .logo-container { gap:12px; }
  .footer-logo-img { width:60px; height:60px; }
  .logo-container h3 { font-size:1.55rem; }
  .footer-section h3 { font-size:1.25rem; margin-bottom:14px; }
  .footer-about p { font-size:.78rem; line-height:1.55; margin-bottom:18px; }
  .footer-links a { font-size:.82rem; }
  .footer-links li { margin-bottom:8px; }
  .language-selector label { font-size:.75rem; }
  .language-selector select { font-size:.7rem; padding:4px 8px; }
}
@media (max-width:420px){
  .footer-about p { font-size:.75rem; }
  .footer-bottom p { font-size:.68rem; }
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo-img {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo-container h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin: 0;
}

/* Footer About */
.footer-about {
  max-width: 500px;
}

.footer-about p {
  color: white;
  line-height: 1.6;
  margin-bottom: 25px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.language-selector label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
}

.language-selector select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
}

.language-selector select option {
  background: #00acc1;
  color: white;
  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
}

.language-selector select option {
  background: #00acc1;
  color: white;
}

/* Footer Links */
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffcc02;
  transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 500;
}

.legal {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.legal a:hover {
  color: var(--text-light);
  text-decoration: none;
}
/* Animation and Polish */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text > * {
  animation: fadeInUp 0.6s ease-out;
}

.hero-text h1 {
  animation-delay: 0.1s;
}

.hero-text p {
  animation-delay: 0.2s;
}

.hero-text .cta {
  animation-delay: 0.3s;
}

.badges {
  animation-delay: 0.4s;
}

/* Intersection Observer animations */
.features article,
.card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.features article.animate-in,
.card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Button loading states */
.btn.loading {
  position: relative;
  color: transparent !important;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Update notification */
.update-notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--brand-primary);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  animation: slideInFromRight 0.3s ease;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.update-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.update-btn,
.dismiss-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

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

.update-btn:hover {
  background: var(--brand-secondary);
}

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

.dismiss-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

/* External link icons */
.external-icon {
  font-size: 0.8em;
  opacity: 0.7;
  margin-left: 0.25rem;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Smooth transitions for reduced motion users */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .features article,
  .card {
    opacity: 1;
    transform: none;
  }
}

/* Remove any browser debug artifacts */
*:not(input):not(textarea) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Re-enable text selection for content */
.hero h1,
.hero p,
.features h2,
.features li,
.site-footer p,
p,
h1, h2, h3, h4, h5, h6,
span {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Prevent any unwanted borders or outlines */
* {
  box-shadow: none !important;
}

/* Only allow intended box-shadows */
.btn:not(.ghost),
.btn:not(.ghost):hover,
.features article:hover,
.card:hover,
.badges li:hover,
.site-header {
  box-shadow: var(--shadow) !important;
}

.btn:not(.ghost):hover,
.features article:hover,
.card:hover {
  box-shadow: var(--shadow-lg) !important;
}

.site-header {
  box-shadow: var(--shadow) !important;
}

.nav-menu.open {
  box-shadow: var(--shadow-xl) !important;
}

.update-notification {
  box-shadow: var(--shadow-xl) !important;
}
