@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --primary-color: #A36B4D; /* Elegant Brown */
  --secondary-color: #FFC0CB; /* Soft contrast */
  --bg-dark: #0f0c0b;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #fdfbf9;
  --text-muted: #b8b2af;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(15, 12, 11, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 2px;
}

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

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #8B553D);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(163, 107, 77, 0.4);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1598974357801-cbca100e65d3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 12, 11, 0.95) 0%, rgba(15, 12, 11, 0.7) 50%, rgba(15, 12, 11, 0.3) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  background: -webkit-linear-gradient(#fff, #b8b2af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 20px;
}

/* Features */
.features {
  padding: 100px 5%;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.feature-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(163, 107, 77, 0.4);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

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

/* Legal Pages Typography */
.legal-page {
  padding: 150px 10% 100px;
  max-width: 1000px;
  margin: auto;
}

.legal-page h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

.legal-content {
  margin-top: 50px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: #fff;
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #080605;
  padding: 60px 5% 30px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  margin-top: 15px;
  color: var(--text-muted);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #666;
}

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

/* Reveal Elements on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .nav-links { display: none; } /* Add hamburger menu if needed */
  .footer-content { flex-direction: column; }
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 5%;
  max-width: 900px;
  margin: 0 auto 50px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-question {
  padding: 20px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 150px auto 100px;
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 600;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}
