/* ===== PREMIUM DESIGN SYSTEM (2026) ===== */
:root {
  /* Colors - Deep Indigo/Purple Theme */
  --bg-dark: #0a0c14;
  --bg-surface: rgba(18, 21, 38, 0.7);
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.1);
  --accent: #6366f1; /* Indigo */
  --accent-glow: rgba(99, 102, 241, 0.4);
  --accent-secondary: #8b5cf6; /* Violet */
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Fonts */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Effects */
  --glass-blur: blur(12px);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
  --transition-smooth: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  --max-w: 1280px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
a { color: var(--accent); text-decoration: none; transition: var(--transition-smooth); }
a:hover { opacity: 0.8; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER ===== */
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 20, 0.8);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon { font-size: 1.8rem; }

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(18, 21, 38, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px 0;
  margin-top: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.nav-dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu li {
  padding: 0;
}

.nav-submenu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-submenu a:hover {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
  padding-left: 28px;
}

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO SECTION ===== */
.hero {
  padding: 100px 0 60px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 48px;
}

/* ===== TOOL CARDS ===== */
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 20px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 32px;
  border-radius: 24px;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top left, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.tool-card:hover::before { opacity: 0.3; }

.tool-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
  position: relative;
}

.tool-card-body h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.tool-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== FEATURES ===== */
.features { padding: 80px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.feature-item { text-align: center; }
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 24px;
}

.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  margin-top: 100px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p { color: var(--text-dim); margin-top: 16px; max-width: 300px; }

.footer-links h4 {
  font-family: var(--font-heading);
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: var(--text-dim); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== AD PLACEHOLDERS ===== */
.ad-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-glass);
  border-radius: 16px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.btn-block { width: 100%; justify-content: center; padding: 16px; font-size: 1.1rem; }

/* ===== CONTACT PAGE PREMIUM ===== */
.contact-grid-premium {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow-premium);
}

.premium-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.premium-form .form-group {
  margin-bottom: 24px;
}

.premium-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.premium-form input, .premium-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.premium-form input:focus, .premium-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px var(--accent-glow);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
}

.info-card:hover {
  border-color: var(--accent);
  transform: translateX(10px);
}

.info-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-text h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 4px; }
.info-text p { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .contact-grid-premium { grid-template-columns: 1fr; }
  .premium-form .form-row { grid-template-columns: 1fr; }
}

/* ===== PROSE (Typography for Blog) ===== */
.prose {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.prose h1 { font-size: 2.5rem; }
.prose h2 { font-size: 1.875rem; border-bottom: 1px solid var(--border-glass); padding-bottom: 0.5rem; }
.prose h3 { font-size: 1.5rem; }

.prose p {
  margin-bottom: 1.75rem;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose ul, .prose ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.75rem;
}

.prose ul li::marker {
  color: var(--accent);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

.prose blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-primary);
}

.prose img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-glass);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border-glass);
  margin: 3rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-title { font-size: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
