/* =================================================================
   RESET & BASE STYLES
   ================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  background: #ffffff;
  color: #1a202c;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: visible;
}

/* =================================================================
   ORIGINAL HERO DOWNLOAD SECTION
   ================================================================= */
.hero-download-section {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 30%, #0366B8 0%, #024c96 50%, #013B73 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  position: relative;
  overflow-x: hidden;
}

.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0px;
}

.container {
  text-align: center;
  max-width: 500px;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin-bottom: 0px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

h1 {
  font-size: 42px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin: 16px 0;
}

.sub-download-text {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
  margin-top: 20px;
}

.section-divider {
  border: none;
  height: 1px;
  background-color: rgba(74, 85, 104, 0.2);
  margin: 12px 0;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.mb-16 {
  margin-bottom: 16px;
}

.description p {
  font-size: 18px;
  line-height: 1.6;
  color: #4a5568;
  max-width: 400px;
  margin: 0 auto;
}

.downloads {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.mobile-info {
  text-align: center;
}

.mobile-info p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 16px;
}

.mobile-downloads {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.scroll-indicator {
  margin-top: 40px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  animation: bounce 2s infinite;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator p {
  font-size: 14px;
  margin-top: 8px;
  color: #024c96;
  font-weight: 500;
}

/* =================================================================
   SECTION STYLES
   ================================================================= */
section {
  padding: 100px 20px;
  overflow: visible;
}

section.desktop-app-section {
  padding: 40px 20px 180px 20px !important;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

.section-title {
  font-size: clamp(36px, 10vw, 72px);
  font-weight: 700;
  color: #1a202c;
  text-align: center;
  margin-bottom: 10px;
}

.section-title-white {
  font-size: clamp(36px, 10vw, 72px);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: #4a5568;
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle-white {
  font-size: clamp(18px, 3vw, 24px);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 60px;
}

/* =================================================================
   HOW IT WORKS SECTION
   ================================================================= */
.how-it-works-section {
  background: #ffffff;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 2px solid #e2e8f0;
}

.step-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #a0522d;
  color: white;
  font-size: 48px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
}

.step-visual {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

.step-visual svg {
  max-width: 100%;
  height: auto;
}

.step-description {
  font-size: 18px;
  color: #4a5568;
  line-height: 1.8;
}

/* =================================================================
   CROSS PLATFORM SECTION
   ================================================================= */
.cross-platform-section {
  background: radial-gradient(ellipse at 50% 30%, #0366B8 0%, #024c96 50%, #013B73 100%);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.platform-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.platform-icon {
  margin-bottom: 20px;
}

.platform-icon.ios,
.platform-icon.macos {
  color: white;
}

.platform-name {
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.platform-note {
  text-align: center;
  margin-top: 40px;
}

.platform-note p {
  color: white;
  font-size: 20px;
  font-weight: 500;
}

/* =================================================================
   DESKTOP APP SECTION
   ================================================================= */
.desktop-app-section {
  background: #f8f9fa;
  overflow: visible;
}

.desktop-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.desktop-visual {
  display: flex;
  justify-content: center;
}

.system-tray-demo {
  position: relative;
}

.tray-icon {
  width: 48px;
  height: 48px;
  background: #1a202c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tray-menu {
  position: absolute;
  top: 60px;
  right: 0;
  width: 280px;
  background: rgba(30, 30, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.menu-item {
  padding: 12px 16px;
  color: white;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.2s;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-item.status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

.desktop-feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 16px;
  color: #4a5568;
  margin: 0;
}

/* =================================================================
   PRIVACY SECTION
   ================================================================= */
.privacy-section {
  background: #012e5b;
  color: white;
  overflow: visible;
  text-align: center;
}

.privacy-section .section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.privacy-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 0;
}

.privacy-features {
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.privacy-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
  text-align: left;
}

.privacy-check {
  width: 40px;
  height: 40px;
  background: #10b981;
  color: white;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

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

.privacy-text h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.privacy-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.privacy-tagline {
  text-align: center;
}

.privacy-tagline p {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
}

.privacy-tagline .highlight {
  color: #10b981;
}

.privacy-note {
  text-align: center;
}

.privacy-link {
  color: #10b981;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.privacy-link:hover {
  border-color: #10b981;
}

/* =================================================================
   DOWNLOAD SECTION
   ================================================================= */
.download-section {
  background: white;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.download-group {
  text-align: center;
}

.download-category {
  font-size: 24px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 24px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 32px;
  background: #0366B8;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(3, 102, 184, 0.3);
  width: 160px;
}

.download-btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.download-btn .icon svg {
  display: block;
}

.download-btn .text {
  display: flex;
  align-items: center;
}

.download-btn:hover {
  background: #024c96;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(3, 102, 184, 0.4);
}

.download-btn:active {
  transform: translateY(0);
}

.download-btn.apple-logo .icon {
  transform: translateY(-1px);
}

.download-note {
  text-align: center;
  color: #4a5568;
  font-size: 14px;
  margin-top: 20px;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: #003060;
  color: white;
  padding: 32px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left p {
  font-size: 14px;
  margin: 0;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes slideRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  .container {
    margin: 20px;
    padding: 40px 20px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .description p {
    font-size: 16px;
  }

  .logo {
    width: 100px;
    height: 100px;
  }

  .downloads {
    flex-direction: column;
  }

  .mobile-downloads {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 36px;
  }

  .step-visual svg {
    max-width: 100%;
    height: auto;
  }

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

  .desktop-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .desktop-feature-list {
    text-align: center;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
  }

  .feature-text {
    text-align: center;
  }

  .privacy-features {
    align-items: center;
  }

  .privacy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .privacy-text {
    text-align: center;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

@media (max-width: 480px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}
