/* ============================================
   MyanPages — Landing Page Styles
   Mobile-first responsive design
   ============================================ */

:root {
  --color-primary: #4F46E5;
  --color-primary-dark: #4338CA;
  --color-primary-light: #818CF8;
  --color-accent: #7C3AED;
  --color-bg: #FAFBFF;
  --color-bg-alt: #F1F0FB;
  --color-surface: #FFFFFF;
  --color-text: #1E1B4B;
  --color-text-secondary: #6B7280;
  --color-text-light: #9CA3AF;
  --color-border: #E5E7EB;
  --color-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --shadow-sm: 0 1px 3px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 4px 20px rgba(30, 27, 75, 0.08);
  --shadow-lg: 0 12px 40px rgba(30, 27, 75, 0.12);
  --shadow-xl: 0 20px 60px rgba(30, 27, 75, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

.text-gradient {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.4);
}

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

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-accent {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 8px;
  list-style: none;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.nav-menu.open {
  right: 0;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.nav-link--cta {
  margin-top: 12px;
  padding: 12px 24px;
  background: var(--color-gradient);
  color: #fff !important;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
  background: linear-gradient(160deg, #FAFBFF 0%, #EEF2FF 50%, #F5F3FF 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.shape--1 {
  width: 400px;
  height: 400px;
  background: rgba(79, 70, 229, 0.15);
  top: -100px;
  right: -100px;
}

.shape--2 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.12);
  bottom: -50px;
  left: -50px;
}

.shape--3 {
  width: 200px;
  height: 200px;
  background: rgba(79, 70, 229, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

.phone-mockup {
  position: relative;
  width: 220px;
}

.phone-screen {
  width: 100%;
  background: var(--color-surface);
  border-radius: 24px;
  border: 3px solid var(--color-text);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.phone-header {
  padding: 8px 12px;
  background: var(--color-bg-alt);
}

.phone-status-bar {
  width: 40px;
  height: 4px;
  background: var(--color-text);
  border-radius: 4px;
  margin: 0 auto 6px;
}

.phone-url-bar {
  background: var(--color-surface);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.6rem;
  color: var(--color-text-secondary);
  text-align: center;
  font-weight: 500;
}

.phone-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-hero-img {
  height: 80px;
  background: var(--color-gradient);
  border-radius: var(--radius-sm);
  opacity: 0.8;
}

.phone-text-line {
  height: 8px;
  background: var(--color-bg-alt);
  border-radius: 4px;
}

.w80 { width: 80%; }
.w60 { width: 60%; }

.phone-cards {
  display: flex;
  gap: 8px;
}

.phone-card {
  flex: 1;
  height: 50px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
}

.phone-video {
  height: 60px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  position: relative;
}

.phone-video::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-text-light);
  font-size: 1.2rem;
}

/* QR Float */
.qr-float {
  position: absolute;
  left: -60px;
  top: 30%;
  width: 80px;
  height: 80px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  animation: float 4s ease-in-out infinite;
  overflow: hidden;
}

.qr-icon {
  width: 50px;
  height: 50px;
}

.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: scanLine 2.5s ease-in-out infinite;
}

@keyframes scanLine {
  0%, 100% { top: 10%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 85%; opacity: 1; }
  60% { opacity: 0; }
}

.scan-arrow {
  position: absolute;
  left: -20px;
  top: 45%;
  width: 50px;
  color: var(--color-primary);
  opacity: 0.6;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.7; transform: translateX(5px); }
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 32px;
  border: 2px solid var(--color-text-light);
  border-radius: 10px;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-text-light);
  border-radius: 3px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 16px; opacity: 0.3; }
}

/* ============================================
   Sections Common
   ============================================ */

.section {
  padding: 80px 0;
}

/* ============================================
   Problem Section
   ============================================ */

.section--problem {
  background: var(--color-surface);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.problem-card {
  padding: 28px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  color: var(--color-primary);
}

.problem-icon svg {
  width: 24px;
  height: 24px;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   Solution Section
   ============================================ */

.section--solution {
  background: var(--color-bg);
}

.solution-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.solution-visual {
  width: 100%;
  max-width: 400px;
}

.solution-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 16px;
}

.sol-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  min-width: 100px;
}

.sol-item-icon {
  font-size: 2rem;
}

.sol-connector {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 8px;
}

.sol-qr-badge {
  width: 48px;
  height: 48px;
  background: var(--color-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
  z-index: 1;
  flex-shrink: 0;
}

.sol-line {
  display: none;
}

.solution-content {
  text-align: center;
}

.solution-text {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 1rem;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.check-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.08);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   Benefits Section
   ============================================ */

.section--benefits {
  background: var(--color-surface);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  padding: 32px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.benefit-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gradient);
  border-radius: var(--radius-sm);
  margin: 0 auto 20px;
  color: #fff;
}

.benefit-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   How It Works (Steps)
   ============================================ */

.section--steps {
  background: var(--color-bg);
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 40px;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.step-item {
  position: relative;
  padding: 24px 0;
}

.step-number {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   Exclusivity Section
   ============================================ */

.section--exclusive {
  background: var(--color-surface);
  padding: 80px 0;
}

.exclusive-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #3730A3 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.exclusive-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(79, 70, 229, 0.2);
  border-radius: 50%;
  filter: blur(60px);
}

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

.exclusive-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: var(--color-primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.exclusive-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  margin-bottom: 16px;
}

.exclusive-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 24px;
}

.exclusive-visual {
  position: relative;
  z-index: 1;
}

.shield-icon {
  width: 100px;
  height: 120px;
  animation: float 5s ease-in-out infinite;
}

.shield-icon svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   About Section
   ============================================ */

.section--about {
  background: var(--color-bg);
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-content p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-content .btn {
  margin-top: 8px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number::after {
  content: '+';
  font-size: 1.2rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */

.section--contact {
  background: var(--color-surface);
}

.contact-centered {
  text-align: center;
  margin-bottom: 48px;
}

.contact-intro {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 36px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gradient);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-card-detail {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}

.contact-card-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 4px;
  transition: var(--transition);
}

.contact-card:hover .contact-card-action {
  gap: 8px;
}

.contact-cta {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #3730A3 100%);
  border-radius: var(--radius-lg);
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 20px;
}

.contact-cta .btn--primary {
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.5);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive — Tablet (768px+)
   ============================================ */

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 100px 0;
  }

  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-timeline {
    padding-left: 60px;
  }

  .steps-timeline::before {
    left: 29px;
  }

  .step-number {
    left: -60px;
    width: 48px;
    height: 48px;
    font-size: 0.85rem;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-layout {
    flex-direction: row;
    align-items: start;
    gap: 64px;
  }

  .about-content {
    flex: 1.2;
    text-align: left;
  }

  .about-stats {
    flex: 0.8;
    grid-template-columns: 1fr 1fr;
  }

  .exclusive-banner {
    padding: 64px 48px;
    flex-direction: row;
    text-align: left;
  }

  .exclusive-content p {
    margin-left: 0;
  }

  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ============================================
   Responsive — Desktop (1024px+)
   ============================================ */

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .section {
    padding: 120px 0;
  }

  /* Nav desktop */
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
    gap: 0;
    align-items: center;
  }

  .nav-link {
    padding: 8px 16px;
    border-bottom: none;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
  }

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

  .nav-link--cta {
    margin-top: 0;
    margin-left: 8px;
    padding: 10px 22px;
    font-size: 0.85rem;
    color: #fff !important;
  }

  /* Hero desktop */
  .hero {
    padding: 120px 0 80px;
  }

  .hero-container {
    flex-direction: row;
    text-align: left;
    gap: 64px;
  }

  .hero-content {
    flex: 1;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    flex: 0.8;
  }

  .phone-mockup {
    width: 260px;
  }

  .qr-float {
    left: -80px;
    width: 96px;
    height: 96px;
  }

  .qr-icon {
    width: 60px;
    height: 60px;
  }

  /* Problem */
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Solution */
  .solution-layout {
    flex-direction: row;
    gap: 80px;
  }

  .solution-content {
    text-align: left;
    flex: 1;
  }

  .solution-visual {
    flex: 0.7;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .benefits-grid .benefit-card:nth-child(4),
  .benefits-grid .benefit-card:nth-child(5) {
    max-width: 380px;
  }

  .benefits-grid .benefit-card:nth-child(4) {
    grid-column: 1 / 2;
    justify-self: end;
  }

  .benefits-grid .benefit-card:nth-child(5) {
    grid-column: 2 / 3;
    justify-self: start;
  }

  /* Steps */
  .steps-timeline {
    flex-direction: row;
    padding-left: 0;
    gap: 24px;
  }

  .steps-timeline::before {
    top: 44px;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 2px;
  }

  .step-item {
    flex: 1;
    padding: 0;
    text-align: center;
  }

  .step-number {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 20px;
    width: 56px;
    height: 56px;
    font-size: 0.9rem;
  }

  /* Exclusive */
  .exclusive-banner {
    padding: 72px 64px;
  }

  .shield-icon {
    width: 140px;
    height: 168px;
  }

  /* Stats */
  .about-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2.4rem;
  }
}

/* ============================================
   Responsive — Large Desktop (1280px+)
   ============================================ */

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3.8rem;
  }

  .phone-mockup {
    width: 280px;
  }

  .qr-float {
    left: -100px;
    width: 110px;
    height: 110px;
  }

  .qr-icon {
    width: 68px;
    height: 68px;
  }
}
