/* ─── RESET & ROOT ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette (Cold, Tealish tones) */
  --bg-color: #f2f7f7;          /* Very light, cool tealish gray */
  --text-primary: #15292b;      /* Deep dark cold teal-slate */
  --text-secondary: #4a5f61;    /* Muted teal-gray */
  --accent-teal: #0d9488;       /* Primary teal accent */
  --accent-teal-hover: #0f766e; /* Darker teal for hover states */
  --accent-cyan: #06b6d4;       /* Bright cyan for gradient details */
  --button-bg: #15292b;         /* Dark cold slate button background */
  --button-text: #ffffff;
  --border-color: #d1dfdf;      /* Soft cold gray border */
  --shadow-color: rgba(21, 41, 43, 0.08);
  
  /* Fonts */
  --font-headings: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-color);
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scroll bar */
}

/* Background decorative orbs (Cold Teal / Cyan) */
body::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(13, 148, 136, 0.02) 70%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, rgba(6, 182, 212, 0.01) 60%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ─── MAIN CONTAINER ─── */
.landing-container {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  position: relative;
  z-index: 1;
}

.grid-content {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

/* ─── LEFT COLUMN: APP INFO ─── */
.info-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* App Header (Logo + Brand) */
.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(21, 41, 43, 0.05);
  border-radius: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-name {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

/* Titles & Subtitles */
.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(32px, 4.5vw, 60px); /* Lowered minimum to prevent mobile overflow */
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.teal-gradient-text {
  background: linear-gradient(135deg, var(--accent-teal-hover) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
}

/* Store Action Badges */
.download-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--button-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 24px;
  text-decoration: none;
  color: var(--button-text);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(21, 41, 43, 0.12);
}

.store-badge:hover {
  background-color: var(--accent-teal);
  border-color: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(13, 148, 136, 0.25);
}

.badge-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  font-weight: 500;
}

.badge-main {
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

/* ─── RIGHT COLUMN: APP MOCKUP ─── */
.mockup-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  width: 100%;
}

.phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  transition: var(--transition-smooth);
}

.phone-wrapper:hover {
  transform: translateY(-8px) rotate(1deg);
}

.phone-screenshot {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(21, 41, 43, 0.18));
}

/* Subtle glowing background behind phone */
.phone-wrapper::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

/* ─── FOOTER ─── */
.footer {
  width: 100%;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(21, 41, 43, 0.04);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.footer-brand strong {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand span {
  color: var(--text-secondary);
}

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

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-teal);
}

.footer-copyright {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.8;
  text-align: center;
  border-top: 1px solid rgba(21, 41, 43, 0.05);
  padding-top: 16px;
}

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

/* ─── RESPONSIVE LAYOUTS ─── */
@media (max-width: 900px) {
  .landing-container {
    padding: 60px 24px 40px;
  }
  
  .grid-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .info-column {
    align-items: center;
    text-align: center;
  }
  
  .hero-subtitle {
    max-width: 540px;
  }
  
  .download-actions {
    justify-content: center;
  }
  
  .phone-wrapper {
    max-width: 280px;
  }

  .footer {
    padding: 30px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
