:root {
  --blue: #016afa;
  --blue-dark: #0052cc;
  --blue-light: #e8f1ff;
  --blue-glow: rgba(1,106,250,0.2);
  --bg: #ffffff;
  --bg2: #f7f9fc;
  --ink: #0a0e1a;
  --ink2: #3d4560;
  --ink3: #7b84a0;
  --border: #e2e7f0;
  --border2: #c8d3e8;
  --success: #00b87a;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(10,14,26,0.08);
  --shadow-lg: 0 20px 60px rgba(10,14,26,0.12);
  --shadow-blue: 0 4px 20px rgba(1,106,250,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--ink); min-height: 100vh; -webkit-font-smoothing: antialiased; }

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; background: var(--blue); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 2px 8px rgba(1,106,250,0.35); flex-shrink: 0; }
.logo-mark.sm { width: 26px; height: 26px; font-size: 13px; }
.logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--ink2); text-decoration: none; border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s; }
.nav-link:hover { color: var(--blue); background: var(--blue-light); }
.nav-btn { padding: 8px 18px; background: var(--blue); color: white; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; box-shadow: var(--shadow-blue); transition: background 0.15s, transform 0.1s; text-decoration: none; display: inline-flex; align-items: center; }
.nav-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; background: var(--blue); color: white; border: none; border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-blue); transition: background 0.15s, transform 0.1s; text-decoration: none; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-primary.full { width: 100%; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: transparent; color: var(--ink); border: 1.5px solid var(--border2); border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; text-decoration: none; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.btn-outline.full { width: 100%; }
.btn-white { display: inline-flex; align-items: center; padding: 14px 32px; background: white; color: var(--blue); border: none; border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; text-decoration: none; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.2); }
.btn-approve { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 14px; background: var(--success); color: white; border: none; border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(0,184,122,0.3); transition: background 0.15s, transform 0.1s; }
.btn-approve:hover { background: #009966; transform: translateY(-1px); }
.btn-revise-toggle { width: 100%; padding: 12px; background: transparent; color: var(--danger); border: 1.5px solid var(--danger); border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.btn-revise-toggle:hover { background: #fef2f2; }
.btn-revise { flex: 1; padding: 12px; background: var(--danger); color: white; border: none; border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.btn-revise:hover { background: #dc2626; }
.btn-sm { padding: 5px 12px; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; transition: background 0.15s; }
.btn-sm:hover { background: var(--border); }
.btn-sm.btn-danger { color: var(--danger); border-color: #fca5a5; }
.btn-sm.btn-danger:hover { background: #fef2f2; }

/* ── FORMS ── */
.field-group { margin-bottom: 20px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin-bottom: 7px; }
.field-input { width: 100%; padding: 11px 16px; background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; color: var(--ink); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.field-input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1,106,250,0.1); background: white; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-option { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; transition: border-color 0.15s, background 0.15s; }
.type-option input[type="radio"] { display: none; }
.type-option:has(input:checked) { border-color: var(--blue); background: var(--blue-light); color: var(--blue-dark); }
.type-option:hover { border-color: var(--blue-dark); background: var(--blue-light); }
.type-icon { font-size: 18px; }

/* ── STATUS CHIPS ── */
.status-chip { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; display: inline-block; }
.status-chip.pending { background: #fff8e1; color: #c77700; border: 1px solid #ffe082; }
.status-chip.approved { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-chip.revision { background: #fce4ec; color: #c62828; border: 1px solid #f48fb1; }
.status-chip.paid { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }

/* ── PAGE LAYOUT ── */
body { padding-top: 64px; }
.page-wrap { max-width: 1160px; margin: 0 auto; padding: 48px 40px 80px; }
.page-wrap.narrow { max-width: 680px; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 36px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.page-title { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -0.5px; }
.page-sub { font-size: 15px; color: var(--ink3); margin-top: 4px; }
.section-title { font-family: 'Sora', sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 10px; }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink3); text-decoration: none; margin-bottom: 28px; transition: color 0.15s; }
.back-link:hover { color: var(--blue); }
.form-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }

/* ── HERO ── */
.hero { padding: 72px 40px 100px; max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; min-height: calc(100vh - 64px); }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue); padding: 6px 14px; border-radius: 40px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 22px; }
.tag-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }
.hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(40px, 4.5vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 18px; }
.blue { color: var(--blue); }
.hero-sub { font-size: 17px; line-height: 1.7; color: var(--ink2); max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 44px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 800; }
.stat-label { font-size: 13px; color: var(--ink3); margin-top: 2px; }

/* Browser mockup */
.browser-mockup { background: white; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; animation: float-slow 7s ease-in-out infinite; }
@keyframes float-slow { 0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)} }
.browser-chrome { background: var(--bg2); padding: 10px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.b-dots { display: flex; gap: 5px; }
.b-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.b-dot.r{background:#ff5f57}.b-dot.y{background:#febc2e}.b-dot.g{background:#28c840}
.browser-bar-url { flex: 1; background: white; border: 1px solid var(--border); border-radius: 5px; padding: 4px 10px; font-size: 11px; color: var(--ink3); }
.preview-nav { background: var(--ink); padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; }
.pn-logo { display: flex; align-items: center; gap: 7px; }
.pn-name { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; color: white; }
.pn-links { display: flex; gap: 10px; }
.pn-links span { width: 28px; height: 5px; background: rgba(255,255,255,0.2); border-radius: 2px; display: block; }
.preview-hero-block { background: linear-gradient(135deg,#0a0e1a,#0d1a3a); padding: 24px 18px; }
.ph-tag { display: inline-block; width: 60px; height: 14px; background: rgba(1,106,250,0.3); border-radius: 8px; margin-bottom: 10px; }
.ph-h1 { height: 12px; background: white; border-radius: 3px; width: 72%; margin-bottom: 5px; }
.ph-h2 { height: 12px; background: rgba(255,255,255,0.5); border-radius: 3px; width: 50%; margin-bottom: 12px; }
.ph-sub,.ph-sub2 { height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; margin-bottom: 4px; }
.ph-sub{width:85%}.ph-sub2{width:65%;margin-bottom:14px;}
.ph-btns { display: flex; gap: 6px; }
.ph-btn1 { width: 60px; height: 20px; background: var(--blue); border-radius: 4px; }
.ph-btn2 { width: 60px; height: 20px; background: rgba(255,255,255,0.1); border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); }
.preview-cards { padding: 12px 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; background: white; }
.preview-card { background: var(--bg2); border-radius: 5px; padding: 8px; border: 1px solid var(--border); }
.pc-icon { width: 16px; height: 16px; background: var(--blue-light); border-radius: 3px; margin-bottom: 6px; }
.pc-line { height: 5px; background: var(--border); border-radius: 2px; margin-bottom: 3px; }
.pc-line.s { width: 60%; }
.float-badge { position: absolute; bottom: -16px; left: -16px; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; white-space: nowrap; animation: float-slow 7s ease-in-out infinite 2s; }
.fb-icon { width: 30px; height: 30px; background: var(--success); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: white; font-weight: 700; flex-shrink: 0; }
.fb-label { font-size: 11px; color: var(--ink3); font-weight: 500; }
.fb-val { font-size: 13px; font-weight: 700; }
.hero-visual { position: relative; }

/* ── SERVICES ── */
.services-section { background: var(--bg2); padding: 80px 40px; border-top: 1px solid var(--border); }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-sub { font-size: 16px; color: var(--ink2); line-height: 1.6; max-width: 500px; margin-bottom: 44px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-decoration: none; color: var(--ink); display: block; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue-light); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 46px; height: 46px; background: var(--blue-light); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.service-name { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.service-desc { font-size: 13px; color: var(--ink3); line-height: 1.6; margin-bottom: 14px; }
.service-price { font-size: 13px; font-weight: 700; color: var(--blue); }
.service-price-note { font-size: 12px; font-weight: 600; color: var(--success); margin-top: 3px; }

/* ── HOW IT WORKS ── */
.how-section { padding: 80px 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 48px; }
.steps-grid::before { content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px; background: var(--border); }
.step { padding: 0 18px; text-align: center; }
.step-num-wrap { width: 54px; height: 54px; background: white; border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative; z-index: 1; transition: border-color 0.2s, box-shadow 0.2s; }
.step:hover .step-num-wrap { border-color: var(--blue); box-shadow: 0 0 0 6px var(--blue-light); }
.step-n { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800; color: var(--blue); }
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.step-desc { font-size: 13px; color: var(--ink3); line-height: 1.65; }

/* ── CTA BAND ── */
.cta-band { margin: 0 40px 80px; background: linear-gradient(135deg,#0a0e1a 0%,#0d1a3a 100%); border-radius: 20px; padding: 56px 72px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle,rgba(1,106,250,0.25) 0%,transparent 70%); top: -100px; right: -60px; border-radius: 50%; }
.cta-text h2 { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 800; color: white; letter-spacing: -0.5px; margin-bottom: 8px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ── FOOTER ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.4); padding: 26px 40px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: white; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; }

/* ── AUTH PAGES ── */
.auth-page { background: var(--bg2); display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 20px; }
.auth-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.auth-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-bottom: 28px; }
.auth-title { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.auth-sub { font-size: 14px; color: var(--ink3); line-height: 1.6; margin-bottom: 28px; }
.auth-form { margin-top: 4px; }
.auth-note { margin-top: 16px; font-size: 13px; color: var(--ink3); text-align: center; }
.auth-note a { color: var(--blue); text-decoration: none; font-weight: 600; }
.email-sent-icon { font-size: 48px; margin-bottom: 16px; text-align: center; }

/* ── TABLE ── */
.table-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 18px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink3); background: var(--bg2); border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--bg2); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafbfd; }
.table-sub { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.action-btns { display: flex; gap: 6px; }

/* ── EMPTY STATE ── */
.empty-state { padding: 72px 40px; text-align: center; }
.empty-icon { font-size: 44px; margin-bottom: 16px; }
.empty-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-sub { font-size: 14px; color: var(--ink3); }

/* ── PROJECTS GRID ── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; color: var(--ink); display: block; }
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-preview { height: 168px; position: relative; background: var(--bg2); display: flex; align-items: center; justify-content: center; }
.card-preview-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.cp-icon { font-size: 44px; }
.card-body { padding: 16px 18px 12px; }
.card-type { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.card-client { font-size: 13px; color: var(--ink3); }
.card-footer { padding: 11px 18px; border-top: 1px solid var(--bg2); display: flex; justify-content: space-between; align-items: center; }
.card-date { font-size: 12px; color: var(--ink3); }
.card-price { font-size: 15px; font-weight: 700; }

/* ── REVIEW PAGE ── */
.review-header { margin-bottom: 28px; }
.review-meta { font-size: 14px; color: var(--ink3); margin-top: 8px; display: flex; gap: 8px; align-items: center; }
.mockup-viewer { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; position: relative; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.mockup-img { width: 100%; height: auto; display: block; max-height: 600px; object-fit: contain; padding: 20px; }
.mockup-open-btn { position: absolute; top: 14px; right: 14px; background: white; border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--blue); box-shadow: var(--shadow); }
.mockup-pdf-link { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pdf-icon { font-size: 48px; }
.mockup-viewer.no-file { flex-direction: column; gap: 12px; padding: 48px; color: var(--ink3); text-align: center; }
.notes-box { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 24px; }
.notes-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.notes-box p { font-size: 14px; color: var(--ink2); line-height: 1.7; }
.action-panel { display: flex; flex-direction: column; gap: 10px; }
.revision-toggle { }
.status-banner { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.status-banner.approved { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.status-banner.revision { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.status-banner.paid { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }

/* ── CHECKOUT ── */
.pay-card { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.pay-header { background: linear-gradient(135deg,#0a0e1a 0%,#0d1a3a 100%); padding: 28px 32px; }
.pay-header-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.pay-header-title { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: white; margin-bottom: 4px; }
.pay-header-sub { font-size: 13px; color: rgba(255,255,255,0.5); }
.pay-body { padding: 28px 32px; }
.line-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--bg2); font-size: 14px; color: var(--ink2); }
.line-item:last-child { border-bottom: none; }
.line-item.total { border-top: 2px solid var(--border); border-bottom: none; padding-top: 14px; margin-top: 6px; font-weight: 700; font-size: 17px; color: var(--ink); }
.pay-divider { height: 1px; background: var(--border); margin: 22px 0; }
.stripe-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--ink3); }
.stripe-pill { background: #f0f4ff; border: 1px solid #c5d5ff; color: #635bff; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.mock-note { text-align: center; margin-top: 10px; font-size: 12px; color: var(--warning); }
.pay-submit { margin-top: 6px; }

/* ── UPLOAD MODAL ── */
.overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(10,14,26,0.55); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 24px; }
.overlay.open { display: flex; }
.modal { background: white; border-radius: 20px; width: 100%; max-width: 660px; max-height: 90vh; overflow-y: auto; box-shadow: 0 40px 100px rgba(10,14,26,0.25); animation: modal-pop 0.22s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes modal-pop { from{opacity:0;transform:scale(0.94) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)} }
.modal-top { padding: 28px 32px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-title { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; }
.modal-close { width: 32px; height: 32px; background: var(--bg2); border: none; border-radius: 50%; font-size: 16px; color: var(--ink3); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.modal-close:hover { background: var(--border); }
.modal-body { padding: 24px 32px 32px; }
.upload-zone { border: 2px dashed var(--border2); border-radius: var(--radius); padding: 44px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; background: var(--bg2); margin-bottom: 22px; }
.upload-zone:hover { border-color: var(--blue); background: var(--blue-light); }
.upload-icon { font-size: 36px; margin-bottom: 12px; }
.upload-title { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.upload-sub { font-size: 13px; color: var(--ink3); }
.file-name-display { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue); }

/* ── SUCCESS ── */
.success-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 64px); padding: 40px; text-align: center; }
.success-ring { width: 76px; height: 76px; background: linear-gradient(135deg,var(--success),#00d68f); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; font-weight: 700; margin-bottom: 26px; box-shadow: 0 8px 32px rgba(0,184,122,0.35); animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes pop { from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1} }
.success-h { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.success-p { font-size: 16px; color: var(--ink2); line-height: 1.6; max-width: 420px; margin-bottom: 30px; }

/* ── HTML/PDF IFRAME VIEWER ── */
.mockup-viewer.html-viewer { flex-direction: column; align-items: stretch; padding: 0; min-height: 600px; height: 700px; }
.mockup-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; flex-shrink: 0; }
.mockup-toolbar-left { display: flex; align-items: center; gap: 12px; }
.toolbar-badge { background: var(--blue); color: white; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.toolbar-hint { font-size: 12px; color: rgba(255,255,255,0.5); }
.mockup-toolbar .mockup-open-btn { position: static; box-shadow: none; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: white; }
.mockup-toolbar .mockup-open-btn:hover { background: rgba(255,255,255,0.2); }
.mockup-iframe { width: 100%; flex: 1; border: none; border-radius: 0 0 var(--radius) var(--radius); background: white; min-height: 600px; }
.mockup-viewer:not(.html-viewer) .mockup-iframe { height: 500px; border-radius: var(--radius); }

.btn-sm.btn-revision { color: #7c3aed; border-color: #c4b5fd; }
.btn-sm.btn-revision:hover { background: #f5f3ff; }