:root {
  --primary-color: #B51E32;
  --secondary-color: #7A1422;
  --text-dark: #1A1A1A;
  --text-light: #F5F5F7;
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --card-bg: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
  background: url('assets/hero.png') no-repeat center center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Tabs */
.switch-container {
  display: flex;
  justify-content: center;
  margin: -2rem auto 3rem;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}

.switch-box {
  background: white;
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: var(--glass-shadow);
  display: flex;
  gap: 0.5rem;
}

.switch-btn {
  padding: 0.8rem 2rem;
  border: none;
  background: transparent;
  font-weight: 600;
  color: #666;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.switch-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(181, 30, 50, 0.3);
}

/* Cards Section */
.products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 5%;
}

.product-card {
  display: none; /* Hidden by default */
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease;
}

.product-card.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-image img {
  width: 100%;
  border-radius: 15px;
  border: 4px solid var(--primary-color); /* festive border */
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-details h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card-details ul {
  list-style: none;
  margin-bottom: 2rem;
}

.card-details li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.card-details li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(181, 30, 50, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(181, 30, 50, 0.5);
}

/* Features Grid (Migrants) */
.features-section {
  background: white;
  padding: 4rem 5%;
  text-align: center;
}

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

.feature-item {
  padding: 2rem;
  border-radius: 16px;
  background: #f8f9fa;
  border: 1px solid #eee;
}

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

/* How to */
.steps-section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* Footer */
footer {
  background: #2d3436;
  color: #dfe6e9;
  padding: 3rem 5%;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: #74b9ff;
  text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  
  .product-card.active {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .card-details li {
    justify-content: center;
    text-align: left;
  }
  
  .switch-container {
    padding: 0;
  }
}

/* STORY MODE FOR VIDEO RECORDING */
body.story-mode {
  background: #f8f9fa;
}

.story-container {
  max-width: 600px; /* Mobile-friendly width for recording */
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  box-shadow: 0 0 50px rgba(0,0,0,0.1);
}

.story-section {
  padding: 6rem 2rem; /* Huge padding for slow scroll */
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh; /* Each section takes screen time */
}

.story-section.hero-story {
  background: #B51E32;
  color: white;
  text-align: center;
}

.story-section img {
  width: 100%;
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.story-text {
  font-size: 1.8rem; /* Big text for video */
  line-height: 1.5;
  font-weight: 600;
  color: #333;
}

.story-highlight {
  color: #B51E32;
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  margin: 1.5rem 0;
}

.story-list {
    list-style: none;
}

.story-list li {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  padding-left: 2.5rem;
  position: relative;
  font-weight: 500;
}

.story-list li::before {
  content: '👉';
  position: absolute;
  left: 0;
}
