@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --primary: #4A90D9; /* Soft Blue from App */
  --primary-hover: #3b7dc1;
  --bg-color: #0F172A; /* Deep Navy from App */
  --surface-color: rgba(30, 41, 59, 0.7); /* Translucent Slate */
  --border-color: rgba(255, 255, 255, 0.1);
  --text-color: #ffffff;
  --text-muted: #94a3b8;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background blob animations */
.bg-blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
  animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  border-radius: 50%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(74, 144, 217, 0.3);
  bottom: 10%;
  right: -50px;
  border-radius: 50%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

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

/* Navbar */
header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Typography */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.hero p {
  margin: 0 auto 40px auto;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(74, 144, 217, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: 0 6px 25px rgba(74, 144, 217, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Features Grid */
.features {
  padding: 80px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(74, 144, 217, 0.1);
  border: 1px solid rgba(74, 144, 217, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--primary);
}

/* Legal Documents Structure */
.legal-content {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.legal-content .last-updated {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 48px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: white;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: white;
}

.legal-content p, .legal-content ul {
  font-size: 1rem;
  margin-bottom: 20px;
}

.legal-content ul {
  padding-left: 24px;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.alert-info {
  background: rgba(0, 229, 255, 0.1);
  border-left: 4px solid var(--secondary);
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

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

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

.footer-links a:hover {
  color: white;
}

/* New Mockup Styling */
.mockup-container {
  width: 100%;
  max-width: 900px;
  margin-top: 60px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-container img {
  width: 100%;
  display: block;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px 0;
  }
  
  .glass-panel {
    padding: 32px 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .mockup-container {
    margin-top: 40px;
  }
}
