@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #F4F9FF;
  --text-primary: #1A365D;
  --text-secondary: #4A6582;
  --accent-gold: #4A90E2;
  /* Kept variable name to avoid refactoring whole file */
  --accent-hover: #357ABD;
  --card-bg: rgba(255, 255, 255, 0.7);
  --border-color: rgba(74, 144, 226, 0.2);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Top Bar */
.top-bar {
  background-color: var(--text-primary);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.6rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
}

.top-bar-left {
  display: flex;
  gap: 1.5rem;
  opacity: 0.9;
}

.top-bar-right a {
  color: var(--accent-gold);
  font-weight: 500;
  text-decoration: none;
}

.top-bar-right a:hover {
  color: #fff;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

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

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 6rem 5%;
  background: linear-gradient(to right, rgba(244, 249, 255, 1) 0%, rgba(244, 249, 255, 0.8) 45%, rgba(244, 249, 255, 0) 100%), url('assets/hero_bg.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeIn 1.2s ease-out forwards;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--accent-gold);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(74, 144, 226, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  box-shadow: none;
  margin-left: 1rem;
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: #fff;
}

/* Sections */
.section {
  padding: 6rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 1rem auto 0;
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

/* Split Layout */
.split-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.split-text {
  flex: 1;
  text-align: left;
}

.split-text .section-title {
  text-align: left;
}

.split-text .section-title::after {
  margin: 1rem 0 0 0;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--text-primary);
  color: #fff;
  padding: 4rem 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  color: var(--accent-gold);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  background: var(--accent-gold);
  color: #fff;
  text-align: center;
  padding: 5rem 5%;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn {
  background-color: #fff;
  color: var(--text-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-section .btn:hover {
  background-color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background-color: #fff;
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sell Steps */
.step-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-right: 2rem;
  opacity: 0.5;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .top-bar-left {
    flex-direction: column;
    gap: 0.2rem;
  }

  header {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul {
    margin-top: 1rem;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
  }

  .split-layout {
    flex-direction: column;
    text-align: center;
  }

  .split-text .section-title {
    text-align: center;
  }

  .split-text .section-title::after {
    margin: 1rem auto 0;
  }
}

/* Image Styles */
.logo-img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
}

.shop-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-gold);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}