/* AskIT Design System - Styled after metallic circuit badge */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #040812;
  --bg-card: rgba(12, 18, 34, 0.65);
  --bg-card-hover: rgba(20, 30, 56, 0.8);
  
  --metallic-silver: #a0b2ce;
  --border-silver: rgba(160, 178, 206, 0.3);
  --border-glow: rgba(0, 240, 255, 0.25);
  --border-glow-hover: rgba(0, 240, 255, 0.6);
  
  --primary-cyan: #00f0ff;
  --primary-blue: #0072ff;
  --accent-purple: #6366f1;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-metallic: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  --shadow-glow: 0 0 45px -5px rgba(0, 240, 255, 0.4);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(0, 114, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
}

/* Circuit overlay pattern background */
.circuit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(0, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #7dd3fc 40%, var(--primary-cyan) 80%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(4, 8, 18, 0.8);
  border-bottom: 1px solid rgba(160, 178, 206, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-silver);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  border-color: var(--primary-cyan);
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
}

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

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

.nav-links a:hover {
  color: var(--primary-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, var(--primary-cyan), var(--primary-blue));
  color: #030712;
  font-weight: 700;
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0, 240, 255, 0.6);
  background: linear-gradient(135deg, var(--primary-cyan), #00c3ff, var(--primary-blue));
}

.btn-secondary {
  background: rgba(160, 178, 206, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-silver);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Hero Section */
.hero {
  padding: 170px 0 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid var(--border-glow);
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Hero Badge Showcase Display */
.hero-logo-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.badge-frame {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(160, 178, 206, 0.2) 50%, rgba(0, 240, 255, 0.4) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 240, 255, 0.3);
  animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.badge-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.badge-glow-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.4);
  pointer-events: none;
  animation: spinRing 25s linear infinite;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-metallic);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glow-hover);
  box-shadow: var(--shadow-glow);
}

/* Stats Section */
.stats-section {
  padding: 50px 0;
  background: rgba(8, 14, 28, 0.6);
  border-top: 1px solid rgba(160, 178, 206, 0.12);
  border-bottom: 1px solid rgba(160, 178, 206, 0.12);
}

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

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Features Section */
.features {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(160, 178, 206, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-cyan);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(0, 114, 255, 0.12));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

/* CTA Section */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(12, 18, 34, 0.9), rgba(4, 8, 18, 0.95));
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.2);
}

.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(160, 178, 206, 0.25);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.cta-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(160, 178, 206, 0.12);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 140px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}
