/* -------------------------------------------------------------
   Tendiva Web Styles - Modern Dark Mode & Glassmorphism Design
   ------------------------------------------------------------- */

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

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --accent-orange: #f97316;
  --accent-orange-hover: #ea580c;
  --accent-indigo: #6366f1;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --font-family: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Background Gradients */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(249, 115, 22, 0.05) 50%, rgba(0,0,0,0) 100%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.glow-top-left {
  top: -10%;
  left: -10%;
}

.glow-bottom-right {
  bottom: 10%;
  right: -10%;
}

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

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-indigo));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

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

.btn-download-nav {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.btn-download-nav:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #fbcfe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), #f97316c0);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
  background: var(--accent-orange-hover);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 570px;
  background: #1e293b;
  border: 8px solid #334155;
  border-radius: 36px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-camera {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #334155;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background: var(--bg-primary);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.phone-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  margin-top: 20px;
}

.phone-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 8px;
}

.phone-bar.w-50 { width: 50%; }
.phone-bar.w-80 { width: 80%; }
.phone-bar.accent { background: var(--accent-orange); }

.phone-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-orange));
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--glass-border);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(249, 115, 22, 0.05);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(249, 115, 22, 0.15);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Call to Action Banner */
.cta-banner {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(249, 115, 22, 0.06));
  border: 1px solid var(--glass-border);
  padding: 60px 40px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-box .cta-buttons {
  justify-content: center;
}

/* Footer */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* Privacy Policy Layout Specifics */
.privacy-page {
  padding-top: 140px;
  padding-bottom: 100px;
}

.privacy-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.privacy-content .last-updated {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 8px;
}

.privacy-content p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.privacy-content ul {
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.privacy-content li {
  margin-bottom: 8px;
}

/* --------------------
   Responsive Adjustments
   -------------------- */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text h1 {
    font-size: 44px;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 34px;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .privacy-content {
    padding: 24px;
  }
  
  .privacy-content h1 {
    font-size: 28px;
  }
}
