/* =============================================
   PhotoEdit Online — Shared Landing Styles
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:      #111113;
  --surface: #1a1a1f;
  --card:    #212128;
  --border:  #2b2b35;
  --border2: #3d3d4d;
  --text:    #e2e2e8;
  --muted:   #7a7a90;
  --blue:    #1473e6;
  --blueh:   #0d66d0;
  --green:   #3ecf8e;
  --red:     #f56565;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── NAVBAR ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: 56px;
  background: rgba(17,17,19,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 6%;
  gap: 0;
}
.nav-logo { font-size: 17px; font-weight: 800; letter-spacing: -.4px; flex-shrink: 0; }
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; margin-left: 32px; gap: 2px; }
.nav-links a {
  padding: 5px 13px; font-size: 13px; color: var(--muted);
  border-radius: 6px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* lang link — just a styled anchor */
.lang-link {
  padding: 4px 12px; font-size: 12px; font-weight: 600;
  color: var(--muted); border: 1px solid var(--border2);
  border-radius: 6px; background: var(--card);
  transition: all .15s; white-space: nowrap;
}
.lang-link:hover { color: var(--text); border-color: var(--muted); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; font-size: 13px; font-weight: 600;
  border-radius: 7px; cursor: pointer; border: 1px solid transparent;
  font-family: inherit; transition: all .15s; white-space: nowrap;
  text-decoration: none;
}
.btn-ghost { background: transparent; border-color: var(--border2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--muted); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blueh); }
.btn-lg { padding: 12px 30px; font-size: 15px; border-radius: 8px; }

/* ── AD STRIP ── */
.ad-strip {
  display: flex; justify-content: center; align-items: center;
  padding: 10px 20px; background: var(--surface);
  border-bottom: 1px solid var(--border); min-height: 66px;
}
.ad-ph {
  width: 728px; max-width: 100%; height: 50px;
  background: var(--card); border: 1px dashed var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted); gap: 6px; border-radius: 4px;
}

/* ── HERO ── */
.hero {
  padding: 72px 6% 56px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -160px; left: 50%;
  transform: translateX(-50%); width: 900px; height: 560px;
  background: radial-gradient(ellipse, rgba(20,115,230,.13) 0%, transparent 68%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px; border-radius: 100px;
  border: 1px solid rgba(20,115,230,.3); background: rgba(20,115,230,.07);
  font-size: 12px; color: #7ab8f5; letter-spacing: .3px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 62px); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 18px; color: #fff;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px); color: var(--muted);
  max-width: 540px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.hero-note { font-size: 12px; color: #444; margin-bottom: 48px; }

/* ── OPEN CARD ── */
.open-card {
  max-width: 700px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.open-tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--card); }
.open-tab {
  padding: 10px 20px; font-size: 13px; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: color .15s, background .15s; user-select: none;
}
.open-tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.open-tab.active { color: var(--blue); border-bottom-color: var(--blue); background: transparent; }
.open-body { padding: 24px; display: none; }
.open-body.show { display: block; }

/* drop zone */
.drop-zone {
  border: 2px dashed var(--border2); border-radius: 10px;
  padding: 34px 24px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.drop-zone:hover,
.drop-zone.drag-over { border-color: var(--blue); background: rgba(20,115,230,.06); }
.drop-zone.drag-over { background: rgba(20,115,230,.1); }
.drop-icon { font-size: 38px; display: block; margin-bottom: 12px; }
.drop-zone h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.drop-zone p { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.drop-or { font-size: 12px; color: var(--border2); margin: 12px 0; }

/* size grid */
.size-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.size-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 13px; cursor: pointer; display: block;
  transition: border-color .15s, background .15s; text-decoration: none;
}
.size-card:hover { border-color: var(--blue); background: rgba(20,115,230,.06); }
.size-name { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.size-dim { font-size: 11px; color: var(--muted); }

/* url input */
.url-row { display: flex; gap: 8px; margin-top: 6px; }
.url-input {
  flex: 1; background: var(--card); border: 1px solid var(--border2);
  border-radius: 7px; color: var(--text); font-size: 13px;
  padding: 9px 12px; outline: none; font-family: inherit;
}
.url-input:focus { border-color: var(--blue); }
.url-input::placeholder { color: var(--muted); }

/* ── TRUST BAR ── */
.trust-bar {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
  padding: 24px 6%;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.trust-item .ti { font-size: 17px; }

/* ── SECTIONS ── */
.section { padding: 76px 6%; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.section-title { font-size: clamp(22px,3.5vw,36px); font-weight: 800; color: #fff; letter-spacing: -.4px; margin-bottom: 10px; }
.section-sub { font-size: 14px; color: var(--muted); max-width: 540px; line-height: 1.75; margin-bottom: 44px; }

/* ── FEATURES ── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 22px 18px; transition: border-color .2s, transform .2s; }
.feat-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.feat-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.feat-card h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.feat-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px 18px; }
.step-num { width: 30px; height: 30px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.step-card h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── COMPARE ── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th { padding: 11px 16px; text-align: left; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--border); background: var(--card); }
.compare-table th.us { color: var(--blue); }
.compare-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.us { color: var(--blue); font-weight: 600; }
.chk { color: var(--green); } .cross { color: var(--red); }

/* ── FAQ ── */
.faq-list { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); gap: 16px; list-style: none; transition: color .15s; }
.faq-q:hover { color: #fff; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--muted); flex-shrink: 0; transition: transform .2s; }
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding-bottom: 17px; font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, #0c2557 0%, #18183a 50%, #0c2557 100%); border-top: 1px solid rgba(20,115,230,.25); border-bottom: 1px solid rgba(20,115,230,.25); padding: 68px 6%; text-align: center; }
.cta-banner h2 { font-size: clamp(22px,3.5vw,38px); font-weight: 800; color: #fff; letter-spacing: -.4px; margin-bottom: 12px; }
.cta-banner p { color: #7dabd8; font-size: 15px; margin-bottom: 30px; }

/* ── FOOTER ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 6% 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer-logo { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.footer-logo span { color: var(--blue); }
.footer-brand p { font-size: 13px; color: var(--muted); max-width: 240px; line-height: 1.6; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #3d3d4d; }

/* ── RESPONSIVE ── */
@media(max-width:860px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:840px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:700px) { .nav-links { display: none; } .footer-top { flex-direction: column; } }
@media(max-width:600px) { .size-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px) { .feat-grid { grid-template-columns: 1fr; } }
@media(max-width:480px) { .steps-grid { grid-template-columns: 1fr; } }
