/* Frost Wing: Glacial Strike - Main Stylesheet */
/* Glacial Ice & Electric Blue Color Scheme with Icy Intensity Tone */

/* CSS Variables */
:root {
  /* Glacial Color Palette */
  --ice-white: #F0F8FF;
  --frost-light: #E3F2FD;
  --glacier-blue: #64B5F6;
  --electric-blue: #00A5FF;
  --deep-ice: #1976D2;
  --arctic-dark: #0D47A1;
  --ice-shadow: rgba(25, 118, 210, 0.15);
  --frost-glow: rgba(0, 165, 255, 0.3);
  --text-dark: #0A1929;
  --text-light: #FFFFFF;
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px var(--ice-shadow);
  --shadow-md: 0 4px 16px var(--ice-shadow);
  --shadow-lg: 0 8px 32px var(--ice-shadow);
  --glow-blue: 0 0 20px var(--frost-glow), 0 0 40px var(--frost-glow);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(180deg, var(--ice-white) 0%, var(--frost-light) 100%);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 248, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 48px;
  display: flex;
  align-items: center;
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.header-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.header-title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--deep-ice);
}

.header-nav {
  display: none;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  color: var(--deep-ice);
  transition: color var(--transition-fast);
}

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

.cta-button-small {
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(135deg, var(--electric-blue), var(--glacier-blue));
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-button-small:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.cta-button-small:active {
  transform: translateY(0);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(240, 248, 255, 0.7) 0%, 
    rgba(227, 242, 253, 0.85) 50%,
    rgba(240, 248, 255, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 600px;
  animation: heroFadeIn 1s ease;
}

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

.hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-md);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  animation: iconFloat 3s ease-in-out infinite;
}

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

.hero-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--arctic-dark);
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  color: var(--deep-ice);
  margin-bottom: var(--spacing-md);
}

.hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

/* Download Buttons */
.download-button {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-bold);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal);
  width: 100%;
  max-width: 280px;
  min-height: 56px;
}

.download-button.google-play {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #00A5FF 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-md), 0 0 15px rgba(0, 165, 255, 0.2);
}

.download-button.google-play:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  filter: brightness(1.1);
}

.download-button.google-play:active {
  transform: translateY(-2px);
}

.download-button.app-store.coming-soon {
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.55;
  filter: grayscale(0.6);
  cursor: not-allowed;
  position: relative;
}

.download-button.app-store.coming-soon:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  filter: grayscale(0.6);
}

.coming-soon-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--glacier-blue);
  color: var(--text-light);
  font-size: 0.625rem;
  font-weight: var(--font-weight-bold);
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.button-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.button-store {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
}

.coming-soon-label {
  color: rgba(255, 255, 255, 0.7);
}

/* Features Section */
.features {
  padding: var(--spacing-2xl) 0;
  background: var(--ice-white);
}

.section-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--arctic-dark);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--deep-ice);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(227, 242, 253, 0.5));
  border: 2px solid rgba(100, 181, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 165, 255, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 2px 4px var(--ice-shadow));
}

.feature-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--arctic-dark);
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Download CTA Section */
.download-cta {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, var(--deep-ice), var(--electric-blue));
  color: var(--text-light);
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.download-button.large {
  max-width: 320px;
}

/* About Section */
.about {
  padding: var(--spacing-2xl) 0;
  background: var(--frost-light);
}

.about-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-contact {
  font-size: 1rem;
  text-align: center;
  margin-top: var(--spacing-lg);
}

.contact-link {
  color: var(--electric-blue);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--deep-ice);
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  background: var(--arctic-dark);
  color: var(--text-light);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
}

.footer-contact {
  font-size: 0.9375rem;
}

.footer-link {
  color: var(--glacier-blue);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--electric-blue);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  font-size: 0.875rem;
}

.footer-separator {
  opacity: 0.5;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: var(--spacing-sm);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(240, 248, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 16px var(--ice-shadow);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.mobile-sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-button {
  display: block;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(135deg, var(--electric-blue), var(--glacier-blue));
  color: var(--text-light);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 0 15px rgba(0, 165, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sticky-button:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-sm);
}

/* Desktop Styles */
@media (min-width: 768px) {
  .header {
    height: 64px;
  }
  
  .header-nav {
    display: flex;
  }
  
  .hero {
    padding-top: 64px;
  }
  
  .hero-content {
    padding: var(--spacing-2xl) var(--spacing-lg);
    max-width: 700px;
  }
  
  .hero-icon {
    width: 140px;
    height: 140px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .mobile-sticky-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .cta-title {
    font-size: 3rem;
  }
}
