@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --bg-primary: #f5fbfb;
  --bg-secondary: #e9f5f5;
  --text-primary: #1e353b;
  --text-secondary: #4a676e;
  --accent: #007c91;
  --accent-hover: #005f70;
  --accent-light: #e0f2f1;
  --card-bg: rgba(255, 255, 255, 0.75);
  --border-color: rgba(0, 124, 145, 0.12);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(30, 53, 59, 0.08), 0 4px 6px -2px rgba(30, 53, 59, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(30, 53, 59, 0.12), 0 10px 10px -5px rgba(30, 53, 59, 0.04);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Sticky Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(245, 251, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  font-family: 'Roboto', var(--font-sans);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 124, 145, 0.08) 0%, rgba(245, 251, 251, 0) 70%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tagline {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero h1 span {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  height: 100%;
  padding: 40px;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.hero-image:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 40px -10px rgba(30, 53, 59, 0.16);
}

/* Feature Sections (Alternating) */
.features {
  padding: 40px 0 100px;
  background-color: var(--bg-secondary);
}

.feature-section {
  padding: 80px 0;
}

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

.feature-grid.reverse .feature-image-container {
  grid-column: 2;
}

.feature-grid.reverse .feature-content {
  grid-column: 1;
  grid-row: 1;
}

.feature-content {
  max-width: 500px;
}

.feature-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.feature-content p {
  margin-bottom: 24px;
}

.feature-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature-image {
  max-width: 90%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.feature-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* App Store Badges & Call-to-Actions */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.store-badge {
  display: flex;
  align-items: center;
  background-color: #111e22;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-family: var(--font-sans);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
  width: auto;
}

.store-badge:hover {
  background-color: #1a2f34;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.badge-icon {
  margin-right: 12px;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.badge-title {
  font-size: 1rem;
  font-weight: 600;
}

/* Call to Action Footer Card */
.cta-banner {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, #1e353b 0%, #0c181b 100%);
  color: #ffffff;
  padding: 80px 40px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 124, 145, 0.15) 0%, rgba(245, 251, 251, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-card-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-card h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-card p {
  color: #a4bfc5;
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.cta-card .store-badges {
  justify-content: center;
}

.cta-card .store-badge {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-card .store-badge:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Main Footer */
footer {
  background-color: #0c181b;
  color: #a4bfc5;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: 'Roboto', var(--font-sans);
  font-size: 1.8rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 5px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #a4bfc5;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #ffffff;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.6;
  text-align: center;
  margin-top: 20px;
}

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

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

/* Responsive styles */
@media (max-width: 992px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

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

  .hero-image-container {
    display: none;
  }

  .hero .store-badges {
    justify-content: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .feature-grid.reverse .feature-image-container {
    grid-column: auto;
  }
  
  .feature-grid.reverse .feature-content {
    grid-column: auto;
    grid-row: auto;
  }
  
  .feature-content {
    max-width: 100%;
  }
  
  .feature-image-container {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .feature-image {
    max-width: 80%;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .feature-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-card h2 {
    font-size: 2rem;
  }
  
  .cta-card {
    padding: 48px 24px;
  }
  
  .store-badge {
    width: 100%;
    justify-content: center;
  }
}
