/* Chatables Landing Page Stylesheet - Premium Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #FFF9F6; /* Warm clean light orange-cream base */
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F7EFEB;
  --text-primary: #1C1917; /* Stone 900, deep charcoal warm gray */
  --text-secondary: #44403C; /* Stone 700 */
  --text-muted: #78716C; /* Stone 500 */
  
  --brand-primary: #FF5C00; /* Vibrant Electric Orange */
  --brand-secondary: #EA580C; /* Darker Orange */
  --brand-accent: #10B981; /* Emerald Mint */
  --brand-gradient: linear-gradient(135deg, #FF6B00 0%, #E63900 100%);
  --brand-gradient-hover: linear-gradient(135deg, #FF7D1A 0%, #CC3300 100%);
  --accent-gradient: linear-gradient(135deg, #10B981 0%, #FF5C00 100%);
  
  --border-color: rgba(254, 215, 170, 0.55); /* Warm soft amber-orange border */
  --border-hover: rgba(253, 186, 116, 0.85);
  
  /* Shadows with matching warm/orange tint */
  --shadow-sm: 0 2px 4px rgba(28, 25, 23, 0.03);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 20px 40px rgba(255, 92, 0, 0.04);
  --shadow-card-hover: 0 24px 48px rgba(255, 92, 0, 0.08);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.15);
  color: var(--brand-primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px; /* Floating rounded style with lesser width */
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(254, 215, 170, 0.55);
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(28, 25, 23, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
  top: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(254, 215, 170, 0.85);
  box-shadow: 0 12px 35px -10px rgba(255, 92, 0, 0.1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.15);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 140, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-hover);
}

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

.hero-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 840px;
  margin-bottom: 50px;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 680px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-feature-icon {
  color: var(--brand-accent);
}

.hero-mockup-container {
  width: 100%;
  max-width: 1000px;
  height: 420px; /* Cut-off height to make it peeking/partially visible */
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: relative;
  /* Premium modern linear gradient fade-out mask */
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
}

.hero-mockup-wrapper {
  position: relative;
  border-radius: 24px 24px 0 0; /* Rounded top corners only */
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-color);
  border-bottom: none; /* Hide bottom border */
  box-shadow: 0 40px 80px -25px rgba(79, 140, 255, 0.15);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.hero-mockup-wrapper:hover {
  transform: translateY(-12px); /* Lifts up slightly to peek more on hover */
}

.hero-mockup {
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
  display: block;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: none;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1rem;
  color: var(--text-muted);
}

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

.feature-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  background-color: var(--bg-secondary);
  border-color: var(--brand-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.feature-illustration-container {
  width: 100%;
  height: 130px;
  border-radius: 12px;
  background-color: rgba(255, 92, 0, 0.02);
  border: 1px solid rgba(255, 92, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.feature-card:hover .feature-illustration-container {
  background-color: rgba(255, 92, 0, 0.05);
  border-color: rgba(255, 92, 0, 0.22);
}

.feature-svg {
  width: 170px;
  height: 110px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-svg {
  transform: scale(1.04);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer Section */
footer {
  background-color: var(--bg-primary);
  padding: 60px 0 40px 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-privacy-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--brand-accent);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 968px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.15rem;
  }
  
  .hero-features-list {
    flex-direction: column;
    gap: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none; /* Simplification */
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
