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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a28;
  --surface: #16161f;
  --surface2: #1e1e2e;
  --border: #2a2a3d;
  --border2: #3a3a55;
  --accent: #7c3aed;
  --accent2: #a855f7;
  --accent3: #c084fc;
  --teal: #06b6d4;
  --green: #10b981;
  --red: #ef4444;
  --text: #f1f0ff;
  --text2: #a8a8c8;
  --text3: #6b6b8a;
  --radius: 12px;
  --radius2: 20px;
  --shadow: 0 4px 24px rgba(124,58,237,0.15);
  --shadow2: 0 8px 40px rgba(0,0,0,0.5);
  --font: 'Inter', -apple-system, sans-serif;
  --font2: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text { background: linear-gradient(135deg, var(--accent2) 0%, var(--teal) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--accent3); letter-spacing: 0.02em; margin-bottom: 16px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-family: var(--font2); font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s ease; border: none; text-decoration: none; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%); color: white; box-shadow: 0 4px 15px rgba(124,58,237,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(124,58,237,0.5); }
.btn-ghost { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-outline { background: transparent; color: var(--accent3); border: 1.5px solid rgba(124,58,237,0.5); }
.btn-outline:hover { background: rgba(124,58,237,0.1); }
.btn-large { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; background: rgba(10,10,15,0.8); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font2); font-size: 22px; font-weight: 700; color: var(--text); }
.logo-icon { font-size: 24px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 16px; border-radius: 8px; color: var(--text2); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.nav-link:hover { color: var(--text); background: var(--surface); }
.header-cta { margin-left: 8px; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px; text-align: center; }
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; animation: float 6s ease-in-out infinite; }
.orb-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: var(--teal); bottom: -50px; right: -50px; animation-delay: 2s; }
.orb-3 { width: 200px; height: 200px; background: var(--accent2); top: 40%; left: 50%; transform: translate(-50%,-50%); animation-delay: 4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.hero .container { position: relative; z-index: 1; }
.hero-title { font-family: var(--font); font-size: clamp(48px, 7vw, 88px); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-subtitle { font-size: 18px; color: var(--text2); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font2); font-size: 28px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text3); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* SECTIONS */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-family: var(--font); font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--text2); max-width: 500px; margin: 0 auto; }

/* TEMPLATES */
.templates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.template-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius2); overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
.template-card:hover { border-color: rgba(124,58,237,0.5); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(124,58,237,0.2); }
.template-card.active { border-color: var(--accent2); box-shadow: 0 8px 30px rgba(168,85,247,0.3); }
.template-preview { height: 200px; padding: 16px; display: flex; gap: 8px; }
.tp-line { height: 6px; border-radius: 3px; margin-bottom: 5px; }
.tp-line.name { width: 80%; height: 10px; }
.tp-line.title { width: 55%; height: 7px; }
.tp-line.short { width: 60%; }
.tp-line.white { background: rgba(255,255,255,0.8) !important; }
.tp-line.dark { background: #334155 !important; }
.tp-section-label { height: 5px; width: 40%; border-radius: 3px; margin: 8px 0 5px; }
.tp-lines { display: flex; flex-direction: column; }
.tp-avatar { width: 36px; height: 36px; border-radius: 50%; margin-bottom: 8px; }

/* Modern Preview */
.modern-preview { background: #fff; }
.modern-preview .tp-sidebar { width: 35%; background: #7c3aed; border-radius: 8px; padding: 10px; }
.modern-preview .tp-sidebar .tp-line { background: rgba(255,255,255,0.6); }
.modern-preview .tp-sidebar .tp-section-label { background: rgba(255,255,255,0.4); }
.modern-preview .tp-sidebar .tp-avatar { background: rgba(255,255,255,0.3); }
.modern-preview .tp-main { flex: 1; padding: 10px; }
.modern-preview .tp-main .tp-line { background: #cbd5e1; }
.modern-preview .tp-main .tp-section-label { background: #7c3aed; }
.modern-preview .tp-name-block { margin-bottom: 10px; }
.modern-preview .tp-line.name { background: #1e293b !important; }
.modern-preview .tp-line.title { background: #7c3aed !important; }

/* Executive Preview */
.executive-preview { background: #fff; flex-direction: column; gap: 0; padding: 0; }
.executive-preview .tp-header-bar { background: #1e293b; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.executive-preview .tp-exec-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.executive-preview .tp-exec-body .tp-line { background: #cbd5e1; }
.executive-preview .tp-section-label.dark { background: #94a3b8; }

/* Minimal Preview */
.minimal-preview { background: #fafafa; flex-direction: column; gap: 0; padding: 16px; justify-content: center; }
.minimal-preview .tp-minimal-name { margin-bottom: 10px; }
.minimal-preview .tp-divider-line { height: 1px; background: #334155; margin: 8px 0; }
.minimal-preview .tp-line.dark { background: #334155 !important; }

/* Creative Preview */
.creative-preview { background: #fff; flex-direction: column; gap: 0; padding: 0; }
.creative-preview .tp-creative-accent { background: linear-gradient(135deg, #7c3aed, #06b6d4); padding: 16px; display: flex; flex-direction: column; gap: 4px; border-radius: 0 0 12px 12px; }
.creative-preview .tp-creative-body { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.creative-preview .tp-creative-body .tp-line { background: #cbd5e1; }
.tp-skill-dots { display: flex; gap: 3px; margin: 4px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #7c3aed; }
.dot.filled { background: #7c3aed; }
.dot.half { background: linear-gradient(to right, #7c3aed 50%, transparent 50%); }
.template-info { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--bg2); }
.template-name { font-size: 14px; font-weight: 600; }
.template-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.template-badge.free { background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.template-badge.premium { background: rgba(124,58,237,0.15); color: var(--accent3); border: 1px solid rgba(124,58,237,0.3); }

/* BUILDER */
.builder-section { background: var(--bg2); padding: 80px 0; }
.builder-container { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; }
.builder-form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius2); overflow: hidden; }
.form-header { padding: 24px 24px 0; }
.form-header h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.form-header p { font-size: 14px; color: var(--text2); }
.form-tabs { display: flex; border-bottom: 1px solid var(--border); margin-top: 20px; }
.tab-btn { flex: 1; padding: 12px 8px; background: transparent; border: none; color: var(--text3); font-family: var(--font2); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-btn:hover { color: var(--text2); }
.tab-btn.active { color: var(--accent2); border-bottom-color: var(--accent2); background: rgba(124,58,237,0.05); }
.tab-content { display: none; padding: 20px 24px; }
.tab-content.active { display: block; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; background: var(--bg3); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 10px 14px; color: var(--text); font-family: var(--font); font-size: 14px; transition: border-color 0.2s; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent2); background: rgba(124,58,237,0.05); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tab-nav-btns { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 0 4px; border-top: 1px solid var(--border); margin-top: 16px; }
.add-btn { width: 100%; justify-content: center; margin: 8px 0; padding: 12px; border-radius: var(--radius); font-size: 14px; }

/* Experience / Education Cards */
.exp-card, .edu-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; position: relative; }
.exp-card .remove-btn, .edu-card .remove-btn { position: absolute; top: 12px; right: 12px; background: rgba(239,68,68,0.1); border: none; color: var(--red); width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.exp-card .remove-btn:hover, .edu-card .remove-btn:hover { background: rgba(239,68,68,0.2); }

/* PREVIEW */
.builder-preview-panel { position: sticky; top: 80px; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px 12px 0 0; border-bottom: none; }
.preview-label { font-size: 13px; font-weight: 600; color: var(--text2); }
.resume-preview-wrapper { background: #e2e8f0; border: 1px solid var(--border); border-radius: 0 0 12px 12px; padding: 24px; min-height: 700px; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; }
.resume-preview { width: 100%; max-width: 680px; background: white; border-radius: 8px; box-shadow: 0 4px 30px rgba(0,0,0,0.25); min-height: 880px; overflow: hidden; font-family: 'Inter', sans-serif; color: #1e293b; }

/* RESUME TEMPLATES */
/* Modern */
.resume-modern { display: flex; min-height: 880px; }
.resume-modern .rm-sidebar { width: 33%; background: #7c3aed; color: white; padding: 32px 20px; }
.resume-modern .rm-main { flex: 1; padding: 32px 24px; }
.resume-modern .rm-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.resume-modern .rm-title { font-size: 12px; opacity: 0.8; margin-bottom: 20px; }
.resume-modern .rm-contact-item { font-size: 11px; opacity: 0.85; margin-bottom: 6px; word-break: break-all; }
.resume-modern .rm-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; margin: 20px 0 8px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 4px; }
.resume-modern .rm-main-name { font-size: 28px; font-weight: 900; color: #1e293b; margin-bottom: 4px; }
.resume-modern .rm-main-title { font-size: 14px; color: #7c3aed; font-weight: 600; margin-bottom: 20px; }
.resume-modern .rm-main-section { margin-bottom: 20px; }
.resume-modern .rm-main-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #7c3aed; font-weight: 700; margin-bottom: 10px; border-bottom: 2px solid #7c3aed; padding-bottom: 4px; }
.resume-modern .rm-summary { font-size: 12px; color: #475569; line-height: 1.6; }
.resume-modern .rm-exp-item { margin-bottom: 14px; }
.resume-modern .rm-exp-company { font-size: 13px; font-weight: 700; color: #1e293b; }
.resume-modern .rm-exp-role { font-size: 12px; color: #7c3aed; font-weight: 600; }
.resume-modern .rm-exp-date { font-size: 11px; color: #94a3b8; }
.resume-modern .rm-exp-desc { font-size: 11px; color: #475569; line-height: 1.5; margin-top: 4px; }
.resume-modern .rm-skill-tag { display: inline-block; background: rgba(255,255,255,0.15); border-radius: 4px; padding: 3px 8px; font-size: 11px; margin: 2px 2px 2px 0; }
.resume-modern .rm-edu-item { margin-bottom: 10px; }
.resume-modern .rm-edu-school { font-size: 12px; font-weight: 700; color: #1e293b; }
.resume-modern .rm-edu-degree { font-size: 11px; color: #64748b; }
.resume-modern .rm-edu-date { font-size: 11px; color: #94a3b8; }

/* Executive */
.resume-executive { min-height: 880px; }
.resume-executive .re-header { background: #1e293b; color: white; padding: 32px; }
.resume-executive .re-name { font-size: 32px; font-weight: 900; margin-bottom: 4px; }
.resume-executive .re-title { font-size: 14px; color: #94a3b8; margin-bottom: 12px; }
.resume-executive .re-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.resume-executive .re-contact { font-size: 12px; color: #cbd5e1; }
.resume-executive .re-body { padding: 28px 32px; }
.resume-executive .re-section { margin-bottom: 24px; }
.resume-executive .re-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: #1e293b; font-weight: 800; border-bottom: 2px solid #1e293b; padding-bottom: 4px; margin-bottom: 12px; }
.resume-executive .re-summary { font-size: 12px; color: #475569; line-height: 1.7; }
.resume-executive .re-exp-item { margin-bottom: 16px; display: flex; gap: 16px; }
.resume-executive .re-exp-date { font-size: 11px; color: #94a3b8; min-width: 90px; padding-top: 2px; }
.resume-executive .re-exp-company { font-size: 13px; font-weight: 700; }
.resume-executive .re-exp-role { font-size: 12px; color: #475569; font-weight: 600; }
.resume-executive .re-exp-desc { font-size: 11px; color: #64748b; line-height: 1.5; margin-top: 4px; }
.resume-executive .re-skill-tag { display: inline-block; border: 1px solid #cbd5e1; border-radius: 4px; padding: 3px 10px; font-size: 11px; margin: 2px; color: #475569; }
.resume-executive .re-edu-item { margin-bottom: 10px; }
.resume-executive .re-edu-school { font-size: 12px; font-weight: 700; }
.resume-executive .re-edu-degree { font-size: 11px; color: #64748b; }

/* Minimal */
.resume-minimal { min-height: 880px; padding: 48px 40px; }
.resume-minimal .rmin-name { font-size: 36px; font-weight: 900; color: #0f172a; letter-spacing: -0.02em; }
.resume-minimal .rmin-title { font-size: 14px; color: #64748b; margin-bottom: 8px; }
.resume-minimal .rmin-contacts { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.resume-minimal .rmin-contact { font-size: 12px; color: #94a3b8; }
.resume-minimal .rmin-divider { height: 1px; background: #e2e8f0; margin: 16px 0; }
.resume-minimal .rmin-section { margin-bottom: 24px; }
.resume-minimal .rmin-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: #0f172a; font-weight: 800; margin-bottom: 12px; }
.resume-minimal .rmin-summary { font-size: 13px; color: #475569; line-height: 1.7; }
.resume-minimal .rmin-exp-item { margin-bottom: 14px; }
.resume-minimal .rmin-exp-header { display: flex; justify-content: space-between; align-items: baseline; }
.resume-minimal .rmin-exp-company { font-size: 13px; font-weight: 700; }
.resume-minimal .rmin-exp-date { font-size: 11px; color: #94a3b8; }
.resume-minimal .rmin-exp-role { font-size: 12px; color: #64748b; }
.resume-minimal .rmin-exp-desc { font-size: 12px; color: #64748b; line-height: 1.5; margin-top: 4px; }
.resume-minimal .rmin-skill-tag { display: inline-block; background: #f1f5f9; border-radius: 4px; padding: 3px 10px; font-size: 11px; margin: 2px; color: #475569; }
.resume-minimal .rmin-edu-item { margin-bottom: 10px; }
.resume-minimal .rmin-edu-school { font-size: 12px; font-weight: 700; }
.resume-minimal .rmin-edu-degree { font-size: 11px; color: #64748b; }

/* Creative */
.resume-creative { min-height: 880px; }
.resume-creative .rc-header { background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%); color: white; padding: 32px; }
.resume-creative .rc-name { font-size: 30px; font-weight: 900; margin-bottom: 4px; }
.resume-creative .rc-title { font-size: 14px; opacity: 0.85; margin-bottom: 12px; }
.resume-creative .rc-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.resume-creative .rc-contact { font-size: 12px; opacity: 0.9; }
.resume-creative .rc-body { display: flex; gap: 0; }
.resume-creative .rc-aside { width: 35%; background: #f8fafc; padding: 24px 16px; }
.resume-creative .rc-main { flex: 1; padding: 24px; }
.resume-creative .rc-aside-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: #7c3aed; font-weight: 700; margin-bottom: 10px; }
.resume-creative .rc-skill-bar { margin-bottom: 8px; }
.resume-creative .rc-skill-name { font-size: 11px; color: #475569; margin-bottom: 3px; }
.resume-creative .rc-skill-track { height: 4px; background: #e2e8f0; border-radius: 2px; }
.resume-creative .rc-skill-fill { height: 4px; background: linear-gradient(90deg, #7c3aed, #06b6d4); border-radius: 2px; }
.resume-creative .rc-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #7c3aed; font-weight: 700; margin-bottom: 10px; border-left: 3px solid #7c3aed; padding-left: 8px; }
.resume-creative .rc-summary { font-size: 12px; color: #475569; line-height: 1.6; margin-bottom: 16px; }
.resume-creative .rc-exp-item { margin-bottom: 14px; border-left: 2px solid #e2e8f0; padding-left: 12px; }
.resume-creative .rc-exp-company { font-size: 13px; font-weight: 700; }
.resume-creative .rc-exp-role { font-size: 12px; color: #7c3aed; font-weight: 600; }
.resume-creative .rc-exp-date { font-size: 11px; color: #94a3b8; }
.resume-creative .rc-exp-desc { font-size: 11px; color: #64748b; line-height: 1.5; margin-top: 4px; }
.resume-creative .rc-edu-item { margin-bottom: 10px; }
.resume-creative .rc-edu-school { font-size: 11px; font-weight: 700; }
.resume-creative .rc-edu-degree { font-size: 11px; color: #64748b; }

/* PRICING */
.pricing-section { background: var(--bg2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius2); padding: 36px 28px; position: relative; transition: all 0.3s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow2); }
.pricing-card.featured { border-color: var(--accent2); background: linear-gradient(160deg, rgba(124,58,237,0.1) 0%, var(--surface) 100%); box-shadow: 0 0 0 1px var(--accent2), var(--shadow); }
.pricing-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.pricing-tier { font-family: var(--font2); font-size: 14px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.pricing-price { font-family: var(--font2); font-size: 48px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 8px; }
.currency { font-size: 24px; vertical-align: top; margin-top: 8px; display: inline-block; color: var(--text2); }
.period { font-size: 16px; color: var(--text3); font-weight: 400; }
.pricing-desc { font-size: 14px; color: var(--text2); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.feat { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.feat.feat-off { opacity: 0.4; }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--red); }

/* FOOTER */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-tagline { font-size: 14px; color: var(--text3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent3); }
.footer-copy { font-size: 13px; color: var(--text3); }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card { background: var(--surface); border: 1px solid var(--border2); border-radius: 24px; padding: 40px; max-width: 440px; width: 100%; text-align: center; position: relative; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--bg3); border: 1px solid var(--border); color: var(--text2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.modal-close:hover { background: var(--surface2); color: var(--text); }
.modal-icon { font-size: 48px; margin-bottom: 16px; }
.modal-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal-subtitle { font-size: 14px; color: var(--text2); line-height: 1.6; margin-bottom: 20px; }
.modal-plan { font-family: var(--font2); font-size: 22px; font-weight: 800; color: var(--accent3); margin-bottom: 20px; padding: 12px; background: rgba(124,58,237,0.1); border-radius: var(--radius); }
.modal-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; text-align: left; }
.mf { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text2); }
.mf span { color: var(--green); font-weight: 700; }
.modal-btn { padding: 16px; font-size: 16px; border-radius: 14px; margin-bottom: 12px; }
.modal-note { font-size: 12px; color: var(--text3); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-container { grid-template-columns: 1fr; }
  .builder-preview-panel { position: static; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .nav { display: none; }
  .hero-title { font-size: 36px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .templates-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* MODAL EMAIL STEP */
.modal-email-wrap { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.modal-email-input { width: 100%; background: var(--bg3); border: 1.5px solid var(--border2); border-radius: var(--radius); padding: 14px 16px; color: var(--text); font-family: var(--font); font-size: 16px; transition: border-color 0.2s; text-align: center; }
.modal-email-input:focus { outline: none; border-color: var(--accent2); }
.modal-email-input::placeholder { color: var(--text3); }

