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

:root {
  --primary: hsl(148, 43%, 16%);
  --primary-rgb: 23, 59, 43;
  --primary-light: hsl(148, 40%, 25%);
  --primary-dark: hsl(148, 45%, 10%);
  
  --accent: hsl(38, 100%, 50%); /* Sun yellow */
  --accent-orange: hsl(26, 100%, 50%); /* Sun orange */
  --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-orange) 100%);
  
  --text-dark: hsl(215, 32%, 12%);
  --text-muted: hsl(215, 15%, 45%);
  --text-light: hsl(45, 20%, 97%);
  --text-light-muted: hsl(45, 10%, 80%);
  
  --bg-light: hsl(45, 15%, 98%);
  --bg-card-light: hsl(0, 0%, 100%);
  --bg-dark: hsl(148, 45%, 8%);
  
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  
  --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --max-width: 1200px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 1000;
  background-color: rgba(250, 251, 249, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 59, 43, 0.06);
  transition: var(--transition);
}

header.shrink {
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  background-color: rgba(250, 251, 249, 0.9);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  transition: var(--transition);
}

header.shrink .logo-img {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  opacity: 0.8;
}

nav a:hover, nav a.active {
  opacity: 1;
  color: var(--primary-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid rgba(23, 59, 43, 0.12);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}

.lang-btn:hover {
  background-color: var(--text-light);
  border-color: var(--primary-light);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: white;
  border: 1px solid rgba(23, 59, 43, 0.1);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-width: 100px;
  overflow: hidden;
  z-index: 1010;
}

.lang-dropdown.show {
  display: block;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lang-option {
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  transition: var(--transition);
}

.lang-option:hover {
  background-color: rgba(23, 59, 43, 0.05);
  color: var(--primary-light);
}

/* CTA Buttons */
.btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(23, 59, 43, 0.15);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 59, 43, 0.25);
  color: white;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1020;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(255, 179, 0, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(23, 59, 43, 0.04) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(23, 59, 43, 0.06);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-badge span {
  color: var(--accent-orange);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

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

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  height: 52px;
  transition: var(--transition);
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

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

.hero-mockup-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-mockup {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(23, 59, 43, 0.15);
  border: 8px solid white;
  max-width: 360px;
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Values Grid Section */
.values {
  padding: 80px 0;
  background-color: white;
  border-top: 1px solid rgba(23, 59, 43, 0.05);
  border-bottom: 1px solid rgba(23, 59, 43, 0.05);
}

.values-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(23, 59, 43, 0.06);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 59, 43, 0.15);
  box-shadow: var(--card-shadow);
}

.value-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(23, 59, 43, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-light);
  font-size: 20px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background-color: var(--primary);
  color: var(--accent);
}

.value-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Feature Showcase Section */
.features-section {
  padding: 120px 0;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
  text-align: center;
  padding: 0 24px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

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

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.tabs-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  background: white;
  border: 1px solid rgba(23, 59, 43, 0.1);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 8px 24px rgba(23, 59, 43, 0.15);
}

.tab-btn.active .tab-icon {
  color: var(--accent);
}

.tab-icon {
  font-size: 18px;
  color: var(--primary-light);
  transition: var(--transition);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.feature-info {
  padding-right: 20px;
}

.feature-badge {
  display: inline-block;
  background-color: rgba(255, 179, 0, 0.12);
  color: var(--accent-orange);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.feature-subtitle {
  font-size: 17px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.feature-points {
  list-style: none;
  display: grid;
  gap: 20px;
}

.feature-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(23, 59, 43, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.point-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.point-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.feature-media {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(23, 59, 43, 0.08);
  background-color: white;
  transition: var(--transition);
}

.feature-media img {
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-media:hover img {
  transform: scale(1.02);
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: white;
}

.steps-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(23, 59, 43, 0.1) 0px, rgba(23, 59, 43, 0.1) 8px, transparent 8px, transparent 16px);
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 64px;
  height: 64px;
  background-color: var(--bg-light);
  border: 2px dashed rgba(23, 59, 43, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-light);
  transition: var(--transition);
}

.step-card:hover .step-num {
  border-color: var(--accent);
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(23, 59, 43, 0.15);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* Download CTA Section */
.cta-banner {
  padding: 100px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.cta-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-tagline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}

.cta-tagline span {
  color: var(--accent);
}

.cta-desc {
  font-size: 16px;
  color: var(--text-light-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.cta-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.cta-mockup {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 6px solid var(--primary-light);
  max-width: 320px;
  transform: rotate(-3deg);
  transition: var(--transition);
}

.cta-mockup:hover {
  transform: rotate(0deg) scale(1.03);
}

/* Footer styling */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light-muted);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
}

.footer-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.footer-brand-desc {
  font-size: 14px;
  max-width: 280px;
}

.footer-links-title {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
}

.footer-links-list a:hover {
  color: white;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social-link:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 46px;
  }
  
  .hero-container,
  .cta-container {
    gap: 40px;
  }
  
  .values-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container::before {
    display: none;
  }
  
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-light);
    padding: 40px 24px;
    border-top: 1px solid rgba(23, 59, 43, 0.06);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    transform: translateX(0);
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  nav a {
    font-size: 18px;
    font-weight: 600;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20px;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .hero-desc {
    margin: 0 auto 30px auto;
  }
  
  .store-badges {
    justify-content: center;
  }
  
  .hero-mockup-wrapper {
    margin-top: 40px;
  }
  
  .tab-content.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-info {
    padding-right: 0;
  }
  
  .feature-media {
    order: -1;
  }
  
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-tagline {
    font-size: 30px;
  }
  
  .cta-desc {
    margin: 0 auto 30px auto;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .values-container,
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .tab-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Native Scroll-Driven Animations */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-card {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .value-card,
    .step-card,
    .feature-media,
    .hero-mockup,
    .cta-mockup {
      animation: reveal-card auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
  
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    @keyframes shrink-header {
      to {
        height: 70px;
        background-color: rgba(250, 251, 249, 0.9);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
      }
    }
    
    header {
      animation: shrink-header auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 100px;
    }
  }
}
