/* Base Styles */
:root {
  /* Unique color scheme - deep burgundy & gold */
  --primary: #800020;
  --primary-light: #9E1A39;
  --secondary: #D4AF37;
  --secondary-light: #F5D76E;
  --accent: #2F4858;
  --text: #F4F4F4;
  --text-secondary: #CCCCCC;
  --dark: #1A0208;
  --dark-light: #2C0412;
  --dark-lighter: #3D081B;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Raleway', sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Background Elements */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 30px 30px;
  background-image: 
    radial-gradient(circle, var(--primary) 1px, transparent 1px);
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 0, 32, 0.25) 0%, rgba(128, 0, 32, 0) 70%);
}

.glow-2 {
  position: absolute;
  bottom: 15%;
  left: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.5s;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text);
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
}

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

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 38px;
  font-size: 1.1rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 2, 8, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
}

.logo-icon {
  margin-right: 15px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  margin-right: 25px;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 5px 3px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.line {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background-color: var(--text);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 25px;
}

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

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.image-frame {
  position: relative;
  width: 400px;
  height: 400px;
  background: var(--dark-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-badges {
  display: flex;
  gap: 15px;
}

.badge {
  background: rgba(26, 2, 8, 0.6);
  border: 1px solid var(--primary-light);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-primary {
  background: rgba(128, 0, 32, 0.2);
  border-color: var(--primary);
  color: var(--secondary-light);
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.section-desc {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* Features Section */
.features-section {
  background-color: rgba(26, 2, 8, 0.5);
  position: relative;
}

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

.feature-card {
  background: linear-gradient(145deg, var(--dark-light) 0%, var(--dark) 100%);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom right, var(--primary-light), var(--secondary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
}

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

.feature-desc {
  color: var(--text-secondary);
}

/* How It Works Section */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: linear-gradient(145deg, var(--dark-light) 0%, var(--dark) 100%);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-number {
  position: relative;
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.step-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100px;
  height: 2px;
  background: var(--primary-light);
  transform: translateY(-50%);
  opacity: 0.3;
}

.step-card:last-child .step-number::after {
  display: none;
}

.step-title {
  margin-bottom: 15px;
}

.step-desc {
  color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials-section {
  background-color: rgba(26, 2, 8, 0.5);
}

.testimonials-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonials-container::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(145deg, var(--dark-light) 0%, var(--dark) 100%);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
}

.testimonial-content {
  position: relative;
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.2;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  overflow: hidden;
  background: var(--dark-lighter);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.author-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.stars {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
}

.cta-container {
  background: linear-gradient(145deg, var(--dark-light) 0%, var(--dark) 100%);
  border-radius: 15px;
  padding: 60px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, var(--primary) 0%, transparent 70%);
  opacity: 0.05;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.cta-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background-color: var(--dark-light);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: 20px 20px;
  background-image: 
    radial-gradient(circle, rgba(128, 0, 32, 0.1) 1px, transparent 1px);
  opacity: 0.1;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 300px;
}

.footer-logo {
  width: 60px;
  height: 60px;
}

.footer-heading {
  color: var(--text);
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    padding: 160px 0 80px;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 60px;
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-image {
    justify-content: center;
  }
  
  .image-frame {
    width: 350px;
    height: 350px;
  }
  
  .step-number::after {
    width: 50px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--dark-light);
    flex-direction: column;
    padding: 40px 0;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 25px;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card {
    max-width: 100%;
  }
  
  .step-number::after {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cta-container {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .image-frame {
    width: 280px;
    height: 280px;
  }
}
