@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-black: #000000;
  --bg-dark: #0a0a0a;
  --bg-card: rgba(20, 20, 20, 0.7);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(255, 255, 255, 0.2);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  
  --brand-blue: #3b82f6;
  --brand-violet: #8b5cf6;
  --brand-cyan: #06b6d4;
  
  --gradient-text: linear-gradient(to right, #fff, #a1a1aa);
  --gradient-brand: linear-gradient(135deg, var(--brand-blue), var(--brand-violet));
  --gradient-glow: linear-gradient(135deg, var(--brand-cyan), var(--brand-violet));
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-mesh {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  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;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.bg-orb {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
  z-index: -1;
  filter: blur(60px);
  animation: orbFloat 10s ease-in-out infinite alternate;
}

/* Navbar */
.nav-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  padding: 0 5%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}

.logo span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.btn-nav {
  background: #fff;
  color: #000;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: auto;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* Page Headers */
.page-header {
  padding: 160px 5% 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Content Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.legal-content p, .legal-content li {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 60px;
  position: relative;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d4d4d8;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s ease forwards;
}

.badge-highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 1000px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 1s ease forwards 0.1s;
  opacity: 0;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.6;
  animation: fadeUp 1s ease forwards 0.2s;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeUp 1s ease forwards 0.3s;
  opacity: 0;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-black);
  padding: 1.1rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255,255,255,0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 1.1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glow);
}

/* Dashboard Preview Graphic */
.preview-container {
  margin-top: 5rem;
  width: 100%;
  max-width: 1100px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  animation: fadeUp 1.2s ease forwards 0.5s;
  opacity: 0;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.preview-inner {
  background: var(--bg-dark);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.dashboard-mock {
  height: 450px; 
  background: #0a0a0a; 
  padding: 24px; 
  display: flex; 
  gap: 24px;
}

.mock-sidebar {
  width: 240px; 
  border-right: 1px solid rgba(255,255,255,0.05); 
  padding-right: 24px; 
  display: flex; 
  flex-direction: column; 
  gap: 16px;
}

.mock-line {
  background: rgba(255,255,255,0.03); 
  border-radius: 4px;
}

.mock-main {
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  gap: 24px;
}

/* Bento Box Features */
.bento-section {
  padding: 8rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -20%), rgba(255,255,255,0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.bento-card:hover::before {
  opacity: 1;
}

.span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: auto;
}

.bento-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

/* Grid Layout for Form */
.contact-container {
  max-width: 1000px;
  margin: 4rem auto 8rem;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 16px;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-card p {
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  padding: 3rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: rgba(255,255,255,0.05);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 4rem 5% 2rem;
  background: var(--bg-black);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.footer-col h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

@keyframes orbFloat {
  0% { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-50%, 50px) scale(1.1); }
}

/* Responsive */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .span-2 {
    grid-column: span 1;
  }
  .nav-links {
    display: none;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-mock {
    padding: 12px;
    gap: 12px;
  }
  .mock-sidebar {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
