/* ===== CUSTOM FONTS ===== */
@font-face {
  font-family: 'BubbleWhimsy';
  src: url('BubbleWhimsyRegular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ===== ROOT VARIABLES ===== */
:root {
  --cream: #FDF7F2;
  --brown: #3B2624;
  --blue: #5170FF;
  --pink: #FF66C4;
  --purple-mid: #7B6FE6;
  --gradient: linear-gradient(to right, #5170FF, #FF66C4);
  --gradient-diagonal: linear-gradient(135deg, #5170FF, #7B6FE6, #FF66C4);
  --font-heading: 'Cormorant', serif;
  --font-body: 'Outfit', sans-serif;
}

/* ===== GLOBAL RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--brown);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* ===== REUSABLE: GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(to right, #5170FF, #FF66C4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== REUSABLE: ICON TILE ===== */
.icon-tile {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #5170FF, #FF66C4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-tile svg {
  width: 28px;
  height: 28px;
  color: white;
  stroke: white;
}

.icon-tile.small {
  width: 48px;
  height: 48px;
}

.icon-tile.small svg {
  width: 22px;
  height: 22px;
}

/* ===== REUSABLE: PILL LABEL ===== */
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(81, 112, 255, 0.25);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--blue);
}

/* ===== REUSABLE: CARD ===== */
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 38, 36, 0.1);
  border-radius: 24px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: rgba(81, 112, 255, 0.3);
  transform: translateY(-6px);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SECTION: Nav ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

nav.scrolled {
  background: rgba(253, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(81, 112, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-trigger {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
  padding: 8px 16px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.contact-trigger:hover {
  opacity: 1;
}

.waitlist-btn {
  background: var(--gradient);
  color: white;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(81, 112, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.waitlist-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(81, 112, 255, 0.4);
}

.waitlist-btn svg {
  width: 16px;
  height: 16px;
  stroke: white;
}

/* ===== SECTION: Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background: linear-gradient(135deg, rgba(81, 112, 255, 0.05) 0%, #FDF7F2 50%, rgba(255, 102, 196, 0.10) 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 960px;
  width: 100%;
  padding: 0 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  height: 130px;
  width: auto;
  margin-bottom: -24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(59, 38, 36, 0.8);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-primary-btn {
  background: var(--gradient);
  color: white;
  border-radius: 999px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 12px 32px rgba(81, 112, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(81, 112, 255, 0.4);
}

.hero-primary-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.hero-secondary-btn {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(81, 112, 255, 0.3);
  color: var(--brown);
  border-radius: 999px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.hero-secondary-btn:hover {
  border-color: rgba(81, 112, 255, 0.5);
  background: rgba(255, 255, 255, 0.8);
}

.hero-secondary-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--brown);
}

.hero-credit {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.hero-credit a {
  font-family: 'BubbleWhimsy', cursive;
  font-size: 50px;
  color: #000;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-credit a:hover {
  color: var(--blue);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(59, 38, 36, 0.75);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(59, 38, 36, 0.15);
  flex-shrink: 0;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 128px;
  background: linear-gradient(to top, #FDF7F2, transparent);
  pointer-events: none;
}

/* ===== SECTION: What Is Villa? ===== */
.about {
  padding: 128px 48px;
  background: linear-gradient(to bottom, transparent, rgba(81, 112, 255, 0.03), transparent);
  text-align: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}

.section-header .pill-label {
  margin-bottom: 24px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-header p {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(59, 38, 36, 0.8);
  max-width: 750px;
  line-height: 1.7;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1152px;
  margin: 0 auto;
}

.about-card {
  text-align: left;
}

.about-card .icon-tile {
  margin-bottom: 20px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 10px;
}

.about-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.7);
  line-height: 1.6;
}

/* ===== SECTION: Skills Grid ===== */
.skills {
  padding: 0 48px 96px;
}

.skills h3 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  color: var(--brown);
  text-align: center;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1152px;
  margin: 0 auto;
}

.skill-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.skill-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.skill-card:hover img {
  transform: scale(1.08);
}

.skill-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px 24px;
  background: linear-gradient(to top, rgba(59, 38, 36, 0.7), transparent);
  color: white;
  font-family: var(--font-body);
  font-size: 18px;
}

/* ===== SECTION: Quote ===== */
.quote-section {
  padding: 64px 48px;
}

.quote-card {
  max-width: 800px;
  margin: 0 auto;
  border-color: rgba(81, 112, 255, 0.2);
  text-align: center;
}

.quote-card blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 26px;
  color: var(--brown);
  line-height: 1.5;
  margin-bottom: 24px;
}

.quote-card cite {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
  color: var(--brown);
}

/* ===== SECTION: Features ===== */
.features {
  padding: 128px 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1152px;
  margin: 0 auto;
}

.feature-card .icon-tile {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 10px;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.7);
  line-height: 1.6;
}

/* ===== SECTION: App Preview ===== */
.app-preview {
  padding: 128px 48px;
}

.app-preview-header {
  text-align: center;
  margin-bottom: 80px;
}

.app-preview-header .pill-label {
  margin-bottom: 24px;
}

.app-preview-header h2 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 24px;
}

.app-preview-header p {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(59, 38, 36, 0.8);
}

.app-preview-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1152px;
  margin: 0 auto;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
  max-width: 480px;
}

.app-feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.app-feature-circle {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.app-feature-text h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
}

.app-feature-text p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.7);
  line-height: 1.6;
}

.app-phone-wrapper {
  position: relative;
  flex-shrink: 0;
}

.app-phone-wrapper img {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.2));
}

.floating-badge {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.floating-badge.top-right {
  top: 30px;
  right: -20px;
  background: linear-gradient(135deg, #5170FF, #FF66C4);
  animation: float 3s ease-in-out infinite;
}

.floating-badge.bottom-left {
  bottom: 40px;
  left: -20px;
  background: linear-gradient(135deg, #FF66C4, #5170FF);
  animation: float-reverse 3.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ===== SECTION: How It Works ===== */
.how-it-works {
  padding: 128px 48px;
  background: linear-gradient(to bottom, #FDF7F2, rgba(81, 112, 255, 0.03), #FDF7F2);
}

.how-it-works .section-header {
  margin-bottom: 80px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  top: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(81, 112, 255, 0.2), rgba(255, 102, 196, 0.4), rgba(81, 112, 255, 0.2));
}

.timeline-step {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 64px;
}

.timeline-step:last-of-type {
  margin-bottom: 0;
}

.timeline-step.left {
  justify-content: flex-start;
}

.timeline-step.right {
  justify-content: flex-end;
}

.timeline-card {
  max-width: 420px;
  width: 45%;
}

.timeline-card-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timeline-step-num {
  font-size: 48px;
  color: rgba(81, 112, 255, 0.2);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1;
}

.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 8px;
}

.timeline-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.7);
  line-height: 1.6;
}

.timeline-circle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: var(--gradient-diagonal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(81, 112, 255, 0.3);
}

.how-it-works-cta {
  text-align: center;
  margin-top: 80px;
}

/* ===== SECTION: CTA / Waitlist ===== */
.cta-section {
  padding: 128px 48px;
}

.cta-card {
  border-radius: 48px;
  background: linear-gradient(135deg, #5170FF, #7B6FE6, #FF66C4);
  max-width: 1024px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 96px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-circle-tl {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.cta-circle-br {
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-logo {
  height: 80px;
  width: auto;
  margin-bottom: 32px;
}

.cta-pill {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  margin-bottom: 32px;
}

.cta-pill svg {
  width: 14px;
  height: 14px;
  stroke: white;
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 500;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
}

.cta-card > p {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-btn {
  background: white;
  border-radius: 999px;
  padding: 16px 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  color: #5170FF;
  stroke: #5170FF;
}

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

.cta-btn-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}

.cta-btn-sub {
  font-family: var(--font-body);
  font-size: 12px;
}

.cta-footnote {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: var(--font-body);
  margin-top: 24px;
}

/* ===== SECTION: Footer ===== */
footer {
  background: linear-gradient(to bottom, #FDF7F2, #F5EDE3);
  border-top: 1px solid rgba(59, 38, 36, 0.1);
  padding: 80px 48px 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1152px;
  margin: 0 auto;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.7);
  line-height: 1.6;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.7);
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--blue);
}

.footer-email svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  stroke: white;
  color: white;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brown);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.65);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--blue);
}

.footer-bottom {
  max-width: 1152px;
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(59, 38, 36, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.6);
}

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

.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(59, 38, 36, 0.6);
  transition: color 0.2s;
}

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

.footer-gradient-line {
  height: 3px;
  background: linear-gradient(to right, #5170FF, #FF66C4, #5170FF);
  margin-top: 32px;
}

/* ===== SECTION: Contact Modal ===== */
#contact-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(59, 38, 36, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
}

#contact-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FDF7F2;
  border-radius: 32px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  z-index: 201;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59, 38, 36, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(59, 38, 36, 0.15);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--brown);
}

#contact-modal h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 8px;
}

#contact-modal > p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(59, 38, 36, 0.7);
  margin-bottom: 28px;
}

.contact-email-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(59, 38, 36, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.contact-email-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-email-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.contact-email-card > div span {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(59, 38, 36, 0.5);
  margin-bottom: 2px;
}

.contact-email-card > div a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
}

#contact-modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact-modal form label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--brown);
  display: block;
  margin-bottom: 6px;
}

#contact-modal form input,
#contact-modal form textarea {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(59, 38, 36, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  color: var(--brown);
  outline: none;
  transition: border-color 0.2s;
}

#contact-modal form input:focus,
#contact-modal form textarea:focus {
  border-color: rgba(81, 112, 255, 0.4);
}

#contact-modal form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.modal-submit-btn {
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 8px;
}

.modal-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.modal-submit-btn svg {
  width: 16px;
  height: 16px;
  stroke: white;
}

/* ===== RESPONSIVE: < 1024px ===== */
@media (max-width: 1024px) {
  .timeline-line {
    left: 28px;
    transform: none;
  }

  .timeline-step,
  .timeline-step.left,
  .timeline-step.right {
    justify-content: flex-end;
    padding-left: 80px;
  }

  .timeline-card {
    width: 100%;
    max-width: 100%;
  }

  .timeline-circle {
    left: 0;
    transform: none;
  }

  .app-preview-layout {
    flex-direction: column-reverse;
    gap: 48px;
  }

  .app-phone-wrapper img {
    width: 240px;
  }

  .app-features-list {
    max-width: 100%;
  }
}

/* ===== RESPONSIVE: < 768px ===== */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 24px;
  }

  .waitlist-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .contact-trigger {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about {
    padding: 80px 24px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 40px;
  }

  .skills {
    padding: 0 24px 64px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .quote-section {
    padding: 48px 24px;
  }

  .features {
    padding: 80px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .app-preview {
    padding: 80px 24px;
  }

  .how-it-works {
    padding: 80px 24px;
  }

  .cta-section {
    padding: 80px 24px;
  }

  .cta-card {
    padding: 64px 32px;
    border-radius: 32px;
  }

  .cta-card h2 {
    font-size: 40px;
  }

  footer {
    padding: 64px 24px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

/* ===== RESPONSIVE: < 480px ===== */
@media (max-width: 480px) {
  .nav-inner {
    height: 64px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    height: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
