/* =========================================================
   SoulOS - Your Human Life Operating System
   Author: Arybit Technologies
   Version: 1.0.0
   Description: Main stylesheet for SoulOS landing page
   ========================================================= */

/* ========== ROOT VARIABLES ========== */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e293b;
  --accent-color: #fbbf24;
  --background-color: #0f172a;
  --light-bg: #f8fafc;
  --text-color: #f1f5f9;
  --muted-text: #94a3b8;
  --gradient: linear-gradient(135deg, #2563eb, #1e40af);
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

/* ========== GLOBAL RESETS ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== NAVBAR ========== */
.navbar {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  padding: 1rem 0;
  transition: background-color 0.3s ease-in-out;
}

.navbar-brand {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-brand .navbar-logo {
  height: 50px !important; /* Adjust as needed */
  width: auto;
  vertical-align: middle;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-color);
  margin: 0 0.6rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.btn-primary-custom {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  transform: translateY(-2px);
}

/* ========== HERO SECTION ========== */
.hero-section {
  padding: 7rem 0 6rem;
  background: radial-gradient(circle at 20% 20%, #1e293b, #0f172a);
  text-align: left;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin-bottom: 2rem;
}

.hero-buttons .btn-hero {
  padding: 0.8rem 1.6rem;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  margin-right: 0.8rem;
}

.btn-hero-primary {
  background: var(--gradient);
  color: #fff;
  border: none;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-hero-secondary:hover {
  background: var(--accent-color);
  color: #000;
}

.hero-image i {
  color: var(--accent-color);
  opacity: 0.9;
}

/* ========== FEATURES SECTION ========== */
.features-section {
  background-color: var(--light-bg);
  color: #0f172a;
  padding: 6rem 0;
}

.section-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--secondary-color);
}

.section-subtitle {
  color: #475569;
  font-size: 1.1rem;
}

.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.icon-emotional { color: #ef4444; }
.icon-financial { color: #22c55e; }
.icon-purpose { color: #3b82f6; }
.icon-health { color: #f59e0b; }
.icon-relationships { color: #a855f7; }
.icon-legacy { color: #0ea5e9; }

.feature-title {
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #111827;
}

.feature-description {
  color: #4b5563;
}

/* ========== EVA SECTION ========== */
.eva-section {
  background-color: var(--secondary-color);
  padding: 6rem 0;
}

.eva-card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 20px;
  padding: 3rem;
  color: #f1f5f9;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.eva-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.eva-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.eva-features {
  list-style: none;
  padding-left: 0;
}

.eva-features li {
  margin-bottom: 0.6rem;
}

.eva-features i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

/* ========== TECH SECTION ========== */
.tech-section {
  background: var(--light-bg);
  padding: 6rem 0;
  color: #0f172a;
}

.tech-badge {
  display: inline-block;
  background: #e2e8f0;
  color: #1e293b;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  margin: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s ease-in-out;
}

.tech-badge:hover {
  background: var(--accent-color);
  color: #000;
}

/* ========== PRICING SECTION ========== */
.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  transform: scale(1.05);
  border: 2px solid var(--accent-color);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent-color);
  color: #000;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-weight: 600;
  font-size: 0.85rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.pricing-amount .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--muted-text);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-features li {
  margin-bottom: 0.8rem;
  color: #4b5563;
}

.pricing-features i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* ========== CONTACT FORM ========== */
.contact-form .form-control {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.contact-info {
  color: #4b5563;
}

.contact-info i {
  color: var(--primary-color);
  width: 1.5rem;
  margin-right: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.accordion-button {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 600;
  padding: 1rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: #fff;
}

.accordion-body {
  background: #fff;
  color: #4b5563;
  padding: 1rem;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 0;
}

.breadcrumb-item {
  color: var(--muted-text);
}

.breadcrumb-item.active {
  color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--muted-text);
}

/* ========== LEGAL PAGES ========== */
.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-meta {
  color: var(--muted-text);
  font-size: 0.9rem;
}

.blog-post-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post-content h3 {
  color: var(--accent-color);
  margin: 2rem 0 1rem;
  font-family: var(--font-primary);
  font-weight: 600;
}

.blog-post-content p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.blog-post-content .lead {
  font-size: 1.2rem;
  color: var(--text-color);
  font-weight: 500;
}

.blog-post-content ul, 
.blog-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

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

.blog-post-content em {
  color: var(--muted-text);
  font-style: italic;
}

/* Dark mode styles for legal pages */
.dark-mode .blog-post-content {
  background: rgba(0, 0, 0, 0.2);
}

.dark-mode .blog-post-content h3 {
  color: var(--accent-color);
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: var(--secondary-color);
  padding: 6rem 0;
  text-align: center;
  color: #f8fafc;
}

.cta-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-description {
  color: var(--muted-text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #0b1120;
  padding: 4rem 0 2rem;
  color: #cbd5e1;
}

.footer h4 {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer h5 {
  color: #f8fafc;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.3s ease-in-out;
}

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

.social-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #94a3b8;
  transition: color 0.3s ease-in-out;
}

.social-icon:hover {
  color: var(--accent-color);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991px) {
  .hero-section {
    text-align: center;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
  }

  .navbar-nav {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 1rem;
    border-radius: 10px;
  }

  .eva-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}
