/* Fonts */
@font-face {
  font-family: 'FixelText';
  src: url('fonts/FixelText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FixelText';
  src: url('fonts/FixelText-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'FixelText', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 32px 0 32px;
  width: 100%;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 30px;
  width: auto;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-separator {
  width: 4px;
  height: 4px;
  background-color: #666;
  border-radius: 50%;
}

.logo-subtitle {
  font-size: 14px;
  color: #999;
  font-weight: 400;
  line-height: 1.2;
}

.contact-btn {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  background: #f5f5f5;
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-btn:hover {
  background: #ebebeb;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-image {
  max-width: 33.33%;
  height: auto;
  margin: -40px 0 -80px 0;
}

.hero h1 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 80px;
  margin-top: 60px;
  color: #2a2a2a;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.3px;
}

/* Apps Grid */
.apps-section {
  padding: 0 32px 40px 32px;
  margin: 0 auto;
  max-width: 1200px;
}

.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-card {
  background: #f8f9fa;
  border-radius: 24px;
  padding: 24px;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: white;
  }
}


.app-icon-container {
      position: relative;
      width: 68px;
      height: 68px;
      flex-shrink: 0;
    }
    
    .app-icon {
      width: 100%;
      height: 100%;
      border-radius: 0;
      background-size: cover;
      background-position: center;
    }

    .app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.app-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.1;
}

.app-badge {
  background: #FF8C00;
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 1;
}

.app-description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .app-description {
    max-width: 80%;
  }
}

.launch-badge {
  display: inline-block;
  background-color: #FF8C00;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 600;
}

.app-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.app-link:hover {
  color: #888;
}

.app-link svg {
  width: 14px;
  height: 14px;
}

/* Footer */
/* Ukraine Support Section */
.ukraine-support-section {
  background: #f8f9fa;
  padding: 48px;
  margin: 40px 48px 0 48px;
  border-radius: 24px;
}

.ukraine-support-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ukraine-support-title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.2;
}

.ukraine-support-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.ukraine-support-text:last-of-type {
  margin-bottom: 32px;
}

.ukraine-support-text.donation-text {
  font-style: italic;
  opacity: 0.6;
}

.ukraine-link {
  color: #1a1a1a;
  text-decoration: underline;
  font-weight: 500;
}

.ukraine-link:hover {
  color: #333;
}

.donate-btn {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.donate-btn:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.3);
}

.footer {
  background: white;
  padding: 48px 32px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copyright {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 20px;
  color: #666;
}

.footer-design {
  background: #f5f5f5;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 14px;
  color: #666;
}

.footer-design a {
  color: #666;
  text-decoration: underline;
}

.footer-design a:hover {
  color: #333;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Desktop Enhanced Styles (150% scale) */
@media (min-width: 769px) {
  .container {
    max-width: 1800px;
    padding: 0;
  }
  
  .header {
    padding: 48px 48px 0 48px;
    height: 96px;
  }
  
  .logo img {
    height: 45px;
  }
  
  .logo-subtitle {
    font-size: 21px;
  }
  
  .contact-btn {
    font-size: 21px;
    padding: 12px 30px;
    border-radius: 30px;
  }
  
  .hero {
    padding: 80px 48px;
    max-width: 1800px;
  }
  
  .hero h1 {
    font-size: 42px;
    margin-bottom: 80px;
    margin-top: 60px;
    max-width: 960px;
  }
  
  .apps-section {
    padding: 0 48px 60px 48px;
    max-width: 1800px;
  }
  
  .apps-grid {
    gap: 12px;
  }
  
  .app-card {
    border-radius: 36px;
    padding: 36px;
    gap: 30px;
  }
  
  .app-icon-container {
    width: 102px;
    height: 102px;
  }
  
  .app-title {
    font-size: 27px;
  }
  
  .app-badge {
    font-size: 13px;
    padding: 3px 9px;
    border-radius: 12px;
  }
  
  .app-description {
    font-size: 21px;
  }
  
  .app-action {
    min-width: 180px;
  }
  
  .app-link {
    font-size: 21px;
  }
  
  .app-link svg {
    width: 21px;
    height: 21px;
  }
  
  .footer {
    padding: 72px 48px;
    margin-top: 60px;
  }
  
  .footer-content {
    font-size: 21px;
    max-width: 1800px;
  }
  
  .footer-copyright {
    padding: 12px 24px;
    border-radius: 30px;
  }
  
  .footer-design {
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 21px;
  }
}

/* Mobile Styles */
/* Mobile-only elements */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
  }
  
  .header {
    padding: 24px 20px 0 20px;
    height: 56px;
  }
  
  .header .logo-text {
    display: none;
  }
  
  .mobile-only {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .logo {
    gap: 8px;
  }
  
  .logo img {
    height: 24px;
  }
  
  .logo-subtitle {
    font-size: 12px;
  }
  
  .contact-btn {
     font-size: 13px;
     padding: 6px 16px;
   }
  
  .hero {
    padding: 80px 20px 40px 20px;
  }
  
  .hero h1 {
         font-size: 24px;
         margin-bottom: 40px;
         margin-top: 8px;
         max-width: none;
       }
  
  .hero-image {
    max-width: 66.66%;
    margin-bottom: 0px;
  }
  
  .apps-section {
    padding: 0 20px 30px 20px;
  }
  
  .apps-grid {
    gap: 6px;
  }
  
  .app-card {
    padding: 20px;
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }
  
  .app-icon-container {
        width: 56px;
        height: 56px;
        align-self: center;
      }
      
      .app-icon {
        width: 100%;
        height: 100%;
      }
  
  .app-content {
        text-align: center;
      }
      
      .app-header {
        justify-content: center;
      }
      
      .app-description {
        width: 80%;
        margin: 0 auto;
      }
  
  .app-action {
    min-width: auto;
  }
  
  .ukraine-support-section {
    padding: 32px 36px;
    margin: 30px 20px 0 20px;
    border-radius: 20px;
  }
  
  .ukraine-support-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .ukraine-support-text {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .ukraine-support-text:last-of-type {
    margin-bottom: 24px;
  }
  
  .donate-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
  
  .footer {
    padding: 40px 20px;
  }
  
  .footer-content {
    flex-direction: row;
    gap: 16px;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initially hide all fade-in-up elements */
.fade-in-up {
  opacity: 0.01;
  transform: translateY(30px);
}

/* Animation class that will be added by JavaScript */
.fade-in-up.animate {
  animation: fadeInUp 0.6s ease forwards;
}

/* Loader styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader.hide {
  opacity: 0.01;
  pointer-events: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(128, 128, 128, 0.2);
  border-top: 3px solid #808080;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header animation */
.header.fade-in-up.animate {
  animation-delay: 0.1s;
}

/* Hero h1 animation */
h1.fade-in-up.animate {
  animation-delay: 0.2s;
}

/* Mobile logo text animation */
.mobile-only.fade-in-up.animate {
  animation-delay: 0.3s;
}

/* Apps section animation */
.apps-section.fade-in-up.animate {
  animation-delay: 0.5s;
}

/* App cards animations */
.apps-grid .fade-in-up.animate:nth-child(1) {
  animation-delay: 0.7s;
}

.apps-grid .fade-in-up.animate:nth-child(2) {
  animation-delay: 0.9s;
}

.apps-grid .fade-in-up.animate:nth-child(3) {
  animation-delay: 1.1s;
}

.apps-grid .fade-in-up.animate:nth-child(4) {
  animation-delay: 1.3s;
}

.apps-grid .fade-in-up.animate:nth-child(5) {
  animation-delay: 1.5s;
}

/* Coming soon section */
.coming-soon-section {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin: 20px 0;
}

/* In development app cards */
.app-card.in-development {
  background: white !important;
  border: 1px dashed #D6D6D6 !important;
  cursor: default;
  opacity: 0.8;
}

.app-card.in-development:hover {
  transform: none;
  box-shadow: none;
  border-color: #D6D6D6;
}

.app-card.in-development .app-icon {
  filter: grayscale(100%) opacity(0.4);
}

.app-card.in-development .app-title,
.app-card.in-development .app-description {
  opacity: 0.4;
}



/* Ukraine Support Section animation */
.ukraine-support-section.fade-in-up.animate {
  animation-delay: 1.6s;
}

/* Footer animation */
.footer.fade-in-up.animate {
  animation-delay: 1.8s;
}

/* Smooth scrolling for iOS */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}