/* ============================================
   RESET & VARIABLES
   ============================================ */

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

:root {
  --paper: #FBF8F6;
  --ink: #1C1512;
  --ink-muted: #6B5D57;
  --line: #E9DFD9;
  --signal: #F4552E;
  --signal-dark: #D63D1B;
  --deep: #241210;
  --deep-line: #4A2D26;
  --crown: #E8B84B;
  --good: #1F9D6C;
  --brand-from: #FF9142;
  --brand-to: #F5365C;

  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;

  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

p {
  color: var(--ink-muted);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 100%;
  margin-top: 0.5rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-from) 0%, var(--signal) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(244, 85, 46, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 85, 46, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 12px 24px;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background-color: var(--ink);
  color: white;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo-icon-image {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  object-fit: contain;
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #FF9142 0%, #F4552E 100%);
}

.logo-icon-image:hover {
  transform: scale(1.05);
}


.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

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

.nav-menu a {
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
}

.nav-menu a:hover {
  color: var(--signal);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--signal);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 400px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

/* ============================================
   HERO VISUAL
   ============================================ */

.device-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.glow {
  position: absolute;
  width: 100%;
  max-width: 400px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
}

.phones-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  z-index: 1;
}

@media (max-width: 768px) {
  .phones-container {
    gap: 0.5rem;
  }
}

/* Phone Styling */
.phone {
  width: 140px;
  height: 280px;
  background: white;
  border: 8px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .phone {
    width: 110px;
    height: 220px;
    border-width: 6px;
  }
}

.iphone-phone {
  position: relative;
}

.iphone-phone .notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 20px;
  background: var(--ink);
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background: linear-gradient(135deg, #f0f0f0 0%, #fafafa 100%);
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.android-phone .phone-screen {
  padding-top: 16px;
}

.iphone-phone .phone-screen {
  padding-top: 24px;
}

.phone-status-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-bottom: 8px;
}

.phone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.phone-content p {
  font-size: 10px;
  color: #666;
  margin: 0;
}

.phone-buttons {
  display: flex;
  gap: 8px;
}

.phone-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: var(--signal);
  color: white;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.phone-btn:hover {
  background: var(--signal-dark);
}

/* Transfer Indicator */
.transfer-indicator {
  position: relative;
  width: 80px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.transfer-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.transfer-icon {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.transfer-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-muted);
  background: white;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* Animated File Chips */
.file-chips {
  position: absolute;
  left: 0;
  top: 35%;
  width: 100%;
  height: 100%;
}

.file-chip {
  position: absolute;
  width: 28px;
  height: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: beam-chip 2.6s ease-in-out infinite;
  left: 0;
  top: 50%;
}

@keyframes beam-chip {
  0% {
    transform: translateX(0) translateY(-50%);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  38% {
    opacity: 1;
  }
  48% {
    transform: translateX(100px) translateY(-50%);
    opacity: 0;
  }
  100% {
    transform: translateX(100px) translateY(-50%);
    opacity: 0;
  }
}

.device-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
  width: 100%;
  text-align: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .device-labels span {
    display: block;
  }
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  text-align: center;
}

.trust-text {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--signal);
  box-shadow: 0 4px 12px rgba(244, 85, 46, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-muted);
}

/* ============================================
   COMPATIBILITY SECTION
   ============================================ */

.compatibility {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.compat-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 145, 66, 0.05) 0%, rgba(244, 85, 46, 0.05) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compat-card:hover {
  border-color: var(--signal);
  background: linear-gradient(135deg, rgba(255, 145, 66, 0.1) 0%, rgba(244, 85, 46, 0.1) 100%);
}

.compat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.compat-card p {
  font-size: 14px;
  color: var(--ink-muted);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  border-top: 2px solid var(--line);
  padding-top: 1.5rem;
  text-align: center;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--signal);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.step-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ============================================
   WHY USE TRANSFERQUEEN
   ============================================ */

.why-use {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--signal);
  box-shadow: 0 4px 12px rgba(244, 85, 46, 0.1);
}

.benefit-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.benefit-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ============================================
   SCREENSHOTS SECTION
   ============================================ */

.screenshots {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.screenshots .section-subtitle {
  color: var(--ink-muted);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.screenshot-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-mockup-sm {
  width: 100%;
  max-width: 220px;
  height: 420px;
  margin: 0 auto 1rem;
  background: white;
  border: 8px solid var(--ink);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.phone-screen-sm {
  flex: 1;
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  font-size: 0.85rem;
}

.mock-status {
  background: var(--signal);
  color: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.phone-screen-sm h3 {
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
}

.phone-screen-sm p {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0;
}

.mock-files,
.mock-security {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.mock-files span,
.mock-security span {
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  border: 1px solid var(--line);
}

.mock-progress {
  margin-top: 16px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  display: block;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, var(--signal) 0%, var(--brand-from) 100%);
  border-radius: 3px;
}

.screenshot-placeholder {
  width: 100%;
  max-width: 220px;
  height: 440px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 2px dashed var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
  margin: 0 auto 1rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.screenshot-placeholder::before {
  content: '';
  display: none;
}

.screenshot-image {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-image:hover {
  transform: scale(1.02);
}

.screenshot-caption {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-list {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--signal);
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-muted);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--signal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ============================================
   APP STORES SECTION
   ============================================ */

.app-stores {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  background: white;
  text-align: center;
}

.app-stores h2 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.app-stores > .container > p {
  color: var(--ink-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.store-badges-large {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: var(--transition);
  cursor: pointer;
}

.store-badge:hover {
  border-color: var(--signal);
  box-shadow: 0 4px 12px rgba(244, 85, 46, 0.2);
  transform: translateY(-2px);
}

.store-badge svg {
  color: var(--signal);
  flex-shrink: 0;
}

.store-badge span {
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ink-muted);
}

.store-badge span strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.app-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--paper);
  border-radius: 12px;
}

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

.info-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.info-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand-from) 0%, var(--signal) 50%, var(--brand-to) 100%);
  text-align: center;
  color: white;
}

.final-cta h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.final-cta > .container > p:first-of-type {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.95);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--deep);
  color: #ccc;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--deep-line);
  padding-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 14px;
  color: #999;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  font-size: 14px;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--signal);
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  font-size: 13px;
  color: #666;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .compatibility-grid,
  .steps-grid,
  .benefits-grid,
  .app-info {
    grid-template-columns: 1fr;
  }

  .device-labels {
    flex-direction: column;
  }

  .store-badges-large {
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }

  .logo-icon {
    font-size: 1.4rem;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-menu a {
    font-size: 13px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 0;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .phone-mockup-sm {
    max-width: 180px;
    height: 350px;
  }

  .store-badge {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

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

  .final-cta h2 {
    font-size: 1.4rem;
  }
}
