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

:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-primary: #8b5cf6;
  --accent-secondary: #3b82f6;
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.nav-brand img {
  height: 32px;
}

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

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

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

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

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

/* Hero Section */
.hero {
  padding: 12rem 5% 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 5rem;
}

/* Dashboard Preview */
.dashboard-preview {
  max-width: 1350px;
  width: 95%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  position: relative;
  transform: perspective(1000px) rotateX(2deg);
  transition: transform 0.5s ease;
}

.dashboard-preview:hover {
  transform: perspective(1000px) rotateX(0deg);
}

.dashboard-preview img {
  width: 100%;
  display: block;
}

/* Features Section */
.features {
  padding: 8rem 5%;
  background: var(--bg-dark);
}

.features-header {
  text-align: center;
  margin-bottom: 5rem;
}

.features-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

/* CTA Section */
.bottom-cta {
  padding: 8rem 5%;
  text-align: center;
  position: relative;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.bottom-cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.bottom-cta p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Footer */
footer {
  padding: 3rem 5%;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .nav-links {
    display: none;
  }
  .hero-cta {
    flex-direction: column;
    padding: 0 1rem;
  }
}

/* App-style Logo Tile in Navbar */
.nav-logo-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-logo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.nav-logo-tile .logo-icon {
  height: 38px;
  width: auto;
}

.nav-logo-tile .logo-text-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.1;
}

.nav-logo-tile .logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a; /* Slate 900 */
  letter-spacing: -0.5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.nav-logo-tile .logo-tagline {
  font-size: 0.6rem;
  font-weight: 700;
  color: #64748b; /* Slate 500 */
  letter-spacing: 0.5px;
  margin-top: 1px;
}

/* Navbar Center Tagline */
.nav-center-tagline {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 1024px) {
  .nav-center-tagline {
    display: none;
  }
}

/* Navbar Center Sub-tagline */
.nav-center-subtagline {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: none;
  text-align: center;
  margin-top: 4px;
}

/* Beta Banner */
.beta-banner {
  background: #f97316; /* Vaultli Orange */
  color: #ffffff;
  text-align: center;
  padding: 8px 5%;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.beta-banner-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.beta-banner-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* Beta Modal */
.beta-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.beta-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.beta-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.beta-modal-overlay.active .beta-modal {
  transform: translateY(0);
}

.beta-modal h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.beta-modal p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.beta-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.beta-modal-close:hover {
  color: var(--text-primary);
}

.beta-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.navbar {
  top: 36px !important;
}

body {
  padding-top: 36px;
}
