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

:root {
  --cream: #FCFAF6;
  --ink: #1C1B19;
  --sunshine: #FBBF24;
  --sage: #86EFAC;
  --sky: #93C5FD;
  --lavender: #C4B5FD;
  --blossom: #FBCFE8;
  --text-primary: #1C1B19;
  --text-secondary: #57534E;
  
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 16px 36px rgba(28, 27, 25, 0.06), 0 4px 12px rgba(28, 27, 25, 0.02);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--cream);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Glowing Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background-color: var(--sky);
  animation-duration: 25s;
}

.orb-2 {
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background-color: var(--lavender);
  animation-duration: 30s;
}

.orb-3 {
  top: 40%;
  right: 25%;
  width: 350px;
  height: 350px;
  background-color: var(--blossom);
  animation-duration: 18s;
}

.orb-4 {
  bottom: 20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background-color: var(--sunshine);
  animation-duration: 22s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Header & Navigation */
header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background-color: var(--ink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}

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

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 40px auto 100px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--ink);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-title span {
  background: linear-gradient(135deg, #1C1B19 30%, #7C2D12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--ink);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(28, 27, 25, 0.15);
}

.app-store-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(28, 27, 25, 0.25);
  background-color: #000;
}

/* CSS Mockup iPhone Frame */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-container {
  position: relative;
  width: 320px;
  height: 640px;
  background-color: #000;
  border: 12px solid #27272A;
  border-radius: 48px;
  box-shadow: 0 30px 60px rgba(28, 27, 25, 0.2), inset 0 0 4px 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--cream);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Mockup Elements */
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--lavender);
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.mock-card {
  background-color: white;
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 0 var(--ink);
}

.mock-card-tag {
  align-self: flex-start;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  background-color: var(--sky);
  padding: 3px 8px;
  border-radius: 30px;
  border: 1px solid var(--ink);
}

.mock-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
}

.mock-card-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

.mock-btn {
  text-align: center;
  background-color: var(--ink);
  color: white;
  padding: 10px 0;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
}

.mock-checkin {
  background-color: white;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 0 var(--ink);
}

.mock-checkin-title {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
}

.mock-chips {
  display: flex;
  gap: 6px;
}

.mock-chip {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: 12px;
  border: 1px solid var(--ink);
  font-size: 9px;
  font-weight: 700;
}

.mock-chip.active {
  background-color: var(--ink);
  color: white;
}

.mock-nav {
  margin-top: auto;
  background-color: white;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 4px 0 var(--ink);
}

.mock-nav-item {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--sage);
  border: 1px solid var(--ink);
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 0 auto 120px auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(28, 27, 25, 0.15);
  box-shadow: 0 24px 48px rgba(28, 27, 25, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1.5px solid var(--ink);
}

.feature-card:nth-child(1) .feature-icon { background-color: var(--sky); }
.feature-card:nth-child(2) .feature-icon { background-color: var(--lavender); }
.feature-card:nth-child(3) .feature-icon { background-color: var(--sage); }

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

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

/* Call To Action */
.cta {
  max-width: 1200px;
  margin: 0 auto 120px auto;
  padding: 0 24px;
}

.cta-container {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1.5px;
  max-width: 600px;
}

/* Footer & Legal */
footer {
  background-color: var(--ink);
  color: #A8A29E;
  padding: 60px 24px 40px 24px;
  margin-top: 100px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #292524;
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  color: white;
}

.footer-logo .logo-icon {
  background-color: white;
  color: var(--ink);
}

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

.footer-links button {
  background: none;
  border: none;
  color: #A8A29E;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.footer-links button:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(28, 27, 25, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background-color: var(--cream);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 20px 0 10px 0;
}

.modal-body h2:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 14px;
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px;
  }
}

@media (max-width: 575px) {
  header {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .download-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .app-store-btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
