/* AutoPay section */
.autopay {
  background: var(--bg-secondary);
}

.autopay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}

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

.autopay-content .section-label {
  text-align: left;
}

.autopay-content .section-title {
  text-align: left;
}

.autopay-content .section-subtitle {
  text-align: left;
  margin: 0 0 var(--space-6);
}

.autopay-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.autopay-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.autopay-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(15, 214, 140, 0.1);
  border: 1px solid rgba(15, 214, 140, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.1rem;
}

.autopay-feature-text h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.autopay-feature-text p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Phone mockup */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0a0a1a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

/* Phone status bar */
.phone-status-bar {
  position: absolute;
  top: 6px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Phone screens */
.phone-screen-container {
  position: absolute;
  top: 36px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transform: translateY(10px);
  display: flex;
  flex-direction: column;
}

.phone-screen.active {
  opacity: 1;
  transform: translateY(0);
}

/* Screen 1: Phone number input */
.screen-input .screen-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.screen-input .screen-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.screen-input-field {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.screen-input-field .flag {
  font-size: 16px;
}

.screen-input-field .number {
  color: var(--text-secondary);
}

.screen-btn {
  background: var(--gradient-primary);
  color: white;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* Screen 2: Bank accounts */
.screen-accounts .screen-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.bank-account {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: var(--space-2);
}

.bank-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.bank-icon.chase { background: #117ACA; }
.bank-icon.bofa { background: #C41230; }
.bank-icon.wells { background: #D71E28; }

.bank-info {
  flex: 1;
}

.bank-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.bank-number {
  font-size: 11px;
  color: var(--text-muted);
}

.bank-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
}

/* Screen 3: Subscriptions */
.screen-subs .screen-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.sub-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  margin-bottom: var(--space-2);
}

.sub-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.sub-icon.netflix { background: #E50914; }
.sub-icon.spotify { background: #1DB954; }
.sub-icon.gym { background: #FF6B35; }

.sub-info {
  flex: 1;
}

.sub-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.sub-price {
  font-size: 11px;
  color: var(--text-muted);
}

.ml-suggestion {
  margin-top: var(--space-3);
  padding: 12px;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 10px;
}

.ml-suggestion-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.ml-suggestion-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}
