/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=ABeeZee&display=swap');

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1e73be;
  --blue-dark: #165a9a;
  --blue-light: #dbeafe;
  --gray-50: #f7f8f9;
  --gray-100: #f0f0f0;
  --gray-200: #e5e7eb;
  --gray-500: #575760;
  --gray-700: #374151;
  --gray-900: #222222;
  --white: #ffffff;
  --cream: #FFFEF7;
  --green: #059669;
  --purple: #7319fa;
  --orange: #ff7e29;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  /* Signature gradient from cooltravelpal.com */
  --gradient: linear-gradient(45deg, #7319fa, #ff33b4, #ff7e29);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === Signature gradient text === */
.text-gradient {
  font-weight: bold;
  letter-spacing: 0.5px;
  background-image: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--purple);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* === Nav === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-brand img { display: block; height: 40px; width: auto; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--gray-700); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* === Hero === */
.hero {
  padding: 80px 0 60px;
  background: var(--cream);
  overflow: hidden;
}
.hero .container {
  display: flex; align-items: center; gap: 48px;
}
.hero-text { flex: 1; }
.hero-image { flex: 1; text-align: right; }
.hero-image img { max-width: 100%; border-radius: var(--radius); }
.hero h1 {
  font-size: 2.75rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.1rem; color: var(--gray-500);
  max-width: 520px; margin-bottom: 32px;
}
.hero-centered {
  text-align: center;
}
.hero-centered .container {
  flex-direction: column; align-items: center;
}
.hero-centered p { margin: 0 auto 32px; }

/* === Full-width Banner === */
.full-banner {
  width: 100%;
  line-height: 0;
}
.full-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* === App Card Grid === */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 60px 0;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.app-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}
.app-card-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  margin-bottom: 16px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.app-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.app-card .tagline { color: var(--gray-500); font-size: .95rem; margin-bottom: 12px; }
.app-card .badge { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--blue); }

/* === Feature Section === */
.features { padding: 60px 0; }
.features h2 {
  text-align: center; font-size: 2rem; font-weight: 700;
  margin-bottom: 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.feature-card {
  text-align: center; padding: 24px;
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.feature-icon.blue { background: var(--blue-light); color: var(--blue); }
.feature-icon.green { background: #d1fae5; color: var(--green); }
.feature-icon.purple { background: #ede9fe; color: var(--purple); }
.feature-icon.orange { background: #ffedd5; color: var(--orange); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray-500); font-size: .9rem; }

/* === CTA === */
.cta {
  text-align: center; padding: 60px 0;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin: 40px 0;
}
.cta h2 { font-size: 1.75rem; margin-bottom: 12px; }
.cta p { color: var(--gray-500); margin-bottom: 24px; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 12px 28px;
  border-radius: 8px; font-weight: 600; font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none; transition: all 300ms ease-in-out;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; }
.btn-gradient {
  background: var(--gradient);
  color: var(--white); border: none;
}
.btn-gradient:hover { opacity: .9; text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); text-decoration: none; }

.app-store-badge { height: 48px; display: inline-block; }

/* === Back to top === */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 40px; height: 40px;
  background: rgba(0,0,0,.4); color: white;
  border: none; border-radius: 3px; font-size: 20px;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 300ms ease-in-out, background 300ms ease-in-out;
  z-index: 999; display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: rgba(0,0,0,.6); }

/* === Page Content (privacy, support, blog) === */
.page { padding: 60px 0; }
.page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.page .subtitle { color: var(--gray-500); margin-bottom: 32px; }
.page h2 { font-size: 1.3rem; font-weight: 600; margin: 28px 0 8px; }
.page p, .page li { color: var(--gray-700); margin-bottom: 12px; }
.page ul { padding-left: 20px; }

/* === FAQ === */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
.faq-q {
  font-weight: 600; font-size: 1.05rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--gray-500); }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { display: none; padding-top: 12px; color: var(--gray-500); }
.faq-item.open .faq-a { display: block; }

/* === Blog === */
.blog-list { list-style: none; }
.blog-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.blog-item h3 { margin-bottom: 4px; }
.blog-item .date { color: var(--gray-500); font-size: .85rem; }
.blog-item p { color: var(--gray-500); margin-top: 8px; }

/* === Footer === */
.footer {
  border-top: 1px solid var(--gray-200);
  padding: 40px 0;
  color: var(--gray-500); font-size: .85rem;
}
.footer .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { color: var(--gray-500); }
.footer-links a:hover { color: var(--gray-900); }

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 48px 0 36px; }
  .hero .container { flex-direction: column; }
  .hero-image { display: none; }
  .nav-links { display: none; flex-direction: column; gap: 12px; }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 24px; border-bottom: 1px solid var(--gray-200);
  }
  .nav-toggle { display: block; }
  .app-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}
