/* ===== ULTRA-LIGHT CSS for Cake Wallet (~3KB) ===== */
/* Optimized for Bing SEO, Dark Mode, Semantic HTML */

:root {
  /* Colors - Dark Theme */
  --bg: #0a0a0a;
  --bg-card: #111;
  --text: #e5e5e5;
  --text-muted: #888;
  --primary: #FF8C42; /*  */
  --primary-hover: #E67A35;
  --border: #222;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --gold: #ffc107;
  
  /* Typography */
  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --line-height: 1.6;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base */
html { font-size: clamp(14px, 2vw, 16px); scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: var(--line-height);
  min-height: 100vh;
}

/* Typography - Semantic */
h1, h2, h3 { color: #fff; font-weight: 700; margin-bottom: 0.5em; }
h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }
strong { color: #fff; }
code { background: var(--bg-card); padding: 0.2em 0.4em; border-radius: 4px; font-size: 0.9em; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}
.nav-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; }
.nav-links a:hover { color: #fff; }

/* Logo */
.logo { font-size: 1.4rem; font-weight: 800; color: #fff !important; display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo span { color: var(--primary); }
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), #E67A35);
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  box-shadow: 0 2px 10px rgba(255, 140, 66, 0.4);
}

/* Hero */
.hero { padding: 4rem 0; background: radial-gradient(circle at top center, #1a0a0a 0%, var(--bg) 100%); }
.hero h1 { 
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards */
.feature-card, .card, .step-box, .login-box, .review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover, .card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow); 
  border-color: var(--primary); 
}

/* Feature Icon */
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }

/* Grid */
.features-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding: 3rem 0; }

/* Buttons */
.cta-button, .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.cta-button:hover, .btn:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: transparent; }

/* Forms */
input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
button { font-family: inherit; }

/* Content Sections */
.content-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.content-section h2 { margin-bottom: 1rem; }
.content-section h3 { margin-top: 2rem; margin-bottom: 0.5rem; color: var(--primary); }
.content-section ul, .content-section ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.content-section li { margin-bottom: 0.5rem; color: var(--text-muted); }

/* Trust Badges */
.trust-badges { 
  display: flex; 
  justify-content: center; 
  gap: 2rem; 
  flex-wrap: wrap; 
  padding: 2rem 0; 
  border-bottom: 1px solid var(--border);
}
.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.trust-badges .icon { font-size: 1.2rem; }

/* Reviews Section */
.reviews-section { text-align: center; padding: 4rem 0; }
.rating-display { margin: 1.5rem 0; }
.stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 2px; }
.rating-value { font-size: 1.25rem; font-weight: 700; color: #fff; margin-left: 0.5rem; }
.rating-count { color: var(--text-muted); font-size: 0.9rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.review-card { text-align: left; }
.review-stars { color: var(--gold); margin-bottom: 0.5rem; }
.reviewer { color: var(--text-muted); font-size: 0.85rem; display: block; margin-top: 1rem; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th, td { padding: 1rem; border: 1px solid var(--border); text-align: left; }
th { background: var(--bg-card); color: #fff; }
td { color: var(--text-muted); }

/* Footer */
footer { padding: 3rem 0; border-top: 1px solid var(--border); }
footer p { color: var(--text-muted); font-size: 0.9rem; }
footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.flex { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex-center { justify-content: center; align-items: center; }

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  z-index: 10000;
  animation: slideUp 0.5s ease-out;
}
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cookie-content p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.cookie-btn { white-space: nowrap; }

@keyframes slideUp {
  from { transform: translate(-50%, 100px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero { padding: 2rem 0; }
  .nav-flex { flex-direction: column; text-align: center; }
  .nav-links { justify-content: center; }
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-btn { width: 100%; }
}