@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-black: #000000;
  --bg-card: #121212;
  --bg-card-hover: #18181b;
  --border: #27272a;
  --border-subtle: #1f1f23;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-white: #ffffff;
  --accent-emerald: #10b981;
  --radius-card: 16px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

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

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text-primary);
  color: #000000;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #18181b;
  border-color: #3f3f46;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #18181b;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--text-secondary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Photorealistic iPhone 16 Pro Max Mockup */
.phone-wrapper {
  max-width: 375px;
  margin: 0 auto;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-wrapper:hover {
  transform: translateY(-6px) scale(1.01);
}

/* iPhone 16 Pro Max Titanium Body */
.phone-frame {
  background: linear-gradient(145deg, #2c2926 0%, #1a1816 50%, #11100f 100%);
  border: 2px solid #3d3935;
  border-radius: 56px;
  padding: 10px;
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 2px rgba(255, 255, 255, 0.15);
  position: relative;
}

/* Side Buttons: Action Button, Volume Buttons, & Camera Control */
.phone-btn-action {
  position: absolute;
  left: -5px;
  top: 95px;
  width: 5px;
  height: 26px;
  background: #3d3935;
  border-radius: 3px 0 0 3px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.5);
}

.phone-btn-vol-up {
  position: absolute;
  left: -5px;
  top: 135px;
  width: 5px;
  height: 48px;
  background: #3d3935;
  border-radius: 3px 0 0 3px;
}

.phone-btn-vol-down {
  position: absolute;
  left: -5px;
  top: 195px;
  width: 5px;
  height: 48px;
  background: #3d3935;
  border-radius: 3px 0 0 3px;
}

.phone-btn-power {
  position: absolute;
  right: -5px;
  top: 150px;
  width: 5px;
  height: 65px;
  background: #3d3935;
  border-radius: 0 3px 3px 0;
}

/* New iPhone 16 Camera Control Button */
.phone-btn-camera-control {
  position: absolute;
  right: -4px;
  top: 260px;
  width: 4px;
  height: 42px;
  background: #4a4540;
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 3px rgba(0,0,0,0.6);
}

/* Super Retina XDR OLED Display */
.phone-screen {
  background: #0b141a;
  border-radius: 46px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dynamic Island */
.phone-dynamic-island {
  width: 105px;
  height: 26px;
  background: #000000;
  margin: 10px auto 6px auto;
  border-radius: 9999px;
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.phone-camera-lens {
  width: 10px;
  height: 10px;
  background: #0c0f14;
  border: 1px solid #1e2430;
  border-radius: 50%;
  position: relative;
}

.phone-camera-lens::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.phone-sensor-dot {
  width: 6px;
  height: 6px;
  background: #0a0a0f;
  border-radius: 50%;
}

.mockup-header {
  background: #1f2c34;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00a884;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.mockup-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e9edef;
}

.mockup-status {
  font-size: 0.72rem;
  color: #00a884;
  transition: var(--transition);
}

.mockup-presets {
  padding: 8px 12px;
  background: #111b21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mockup-presets::-webkit-scrollbar {
  display: none;
}

.preset-btn {
  background: #202c33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8696a0;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.preset-btn:hover, .preset-btn.active {
  background: #00a884;
  color: #111b21;
  border-color: #00a884;
  font-weight: 600;
}

.chat-box {
  padding: 16px 12px;
  height: 410px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0b141a;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chat-box::-webkit-scrollbar {
  display: none;
}

.msg {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.msg-user {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-bottom-right-radius: 2px;
}

.msg-bot {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-bottom-left-radius: 2px;
}

.msg-buttons {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.msg-btn {
  background: rgba(0, 168, 132, 0.15);
  border: 1px solid #00a884;
  color: #00a884;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.msg-btn:hover {
  background: #00a884;
  color: #111b21;
}

/* Typing Indicator Animation */
.typing-box {
  align-self: flex-start;
  background: #202c33;
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom-left-radius: 2px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #8696a0;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-title-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.title-sm {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.title-lg {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.title-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  transition: var(--transition);
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: #3f3f46;
  transform: translateY(-2px);
}

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.highlight {
  border-color: #ffffff;
  background: #18181b;
}

.price-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.price-val span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-list svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-black);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { margin: 0 auto 24px auto; }
  .hero-actions { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-flex { flex-direction: column; gap: 16px; }
}

@media (max-width: 640px) {
  nav {
    height: 60px;
    gap: 8px;
  }
  .logo-symbol-img {
    height: 30px;
  }
  .logo-text {
    font-size: 1rem;
  }
  .nav-links {
    display: none; /* Esconde links do meio no celular para não encavalar */
  }
  header .btn-primary {
    padding: 8px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
    border-radius: 9999px;
  }
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
  .phone-wrapper {
    max-width: 320px;
  }
}
