
:root{
  --bg:#f5f7fb;
  --panel:#ffffff;
  --panel-2:#f8fbff;
  --line:#dbe6f2;
  --text:#18212b;
  --muted:#607082;
  --blue:#2f80ed;
  --blue-dark:#1f68c8;
  --soft-blue:#edf5ff;
  --shadow:0 18px 45px rgba(17,36,62,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:
    radial-gradient(circle at top right, rgba(47,128,237,.08), transparent 22%),
    linear-gradient(180deg,#f7fafe 0%, #f4f7fb 100%);
  color:var(--text);
}

a{text-decoration:none;color:inherit}
img,canvas{display:block;max-width:100%}

.container{
  width:min(1160px, calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(245,247,251,.88);
  border-bottom:1px solid rgba(219,230,242,.9);
  backdrop-filter:blur(14px);
}
.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  font-size:1.05rem;
}
.logo-mark{
  width:14px;
  height:14px;
  border-radius:4px;
  background:var(--blue);
}
.nav{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}
.nav a{
  color:var(--muted);
  font-weight:500;
}
.nav a:hover{color:var(--text)}

.btn{
  border:none;
  border-radius:12px;
  min-height:46px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font:inherit;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--blue);
  color:#fff;
  box-shadow:0 10px 26px rgba(47,128,237,.22);
}
.btn-primary:hover{background:var(--blue-dark)}
.btn-secondary{
  background:#fff;
  color:var(--text);
  border:1px solid var(--line);
}
.btn-small{min-height:40px;padding:0 16px}
.btn-wide{width:100%}

.hero{
  padding:68px 0 56px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:38px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  background:var(--soft-blue);
  color:var(--blue);
  border-radius:999px;
  font-size:.88rem;
  font-weight:600;
}
.hero-copy h1,
.section-heading h1,
.login-card h1{
  margin:18px 0 16px;
  font-size:clamp(2.4rem,5vw,4.4rem);
  line-height:1.03;
  letter-spacing:-.04em;
}
.hero-copy p,
.section-heading p,
.login-card p{
  margin:0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.75;
  max-width:620px;
}
.hero-actions{
  display:flex;
  gap:14px;
  margin:28px 0;
  flex-wrap:wrap;
}
.hero-points{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.hero-points div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 16px;
  color:var(--muted);
  font-size:.95rem;
  box-shadow:var(--shadow);
}

.imac-card,
.workspace-card,
.overview-card,
.price-card,
.clean-panel,
.editor-block{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
}

.imac-card{
  padding:24px 24px 0;
}
.imac-screen,
.monitor-screen{
  background:#f7fbff;
  border:1px solid #d6e6f8;
  border-radius:22px;
  padding:18px;
}
.screen-toolbar,
.preview-topbar{
  display:flex;
  gap:8px;
  margin-bottom:14px;
}
.screen-toolbar span,
.preview-topbar span{
  width:10px;height:10px;border-radius:50%;background:#ccd9e8;
}
.screen-title{
  font-weight:700;
  margin-bottom:14px;
}
.split-preview{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.split-side,
.preview-column{
  min-width:0;
}
.split-label,
.preview-caption{
  display:block;
  margin-bottom:10px;
  color:var(--muted);
  font-size:.92rem;
  font-weight:600;
}
.preview-photo,
.preview-box{
  border:1px solid var(--line);
  border-radius:18px;
  min-height:280px;
  overflow:hidden;
  background:#eef4fb;
}
.preview-photo.preview-left{
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0)),
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.8), transparent 30%),
    linear-gradient(180deg,#dbe6f2 0 45%, #c8d3df 45% 60%, #d9dee5 60% 100%);
  position:relative;
}
.preview-photo.preview-left::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  width:148px;height:166px;
  border-radius:34px 34px 24px 24px;
  background:linear-gradient(180deg,#4b5a68 0%, #121a22 100%);
  box-shadow:0 24px 38px rgba(0,0,0,.16);
}
.preview-photo.preview-right{
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.15)),
    linear-gradient(135deg,#a8d7ff 0%, #eef7ff 45%, #d8eafb 100%);
  position:relative;
}
.preview-photo.preview-right::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translateX(-50%);
  width:148px;height:166px;
  border-radius:34px 34px 24px 24px;
  background:linear-gradient(180deg,#4b5a68 0%, #121a22 100%);
  box-shadow:0 24px 38px rgba(0,0,0,.12);
}
.screen-metrics,
.status-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.metric-box,
.status-card{
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.metric-box span,
.status-card span{
  display:block;
  color:var(--muted);
  font-size:.84rem;
  margin-bottom:6px;
}
.metric-box strong,
.status-card strong{
  font-size:1rem;
}
.imac-stand,
.monitor-stand{
  width:100px;
  height:32px;
  margin:0 auto;
  background:linear-gradient(180deg,#e4edf6,#cad9e6);
  border-radius:0 0 18px 18px;
}
.imac-base,
.monitor-base{
  width:210px;
  height:18px;
  margin:0 auto;
  background:linear-gradient(180deg,#dce8f3,#c8d8e6);
  border-radius:999px;
}

.tool-overview,
.page-pad{
  padding:18px 0 72px;
}
.section-heading{
  margin-bottom:28px;
}
.section-heading.compact h1{font-size:clamp(2rem,4vw,3.2rem)}
.overview-grid,
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.overview-card{
  padding:24px;
}
.overview-card h3,
.editor-block h2,
.price-card .plan{
  margin:0 0 10px;
}
.overview-card p,
.editor-block p,
.price-card li{
  color:var(--muted);
  line-height:1.7;
}

.editor-shell{
  padding:32px 0 80px;
}
.workspace-card{
  padding:24px;
}
.workspace-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}
.workspace-title{
  font-size:1.3rem;
  font-weight:700;
}
.workspace-sub{
  color:var(--muted);
  margin-top:6px;
}
.workspace-monitor{
  margin-bottom:18px;
}
.preview-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.preview-box{
  display:grid;
  place-items:center;
  padding:14px;
}
.placeholder-box{
  display:grid;
  place-items:center;
  min-height:300px;
  width:100%;
  color:var(--muted);
  background:
    linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.06)),
    #f1f6fb;
  border-radius:14px;
  text-align:center;
  padding:20px;
}
.result-box canvas,
.preview-box img{
  width:100%;
  height:auto;
  border-radius:14px;
}

.mode-switch{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.mode-btn,
.bg-choice,
.style-chip{
  min-height:42px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font:inherit;
  cursor:pointer;
}
.mode-btn.active,
.bg-choice.active,
.style-chip.active{
  background:var(--soft-blue);
  border-color:#b6d4f5;
  color:var(--blue);
}
.editor-blocks{
  display:grid;
  gap:20px;
  margin-top:24px;
}
.editor-block{
  padding:24px;
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:24px;
}
.block-label{
  display:inline-block;
  width:40px;height:40px;line-height:40px;
  text-align:center;
  background:var(--soft-blue);
  color:var(--blue);
  border-radius:12px;
  font-weight:700;
  margin-bottom:14px;
}
.block-controls{
  display:grid;
  gap:14px;
  align-content:start;
}
.upload-zone{
  display:grid;
  place-items:center;
  gap:6px;
  min-height:126px;
  border:1px dashed #bad0e7;
  border-radius:18px;
  background:#f8fbff;
  cursor:pointer;
  text-align:center;
  padding:16px;
}
.upload-zone-small{min-height:92px}
.upload-zone span{font-weight:600}
.upload-zone small{color:var(--muted)}
.simple-option-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.simple-option-grid.three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.color-picker{
  width:100%;
  height:52px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:8px;
}
.prompt-label{
  font-weight:600;
}
.prompt-input,
.login-form input{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:var(--text);
  padding:14px 16px;
  font:inherit;
  outline:none;
}
.prompt-input{resize:vertical;min-height:130px}

.clean-pricing{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.price-card{
  padding:26px;
}
.price-card .price{
  font-size:2.4rem;
  font-weight:800;
  margin-bottom:18px;
}
.price-card .price span{
  font-size:1rem;
  color:var(--muted);
  font-weight:600;
}
.price-card ul{
  list-style:none;
  padding:0;
  margin:0 0 22px;
  display:grid;
  gap:10px;
}
.price-card.featured{
  background:linear-gradient(180deg,#ffffff 0%, #f4f9ff 100%);
  border-color:#b9d6f7;
}
.narrow{max-width:560px}
.login-card{
  padding:28px;
}
.login-form{
  display:grid;
  gap:16px;
  margin-top:22px;
}
.login-form label{
  display:grid;
  gap:8px;
  text-align:left;
}
.login-form span{
  font-weight:600;
}

@media (max-width: 980px){
  .hero-grid,
  .editor-block,
  .overview-grid,
  .clean-pricing{
    grid-template-columns:1fr;
  }
  .hero-points,
  .screen-metrics,
  .status-row,
  .preview-split{
    grid-template-columns:1fr;
  }
  .workspace-head,
  .header-inner{
    align-items:flex-start;
    flex-direction:column;
  }
  .nav{gap:14px}
}

@media (max-width: 640px){
  .container{width:min(100% - 24px, 1160px)}
  .simple-option-grid,
  .simple-option-grid.three{
    grid-template-columns:1fr;
  }
}
