/* ============================================
   Real Estate Prompts - Main Stylesheet
   Inspired by: Jasper.ai, Copy.ai, Tax-Clean.com
   ============================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #8b5cf6;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #0f172a;
  --gray-800: #1e293b;
  --gray-600: #475569;
  --gray-400: #94a3b8;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --radius-lg: 1rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--gray-800);
  background: linear-gradient(to bottom, var(--white), var(--gray-100));
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.875rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
}

.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-600);
}

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

.main-nav a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .main-nav.active {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  
  .main-nav.active ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
  background: linear-gradient(135deg, var(--dark), #1e293b);
  color: var(--white);
  text-align: center;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 1rem 0 2rem;
}

.trust-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.trust-item i {
  color: var(--success);
  font-size: 1rem;
}

/* Platform Showcase */
.platform-showcase {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  min-width: 100px;
  transition: all 0.2s;
}

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.platform-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.platform-card span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* Stats */
.stats-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Security Badges */
.security-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-600);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   Product Cards (Pricing)
   ============================================ */
.pricing {
  padding: 4rem 0;
}

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

.section-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-top: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0;
}

.old-price {
  font-size: 1rem;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 0.5rem;
}

.features-list {
  list-style: none;
  margin: 1.5rem 0;
}

.features-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.features-list li i {
  color: var(--success);
  font-size: 0.875rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  padding: 4rem 0;
  background: var(--gray-100);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Case Study */
.case-study {
  background: linear-gradient(135deg, #f0f9ff, #e6f0ff);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
  border: 1px solid var(--primary-light);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

.result-badge {
  background: var(--success);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.result-badge .amount {
  font-size: 2.5rem;
  font-weight: 800;
}

/* ============================================
   Sample Prompts Preview
   ============================================ */
.sample-prompts {
  padding: 4rem 0;
}

.prompt-example {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.prompt-category {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
  padding: 4rem 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.faq-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item p {
  color: var(--gray-600);
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

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

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

footer p {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }