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

:root {
  --primary: #6650A4;
  --primary-light: #D0BCFF;
  --primary-dark: #4A3880;
  --secondary: #625B71;
  --tertiary: #7D5260;
  --bg: #FFFBFE;
  --bg-surface: #F6F2FA;
  --text: #1C1B1F;
  --text-secondary: #49454F;
  --text-light: #79747E;
  --white: #FFFFFF;
  --border: #E7E0EC;
  --shadow: rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 251, 254, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-badge span {
  font-size: 0.75rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 80, 164, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

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

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--text);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #1C1B1F;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--text);
  border-radius: 0 0 20px 20px;
  z-index: 2;
}

.phone-app-content {
  padding: 40px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.app-header h3 {
  color: #E6E1E5;
  font-size: 1.4rem;
  font-weight: 700;
}

.app-header p {
  color: #CAC4D0;
  font-size: 0.75rem;
  margin-top: 4px;
}

.timezone-card {
  background: #2B2930;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tz-info .tz-city {
  color: #E6E1E5;
  font-size: 0.9rem;
  font-weight: 600;
}

.tz-info .tz-country {
  color: #CAC4D0;
  font-size: 0.7rem;
  margin-top: 2px;
}

.tz-time {
  text-align: right;
}

.tz-time .time {
  color: var(--primary-light);
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tz-time .period {
  color: #CAC4D0;
  font-size: 0.65rem;
  margin-top: 2px;
}

.contact-card {
  background: #2B2930;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.contact-details .contact-name {
  color: #E6E1E5;
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-details .contact-status {
  font-size: 0.65rem;
  margin-top: 2px;
}

.status-available {
  color: #A5D6A7;
}

.status-busy {
  color: #FFCC80;
}

/* Floating badge near phone */
.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.top-right {
  top: 40px;
  right: -40px;
  animation-delay: 0s;
}

.floating-badge.bottom-left {
  bottom: 60px;
  left: -40px;
  animation-delay: 2s;
}

.floating-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 600;
}

.floating-badge .badge-sub {
  font-size: 0.7rem;
  color: var(--text-light);
}

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

/* ===== Features Section ===== */
.features {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ===== App Preview Section ===== */
.app-preview {
  padding: 6rem 2rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.preview-phones {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.preview-phones .phone-mockup {
  width: 240px;
  height: 500px;
}

.preview-phones .phone-mockup:nth-child(2) {
  margin-top: 3rem;
}

.preview-content {
  max-width: 480px;
}

.preview-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.preview-content > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.preview-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.preview-features .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #E8DEF8;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.preview-features li span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== Waitlist Section ===== */
.waitlist {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
  color: var(--white);
}

.waitlist .section-inner {
  text-align: center;
  max-width: 640px;
}

.waitlist h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.waitlist > .section-inner > p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.waitlist-form input {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.waitlist-form input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
}

.waitlist-form button {
  background: var(--white);
  color: var(--primary);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.waitlist-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.waitlist-note {
  font-size: 0.85rem;
  opacity: 0.7;
}

.waitlist-success {
  display: none;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  margin-top: 1rem;
  font-weight: 600;
}

.waitlist-success.show {
  display: block;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-logo span {
  font-weight: 700;
  color: var(--primary);
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .preview-content {
    text-align: center;
    max-width: 100%;
    order: -1;
  }

  .preview-features li {
    justify-content: center;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 7rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .features {
    padding: 4rem 1.5rem;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

  .app-preview {
    padding: 4rem 1.5rem;
  }

  .preview-phones .phone-mockup {
    width: 200px;
    height: 420px;
  }

  .preview-content h2 {
    font-size: 1.8rem;
  }

  .waitlist {
    padding: 4rem 1.5rem;
  }

  .waitlist h2 {
    font-size: 2rem;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
