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

:root {
  /* Color Palette */
  --bg-primary: #0f172a; /* Deep Slate */
  --bg-secondary: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --accent-primary: #8b5cf6; /* Vibrant Purple */
  --accent-secondary: #ec4899; /* Pink */
  --accent-tertiary: #14b8a6; /* Teal */

  --gradient-bg: radial-gradient(circle at top right, #1e1b4b, var(--bg-primary) 60%);
  --gradient-accent: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Spacing & Sizes */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  background-image: var(--gradient-bg);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 300;
}

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

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

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

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

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

.logo span {
  color: var(--accent-primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: var(--glass-bg);
  border-color: var(--accent-primary);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text p {
  margin: 1.5rem 0 2.5rem;
  font-size: 1.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  animation: slideLeftFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

/* Mockup UI representation */
.mockup-container {
  width: 100%;
  max-width: 320px;
  height: 650px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--glass-shadow);
  border: 4px solid #334155;
  position: relative;
  overflow: hidden;
}

.mockup-screen {
  background: var(--bg-primary);
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  padding: 1.5rem;
  background: var(--gradient-accent);
  color: white;
}

.mockup-header h3 {
  font-size: 1.25rem;
}

.mockup-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-item {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--glass-border);
}

.mockup-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-item-text div:first-child {
  font-weight: 600;
  color: var(--text-main);
}

.mockup-item-text div:last-child {
  font-size: 0.875rem;
  color: var(--accent-secondary);
}

/* Floating Elements (Decoration) */
.floating-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  animation: float 10s ease-in-out infinite;
}

.blob-2 {
  bottom: -10%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: var(--accent-secondary);
  animation: float 12s ease-in-out infinite reverse;
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

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

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

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

/* Privacy Policy Content */
.page-header {
  padding: 150px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 3rem;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.content-wrapper h2 {
  margin-top: 2rem;
  font-size: 1.75rem;
}

.content-wrapper p, .content-wrapper ul {
  margin-bottom: 1.5rem;
}

.content-wrapper ul {
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 100px;
  background: rgba(15, 23, 42, 0.5);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

.copyright {
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.875rem;
}

/* Animations */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeftFade {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none; /* Hide on mobile for simplicity, or implement toggle in JS */
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
}
