/**
 * Skulbyte Premium Design System
 * Version: 3.0.0 - Ultra Performance Edition
 */

:root {
  /* Brand Colors */
  --sk-primary: #be1622;
  --sk-primary-rgb: 190, 22, 34;
  --sk-primary-light: #d42836;
  --sk-primary-dark: #8a1018;
  
  /* Dark Theme */
  --sk-bg-primary: #09090b;
  --sk-bg-secondary: #0f0f12;
  --sk-bg-tertiary: #18181b;
  --sk-bg-card: rgba(24, 24, 27, 0.6);
  
  /* Text */
  --sk-text: #fafafa;
  --sk-text-muted: #a1a1aa;
  --sk-text-dim: #71717a;
  
  /* Borders */
  --sk-border: rgba(255, 255, 255, 0.08);
  --sk-border-hover: rgba(255, 255, 255, 0.15);
  
  /* Spacing */
  --sk-space: 1rem;
  
  /* Radius */
  --sk-radius: 0.75rem;
  --sk-radius-lg: 1.25rem;
  
  /* Transitions */
  --sk-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--sk-bg-primary);
  color: var(--sk-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--sk-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sk-border);
  transition: all 0.3s var(--sk-ease);
}

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

.logo,
.logo-img {
  height: 40px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav-list,
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sk-text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--sk-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sk-primary);
  transition: width 0.3s var(--sk-ease);
}

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

.nav-actions { display: flex; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--sk-radius);
  transition: all 0.2s var(--sk-ease);
}

.btn-primary {
  background: var(--sk-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--sk-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(var(--sk-primary-rgb), 0.5);
}

.btn-ghost {
  color: var(--sk-text-muted);
  border: 1px solid var(--sk-border);
}

.btn-ghost:hover {
  color: var(--sk-text);
  border-color: var(--sk-border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  width: 24px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--sk-text);
  transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(var(--sk-primary-rgb), 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(var(--sk-primary-rgb), 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(var(--sk-primary-rgb), 0.05), transparent);
}

/* Grid Pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(var(--sk-primary-rgb), 0.1);
  border: 1px solid rgba(var(--sk-primary-rgb), 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sk-primary-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--sk-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--sk-border);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--sk-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--sk-text-dim);
  margin-top: 0.25rem;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background: var(--sk-bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sk-primary);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--sk-text-muted);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: var(--sk-bg-card);
  border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--sk-ease);
}

.card:hover {
  border-color: var(--sk-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sk-primary), var(--sk-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--sk-ease);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--sk-primary);
}

.service-title {
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--sk-text-muted);
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--sk-text-muted);
  border-bottom: 1px solid var(--sk-border);
}

.service-features li:last-child { border-bottom: none; }

.service-features svg {
  width: 16px;
  height: 16px;
  color: var(--sk-primary);
  flex-shrink: 0;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.price-currency {
  font-size: 1.25rem;
  color: var(--sk-text-muted);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.price-period {
  color: var(--sk-text-dim);
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgba(var(--sk-primary-rgb), 0.1);
  border-radius: var(--sk-radius);
  color: var(--sk-primary);
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--sk-text-muted);
}

/* ==========================================================================
   PRICING TABLE
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-color: var(--sk-primary);
  transform: scale(1.02);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sk-primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sk-border);
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9rem;
  color: var(--sk-text-muted);
}

.pricing-features svg {
  width: 16px;
  height: 16px;
  color: var(--sk-primary);
  flex-shrink: 0;
}

.pricing-action {
  margin-top: 1.5rem;
}

.btn-block { width: 100%; }

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sk-bg-card);
  border-radius: var(--sk-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sk-border);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--sk-border);
}

.comparison-table th {
  background: var(--sk-bg-tertiary);
  font-weight: 600;
  font-size: 0.875rem;
}

.comparison-table td {
  font-size: 0.9rem;
  color: var(--sk-text-muted);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .highlight {
  background: rgba(var(--sk-primary-rgb), 0.05);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--sk-primary-dark), var(--sk-primary));
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='%23fff' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  text-align: center;
}

.cta-title {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-white {
  background: #fff;
  color: var(--sk-primary);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--sk-bg-secondary);
  border-top: 1px solid var(--sk-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--sk-text);
}

.footer-brand p {
  color: var(--sk-text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--sk-text);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--sk-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--sk-text);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--sk-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--sk-text-dim);
}

.social-links,
.footer-social {
  display: flex;
  gap: 1rem;
}

.social-links a,
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sk-radius);
  background: var(--sk-bg-tertiary);
  color: var(--sk-text-muted);
  transition: all 0.2s;
}

.social-links a:hover,
.footer-social a:hover {
  background: var(--sk-primary);
  color: #fff;
}

.social-links svg,
.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-list, .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-list.active,
  .nav-links.active,
  .nav-actions.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sk-bg-primary);
    padding: 1rem;
    border-bottom: 1px solid var(--sk-border);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p { margin: 1rem auto 0; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.6s var(--sk-ease) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }