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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  min-height: 100vh;
}

/* ==================== LANDING NAV ==================== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s;
}

.landing-nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}

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

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.logo-dot {
  color: #2563eb;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-cta {
  background: #2563eb !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: #1e40af !important;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1a1a2e;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 12px;
  background: white;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
}

/* ==================== HERO ==================== */
.hero {
  padding: 140px 24px 80px;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0f172a;
}

.hero-highlight {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,99,235,0.35);
}

.btn-secondary {
  display: inline-block;
  background: #f1f5f9;
  color: #374151;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #64748b;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  margin-left: -8px;
}

.trust-avatar:first-child { margin-left: 0; }

/* Hero visual - card preview */
.hero-visual {
  flex-shrink: 0;
}

.hero-card-preview {
  width: 300px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  overflow: hidden;
  transform: rotate(2deg);
  transition: transform 0.3s;
}

.hero-card-preview:hover {
  transform: rotate(0deg) scale(1.02);
}

.preview-banner {
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  position: relative;
}

.preview-avatar {
  width: 64px;
  height: 64px;
  background: #e0e7ff;
  color: #2563eb;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: -32px auto 0;
  position: relative;
}

.preview-body {
  padding: 12px 20px 20px;
  text-align: center;
}

.preview-body h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.preview-job {
  color: #64748b;
  font-size: 0.8rem;
}

.preview-company {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.preview-info {
  text-align: left;
  margin-bottom: 12px;
}

.preview-info-row {
  font-size: 0.78rem;
  color: #4b5563;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pi-icon {
  font-size: 0.9rem;
}

.preview-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ps-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-btn {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 36px 24px;
}

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

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

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
}

/* ==================== SECTIONS COMMON ==================== */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== PROBLEM / SOLUTION ==================== */
.problem-section {
  padding: 80px 24px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.problem-card {
  padding: 32px;
  border-radius: 20px;
}

.problem-bad {
  background: #fef2f2;
  border: 2px solid #fecaca;
}

.problem-good {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: #0f172a;
}

.problem-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-card li {
  font-size: 0.95rem;
  color: #4b5563;
  padding-left: 8px;
}

/* ==================== FEATURES ==================== */
.features-section {
  padding: 80px 24px;
  background: #f8fafc;
}

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

.feature-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

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

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.feature-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* ==================== HOW IT WORKS ==================== */
.how-section {
  padding: 80px 24px;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.step-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  text-align: center;
  flex: 1;
  max-width: 280px;
  transition: border-color 0.2s;
}

.step-card:hover {
  border-color: #2563eb;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step-card h3 {
  margin-bottom: 8px;
  color: #0f172a;
}

.step-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.step-arrow {
  font-size: 1.5rem;
  color: #cbd5e1;
  font-weight: 700;
}

.steps-cta {
  text-align: center;
}

/* ==================== DEMO ==================== */
.demo-section {
  padding: 80px 24px;
  background: #f8fafc;
}

.demo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.demo-phone {
  width: 280px;
  background: #0f172a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #0f172a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto -12px;
  position: relative;
  z-index: 1;
}

.phone-screen {
  background: white;
  border-radius: 24px;
  overflow: hidden;
}

.demo-card .demo-banner {
  height: 70px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.demo-avatar {
  width: 56px;
  height: 56px;
  background: #fce7f3;
  color: #ec4899;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: -28px auto 0;
  position: relative;
}

.demo-body {
  padding: 10px 16px 16px;
  text-align: center;
}

.demo-body h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.demo-job {
  color: #64748b;
  font-size: 0.75rem;
}

.demo-company {
  color: #ec4899;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.demo-info-list {
  text-align: left;
  margin-bottom: 10px;
}

.demo-info-item {
  font-size: 0.72rem;
  color: #4b5563;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-info-item span {
  font-size: 0.85rem;
}

.demo-socials-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.demo-socials-row span {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-actions-row {
  display: flex;
  gap: 6px;
}

.demo-btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  padding: 7px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.demo-btn-secondary {
  flex: 1;
  background: #10b981;
  color: white;
  padding: 7px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.demo-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.df-check {
  width: 36px;
  height: 36px;
  background: #f0fdf4;
  color: #16a34a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.demo-feature h4 {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.demo-feature p {
  font-size: 0.9rem;
  color: #64748b;
}

/* ==================== PRICING ==================== */
.pricing-section {
  padding: 80px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

.pricing-pro {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #2563eb;
  color: white;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-badge-pro {
  background: #7c3aed;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  margin-top: 8px;
  color: #0f172a;
}

.pricing-price {
  margin-bottom: 24px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
}

.price-period {
  color: #64748b;
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: #4b5563;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  padding: 80px 24px;
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-card > p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: #64748b;
}

/* ==================== FINAL CTA ==================== */
.final-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
  color: white;
}

.final-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.final-cta p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  font-size: 0.85rem !important;
  opacity: 0.6 !important;
  margin-top: 16px !important;
}

/* ==================== LANDING FOOTER ==================== */
.landing-footer {
  padding: 40px 24px;
  background: #0f172a;
  color: #94a3b8;
}

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

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 400;
  margin-top: 4px;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-date {
  font-size: 0.85rem;
  color: #64748b;
}

/* ==================== USER BAR (AUTH) ==================== */
.user-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  box-shadow: 0 2px 12px rgba(37,99,235,0.3);
}

.user-bar.visible {
  display: flex;
}

.user-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.user-bar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-logout {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-logout:hover {
  background: rgba(255,255,255,0.35);
}

body.user-logged-in .landing-nav {
  top: 40px;
}

body.user-logged-in .page-container {
  padding-top: 120px !important;
}

body.user-logged-in .hero {
  padding-top: 180px;
}

/* ==================== AUTH MODAL ==================== */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-overlay.active {
  display: flex;
}

.auth-modal {
  background: white;
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  animation: modalIn 0.3s ease;
  position: relative;
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px 8px;
  line-height: 1;
}

.auth-modal-close:hover {
  color: #1e293b;
}

.auth-modal h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0f172a;
  font-size: 1.3rem;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: #f8fafc;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
}

.auth-tab.active {
  background: #2563eb;
  color: white;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form .form-group {
  margin-bottom: 14px;
}

.auth-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.88rem;
  color: #374151;
}

.auth-form .form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.auth-form .form-group input:focus {
  outline: none;
  border-color: #2563eb;
}

.btn-auth-submit {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}

.btn-auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: none;
}

.auth-error.visible {
  display: block;
}

.btn-nav-login {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid #2563eb;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-nav-login:hover {
  background: #2563eb;
  color: white;
}

/* ==================== HIDE TOGGLE (Ne pas afficher) ==================== */
.hide-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 8px;
  user-select: none;
  transition: color 0.2s;
}

.hide-toggle:hover {
  color: #64748b;
}

.hide-toggle input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #ef4444;
  cursor: pointer;
  margin: 0;
}

.hide-toggle.checked {
  color: #ef4444;
}

.form-group.field-hidden input,
.form-group.field-hidden textarea,
.form-group-row.field-hidden input,
.form-group-row.field-hidden textarea {
  opacity: 0.4;
  pointer-events: none;
  background: #f8fafc;
}

.form-group.field-hidden label,
.form-group-row.field-hidden > .form-group > label {
  opacity: 0.5;
}

.form-step.section-hidden .form-group-row,
.form-step.section-hidden .form-group:not(:first-child) {
  opacity: 0.4;
  pointer-events: none;
}

.label-row {
  display: flex;
  align-items: center;
}

/* ==================== FORM PAGE (HEADER) ==================== */
.main-header {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.header-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.current-date {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ==================== CREATOR LAYOUT ==================== */
.creator-layout {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 16px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.creator-form-col {
  flex: 1;
  min-width: 0;
}

.creator-preview-col {
  width: 420px;
  flex-shrink: 0;
}

.preview-sticky {
  position: fixed;
  top: 80px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 14px;
  padding-left: 8px;
}

.preview-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.preview-phone-frame {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 -2px 6px rgba(255,255,255,0.03) inset;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.preview-phone-notch {
  width: 120px;
  height: 28px;
  background: #0f172a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto -12px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-phone-notch::after {
  content: '';
  width: 60px;
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
}

.preview-phone-screen {
  background: #f0f2f5;
  border-radius: 28px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.preview-phone-screen::-webkit-scrollbar {
  width: 4px;
}

.preview-phone-screen::-webkit-scrollbar-track {
  background: transparent;
}

.preview-phone-screen::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* ==================== LIVE PREVIEW ==================== */
.live-preview .business-card {
  box-shadow: none;
  border-radius: 0;
  max-width: 100%;
  animation: none;
}

.live-preview .card-banner {
  height: 120px;
}

.live-preview .card-style-bold .card-banner {
  height: 140px;
}

.live-preview .card-photo-container {
  top: 76px;
}

.live-preview .card-photo,
.live-preview .card-photo-placeholder {
  width: 88px;
  height: 88px;
  font-size: 1.8rem;
  border-width: 3px;
}

.live-preview .card-body {
  padding: 52px 20px 20px;
}

.live-preview .card-name {
  font-size: 1.3rem;
  font-weight: 800;
}

.live-preview .card-job {
  font-size: 0.88rem;
}

.live-preview .card-company {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.live-preview .card-tagline {
  font-size: 0.82rem;
  margin-bottom: 12px;
  padding: 0 12px;
}

.live-preview .card-description {
  font-size: 0.82rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.live-preview .card-hours {
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 12px;
}

.live-preview .card-hours-title {
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.live-preview .card-hours-text {
  font-size: 0.78rem;
}

.live-preview .card-info {
  margin-bottom: 14px;
}

.live-preview .card-info li {
  padding: 8px 0;
  font-size: 0.82rem;
  gap: 10px;
}

.live-preview .card-info li:hover {
  margin: 0;
  padding: 8px 0;
  background: none;
}

.live-preview .card-info .info-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.95rem;
}

.live-preview .card-info a {
  font-size: 0.82rem;
}

.live-preview .card-socials {
  gap: 7px;
  margin-bottom: 14px;
}

.live-preview .social-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.live-preview .card-cta-btn {
  padding: 12px 18px;
  font-size: 0.9rem;
  margin-bottom: 14px;
  border-radius: 12px;
  animation: none;
}

.live-preview .card-actions {
  gap: 6px;
  margin-bottom: 0;
}

.live-preview .card-actions a,
.live-preview .card-actions button {
  padding: 9px 12px;
  font-size: 0.78rem;
  border-radius: 11px;
  min-width: 0;
  gap: 4px;
}

.live-preview .card-actions svg {
  width: 13px;
  height: 13px;
}

/* ==================== PREVIEW EDIT BUTTONS ==================== */
.pv-edit-btn {
  position: absolute;
  z-index: 20;
  background: rgba(0,0,0,0.55);
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  backdrop-filter: blur(4px);
}

.pv-edit-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: scale(1.1);
}

.pv-edit-banner {
  bottom: 8px;
  left: 8px;
}

.pv-edit-photo {
  bottom: -2px;
  right: -2px;
  width: 28px;
  height: 28px;
}

/* Placeholder demo text in preview */
.pv-placeholder {
  opacity: 0.55;
  font-style: italic;
}

/* ==================== BANNER REPOSITION ==================== */
.banner-draggable {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.banner-draggable:active {
  cursor: grabbing;
}

.banner-drag-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 3;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s;
}

.banner-drag-hint svg {
  width: 12px;
  height: 12px;
}

.banner-dragging .banner-drag-hint {
  opacity: 0.4;
}

/* Mobile preview button */
.mobile-preview-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.mobile-preview-btn:hover {
  transform: scale(1.05);
}

/* Mobile preview overlay */
.mobile-preview-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #f0f2f5;
  flex-direction: column;
}

.mobile-preview-overlay.active {
  display: flex;
}

.mobile-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #0f172a;
}

.mobile-preview-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #64748b;
  padding: 4px 8px;
}

.mobile-preview-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* ==================== FORM ==================== */
.card-form {
  background: white;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 18px;
  flex: 1;
}

.form-group-row {
  display: flex;
  gap: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #374151;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.form-group input[type="file"] {
  padding: 8px;
  font-size: 0.9rem;
}

.form-group input[type="color"] {
  width: 60px;
  height: 40px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  padding: 2px;
}

.slug-input {
  display: flex;
  align-items: center;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.slug-input:focus-within {
  border-color: #2563eb;
}

.slug-prefix {
  padding: 10px 8px 10px 14px;
  background: #f9fafb;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.95rem;
}

.slug-input input {
  border: none !important;
  border-radius: 0 !important;
  padding-left: 4px !important;
}

.slug-input input:focus {
  border: none !important;
}

.help-text {
  color: #9ca3af;
  font-size: 0.8rem;
  margin-top: 4px;
}

.section-title {
  font-size: 1.1rem;
  color: #2563eb;
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eff6ff;
}

.btn-create {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 24px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-create:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-create:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==================== MODAL ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.modal h2 { margin-bottom: 8px; color: #1a1a2e; }
.modal p { color: #6b7280; margin-bottom: 16px; }

.share-url {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.share-url input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 500;
}

.btn-copy {
  padding: 10px 18px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-copy:hover { background: #1e40af; }

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-view {
  padding: 12px 24px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
}

.btn-view:hover { background: #1e40af; }

.btn-new {
  padding: 12px 24px;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-new:hover { background: #e5e7eb; }

/* Card styles are now in card.css */

/* ==================== ADMIN ==================== */
.admin-container { max-width: 900px; margin: 0 auto; padding: 20px 16px 40px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h2 { font-size: 1.4rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.admin-card { background: white; border-radius: 16px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 8px; }
.admin-card h3 { font-size: 1.1rem; color: #1a1a2e; }
.admin-card p { color: #6b7280; font-size: 0.85rem; }
.admin-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.admin-card-actions a, .admin-card-actions button { padding: 8px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; }
.btn-admin-view { background: #eff6ff; color: #2563eb; }
.btn-admin-delete { background: #fef2f2; color: #dc2626; }
.empty-state { text-align: center; padding: 60px 20px; color: #9ca3af; }
.empty-state p { font-size: 1.1rem; margin-bottom: 16px; }

/* ==================== 404 ==================== */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.page-404 h1 { font-size: 5rem; color: #e5e7eb; margin-bottom: 8px; }
.page-404 p { color: #6b7280; margin-bottom: 20px; }
.page-404 a { color: #2563eb; text-decoration: none; font-weight: 600; }

/* ==================== FOOTER ==================== */
.main-footer { text-align: center; padding: 24px; color: #9ca3af; font-size: 0.85rem; }
.admin-link { color: #9ca3af; text-decoration: none; margin-left: 12px; }
.admin-link:hover { color: #2563eb; }

/* ==================== FORM STEPS ==================== */
.form-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.form-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

.form-step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.form-step-header h3 {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.form-step-header p {
  font-size: 0.85rem;
  color: #64748b;
}

/* ==================== STYLE PICKER ==================== */
.style-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.style-option {
  cursor: pointer;
  text-align: center;
}

.style-option input[type="radio"] {
  display: none;
}

.style-preview {
  border: 3px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
  background: white;
}

.style-option input:checked + .style-preview {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.style-preview .sp-banner {
  height: 28px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.style-preview .sp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0e7ff;
  margin: -18px auto 8px;
  border: 2px solid white;
  position: relative;
}

.style-preview .sp-lines div {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  margin-bottom: 4px;
}

.style-preview .sp-lines div:first-child {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.style-preview .sp-lines div:last-child {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.style-dark .sp-banner {
  background: #1f2937;
}

.style-dark {
  background: #111827 !important;
}

.style-dark .sp-lines div {
  background: #374151;
}

.style-elegant .sp-avatar {
  border-radius: 4px;
}

.style-bold .sp-banner {
  height: 36px;
}

.style-option span {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}

/* ==================== COLOR PICKER ==================== */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  padding: 0;
}

.color-dot:hover {
  transform: scale(1.2);
  border-color: #94a3b8;
}

/* ==================== RADIO GROUP ==================== */
.radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.radio-option {
  cursor: pointer;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-label {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.15s;
  background: white;
}

.radio-option input:checked + .radio-label {
  border-color: #2563eb;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

.radio-label:hover {
  border-color: #94a3b8;
}

/* ==================== FORM SELECT ==================== */
.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select:focus {
  outline: none;
  border-color: #2563eb;
}

/* ==================== FILE UPLOAD ==================== */
.file-upload input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 2px dashed #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s;
  background: white;
}

.file-upload input[type="file"]:hover {
  border-color: #2563eb;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .creator-preview-col { width: 340px; }
  .creator-layout { gap: 20px; }
}

@media (max-width: 1050px) {
  .creator-preview-col { width: 320px; }
  .preview-phone-frame { border-radius: 32px; padding: 10px; }
  .preview-phone-notch { width: 100px; height: 24px; border-radius: 0 0 14px 14px; }
  .preview-phone-screen { border-radius: 22px; max-height: 560px; }
  .live-preview .card-banner { height: 100px; }
  .live-preview .card-photo, .live-preview .card-photo-placeholder { width: 72px; height: 72px; font-size: 1.5rem; }
  .live-preview .card-photo-container { top: 64px; }
  .live-preview .card-body { padding: 44px 16px 16px; }
  .live-preview .card-name { font-size: 1.1rem; }
  .live-preview .card-job { font-size: 0.78rem; }
  .live-preview .card-info li { font-size: 0.75rem; padding: 6px 0; }
  .live-preview .card-info .info-icon { width: 26px; height: 26px; font-size: 0.8rem; }
  .live-preview .social-btn { width: 30px; height: 30px; font-size: 0.65rem; }
  .live-preview .card-actions a, .live-preview .card-actions button { padding: 7px 8px; font-size: 0.72rem; }
}

@media (max-width: 900px) {
  /* Landing page responsive */
  .hero { flex-direction: column; text-align: center; padding: 120px 24px 60px; gap: 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { max-width: 100%; margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-card-preview { transform: rotate(0); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .demo-container { flex-direction: column; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .stats-inner { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .stat-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }

  /* ===== SPLIT SCREEN: preview top / form bottom ===== */
  body.user-logged-in .page-container {
    padding-top: 96px !important;
  }

  body.user-logged-in .creator-layout {
    top: 96px;
  }

  .page-container {
    padding-top: 56px !important;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .page-container > .main-header {
    display: none;
  }

  .creator-layout {
    flex-direction: column-reverse;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    gap: 0;
    max-width: 100%;
  }

  .creator-form-col {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    border-top: 3px solid #e2e8f0;
  }

  .creator-form-col .card-form {
    border-radius: 0;
    box-shadow: none;
    padding: 12px;
    margin: 0;
  }

  .creator-preview-col {
    display: block !important;
    width: 100% !important;
    height: 42%;
    min-height: 200px;
    flex-shrink: 0;
    background: #f0f2f5;
  }

  .preview-sticky {
    position: static !important;
    height: 100% !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 4px 12px;
  }

  .preview-label {
    padding: 2px 0 4px;
    margin-bottom: 0;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .preview-phone-frame {
    background: linear-gradient(145deg, #1e293b, #0f172a) !important;
    border-radius: 24px !important;
    padding: 6px !important;
    margin: 0 auto;
    max-width: 280px;
    flex: 1;
    min-height: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25) !important;
  }

  .preview-phone-notch {
    display: flex;
    width: 80px;
    height: 18px;
    border-radius: 0 0 12px 12px;
    margin: 0 auto -8px;
  }

  .preview-phone-notch::after {
    width: 40px;
    height: 4px;
  }

  .preview-phone-screen {
    border-radius: 18px !important;
    flex: 1;
    min-height: 0;
  }

  /* Hide mobile button/overlay - no longer needed */
  .mobile-preview-btn { display: none !important; }
  .mobile-preview-overlay { display: none !important; }

  /* Hide footer on creator page */
  .creator-layout ~ .main-footer { display: none; }
  .creator-layout ~ .modal-overlay { z-index: 1000; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.6rem; }
  .final-cta h2 { font-size: 1.6rem; }
  .card-form { padding: 10px 8px; }
  .form-group-row { flex-direction: column; gap: 0; }
  .style-picker { grid-template-columns: repeat(2, 1fr); }
  .radio-group { flex-direction: column; }
  .form-step { padding: 14px 12px; margin-bottom: 10px; }
  .form-step-header { gap: 10px; margin-bottom: 14px; padding-bottom: 10px; }
  .form-step-num { width: 32px; height: 32px; font-size: 0.9rem; border-radius: 9px; }
  .form-step-header h3 { font-size: 0.95rem; }
  .form-step-header p { font-size: 0.78rem; }
  .form-group { margin-bottom: 12px; }
  .form-group label { font-size: 0.82rem; margin-bottom: 4px; }
  .btn-create { padding: 12px; font-size: 1rem; margin-top: 14px; }
  .modal { padding: 28px 20px; }
  .modal-actions { flex-direction: column; }
  .card-actions { flex-direction: column; }
  .share-url { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
