/* =============================================
   Stock Events — Landing Page Styles (FR)
   ============================================= */

:root {
  --green: #1BC47D;
  --green-dark: #14a368;
  --green-light: #e6faf2;
  --green-glow: rgba(27, 196, 125, 0.25);
  --dark: #0d1117;
  --dark-2: #161b22;
  --dark-3: #21262d;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --text: #1f2937;
  --text-muted: #6b7280;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--green-glow);
}

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

.btn-outline:hover {
  background: var(--green-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0fdf7 0%, #ffffff 50%, #f0fdf7 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(27,196,125,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(27,196,125,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(27,196,125,0.2);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--green);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: white;
  padding: 12px 24px;
  border-radius: 14px;
  transition: all var(--transition);
}

.store-btn:hover {
  background: #1a2332;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn-text small {
  font-size: 0.68rem;
  opacity: 0.75;
  font-weight: 400;
}

.store-btn-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-wrap {
  position: relative;
  width: 320px;
}

.hero-phone-wrap img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
  animation: float 6s ease-in-out infinite;
}

.hero-phone-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-phone-badge.badge-1 {
  top: 15%;
  left: -60px;
  animation: float-badge1 6s ease-in-out infinite;
}

.hero-phone-badge.badge-2 {
  bottom: 20%;
  right: -50px;
  animation: float-badge2 6s ease-in-out infinite;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.badge-dot.orange { background: #f59e0b; }

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

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

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

/* =============================================
   SECTION COMMONS
   ============================================= */

.section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title span { color: var(--green); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-desc {
  margin: 0 auto;
}

/* =============================================
   FEATURES STRIP
   ============================================= */

.features-strip {
  background: var(--dark);
  padding: 24px;
  overflow: hidden;
}

.features-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.strip-item:last-child { border-right: none; }

.strip-item svg {
  color: var(--green);
  flex-shrink: 0;
}

/* =============================================
   FEATURE ROWS
   ============================================= */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-img-wrap {
  position: relative;
}

.feature-img-wrap img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.feature-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--green-glow), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--green-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2314a368'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* =============================================
   GALLERY (screenshots grid)
   ============================================= */

.gallery-section {
  background: var(--dark);
  padding: 100px 24px;
}

.gallery-section .section-title { color: white; }
.gallery-section .section-desc { color: rgba(255,255,255,0.6); }
.gallery-section .section-label {
  background: rgba(27,196,125,0.15);
  color: var(--green);
}

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--green) rgba(255,255,255,0.1);
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 4px;
}
.screenshots-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
}
.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 2px;
}

.screenshot-card {
  flex: 0 0 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  transition: transform var(--transition);
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   STATS SECTION
   ============================================= */

.stats-section {
  background: linear-gradient(135deg, var(--green) 0%, #0fa364 100%);
  padding: 80px 24px;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* =============================================
   PRICING / CTA SECTION
   ============================================= */

.cta-section {
  padding: 100px 24px;
  background: var(--gray-light);
}

.cta-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: 32px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27,196,125,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card .section-title {
  color: white;
  margin-bottom: 16px;
}

.cta-card .section-desc {
  color: rgba(255,255,255,0.6);
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.store-btn.light {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.store-btn.light:hover {
  background: rgba(255,255,255,0.14);
}

.store-btn.green-btn {
  background: var(--green);
}

.store-btn.green-btn:hover {
  background: var(--green-dark);
}

/* =============================================
   THEMES SECTION
   ============================================= */

.themes-section {
  padding: 100px 24px;
  background: white;
}

.themes-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 16px;
}

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

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--green);
}

.footer-company {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}

.footer-company-name {
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.footer-company a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-company a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

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

/* =============================================
   POLICY PAGES
   ============================================= */

.policy-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(135deg, #f0fdf7 0%, #ffffff 100%);
  text-align: center;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 40px 0 12px;
}

.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 24px 0 8px;
}

.policy-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 20px;
}

.policy-content ul li {
  margin-bottom: 8px;
}

.policy-content .date-notice {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  padding: 12px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--green-dark);
  margin-bottom: 32px;
  font-weight: 500;
}

/* =============================================
   MOBILE MENU
   ============================================= */

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-menu .store-btn {
  justify-content: center;
}

/* =============================================
   ANIMATIONS
   ============================================= */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-visual { order: -1; }

  .hero-phone-wrap { width: 240px; }

  .hero-phone-badge.badge-1 { left: -20px; }
  .hero-phone-badge.badge-2 { right: -20px; }

  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .feature-row.reverse { direction: ltr; }

  .themes-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .strip-item {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .cta-card {
    padding: 48px 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .section { padding: 64px 24px; }
  .gallery-section { padding: 64px 24px; }
  .stats-section { padding: 64px 24px; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 20px 60px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .screenshot-card { flex: 0 0 180px; }
}
