/*
Theme Name: PrintAI
Theme URI: https://example.com/
Author: OpenAI
Description: Modern dark AI-style WordPress theme for an AI-powered image-to-print service.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: printai
*/

:root {
  --bg: #07101d;
  --bg-soft: #0b1525;
  --surface: #101c2d;
  --surface-2: #142239;
  --text: #f5f7fb;
  --muted: #9aa9bd;
  --line: rgba(160, 183, 215, .18);
  --cyan: #25c9ff;
  --blue: #4e7cff;
  --purple: #b44cff;
  --pink: #ef4cff;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-main { overflow: hidden; }
.section { padding: 105px 0; position: relative; }
.section-light { background: #f3f7fc; color: #10213a; }
.section-light .eyebrow { color: #267eff; }
.section-light .muted { color: #63738a; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 18px rgba(37,201,255,.8);
}
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 20px; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 6vw, 76px); max-width: 760px; }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: 21px; }
p { margin: 0 0 18px; }
.muted { color: var(--muted); }

.gradient-text {
  background: linear-gradient(90deg, #28c8ff 0%, #6e8cff 45%, #df53ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  transition: .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(100deg, #1ec9ff, #8b5cff 55%, #ef4cff);
  box-shadow: 0 12px 34px rgba(88, 91, 255, .28);
}
.btn-secondary {
  color: white;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.03);
}
.btn-dark {
  color: #10213a;
  border-color: #b9c8dc;
  background: white;
}
.btn-small { min-height: 40px; padding: 0 17px; font-size: 13px; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(5,12,23,.42);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 850; }
.brand-mark {
  width: 29px; height: 29px; border-radius: 9px;
  background: conic-gradient(from 210deg, #20caff, #8b5cff, #f14cff, #20caff);
  box-shadow: 0 0 25px rgba(95,100,255,.5);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 5px; background: var(--bg);
}
.brand-text span { color: #a55bff; }
.main-nav ul { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.main-nav a { color: #bdc9d9; font-size: 13px; transition: .2s; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: white; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; color: white; font-size: 25px; }

.hero {
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 150px 0 95px;
  position: relative;
  background:
    radial-gradient(circle at 78% 40%, rgba(34,115,255,.18), transparent 27%),
    radial-gradient(circle at 86% 50%, rgba(187,65,255,.13), transparent 26%),
    linear-gradient(180deg, #07111f, #081221);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 60px; position: relative; }
.hero-copy p { max-width: 590px; font-size: 18px; color: #aab8ca; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin: 30px 0 28px; }
.trust-row { display: flex; gap: 28px; flex-wrap: wrap; color: #a9b6c7; font-size: 12px; }
.trust-item { display: flex; gap: 8px; align-items: center; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: #54d4ff; box-shadow: 0 0 10px #54d4ff; }

.hero-visual {
  min-height: 470px; position: relative; display: grid; place-items: center;
}
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(2px); opacity: .55;
}
.hero-visual::before { width: 360px; height: 360px; background: radial-gradient(circle, rgba(37,201,255,.25), transparent 67%); }
.hero-visual::after { width: 300px; height: 300px; background: radial-gradient(circle, rgba(191,68,255,.2), transparent 67%); transform: translate(110px, 80px); }
.compare {
  position: relative; width: min(100%, 600px); aspect-ratio: 1.22;
  border: 1px solid rgba(84,191,255,.45); border-radius: 25px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 45px rgba(53,102,255,.18);
  background: linear-gradient(135deg, #182b4c, #0e1728);
}
.compare-placeholder { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.compare-side { position: relative; overflow: hidden; }
.compare-side.before { background: linear-gradient(135deg, #18263c, #384b66); filter: saturate(.65); }
.compare-side.after { background: radial-gradient(circle at 55% 38%, #f16f9d 0 7%, transparent 8%), radial-gradient(circle at 67% 37%, #23caff 0 15%, transparent 16%), linear-gradient(135deg, #10244e, #7d1d8d 52%, #1bc6df); }
.compare-side::before {
  content: ""; position: absolute; inset: 10% 12%;
  border-radius: 45% 45% 35% 35%;
  background: radial-gradient(circle at 50% 31%, #f4c1aa 0 15%, transparent 15.5%), linear-gradient(160deg, transparent 35%, rgba(245,93,163,.8) 36% 50%, transparent 51%);
  opacity: .8;
}
.compare-side.before::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.12) 75%, transparent 75%);
  background-size: 18px 18px; opacity: .3;
}
.compare-divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 2px; background: white; box-shadow: 0 0 18px white; }
.compare-handle { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: white; color: #1c2b46; display: grid; place-items: center; font-weight: 900; }
.compare-label { position: absolute; z-index: 5; bottom: 18px; padding: 7px 11px; border-radius: 8px; background: rgba(4,10,20,.68); border: 1px solid rgba(255,255,255,.15); font-size: 12px; }
.compare-label.left { left: 18px; } .compare-label.right { right: 18px; }

.feature-grid { display: grid; grid-template-columns: 1.05fr 1.95fr; gap: 70px; align-items: start; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  border: 1px solid rgba(74,154,255,.35); background: rgba(44,116,255,.08);
  color: #61caff; margin-bottom: 16px; font-weight: 900;
}
.feature p { color: #91a1b5; font-size: 14px; }

.steps-grid { display: grid; grid-template-columns: .9fr 1.7fr; gap: 60px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.step { text-align: center; position: relative; }
.step-number {
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(76,174,255,.45);
  background: radial-gradient(circle, rgba(109,119,255,.18), rgba(255,255,255,.02));
  box-shadow: inset 0 0 35px rgba(78,124,255,.12);
  color: #4ebfff; font-size: 28px; font-weight: 800;
}
.step p { color: #9aa9bc; font-size: 14px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { background: rgba(255,255,255,.78); border: 1px solid #d5dfeb; border-radius: 18px; padding: 28px; position: relative; }
.price-card.featured { border: 2px solid #855cff; box-shadow: 0 18px 45px rgba(92,80,255,.14); }
.price { font-size: 34px; font-weight: 850; margin: 15px 0; }
.price-list { padding: 0; margin: 0 0 24px; list-style: none; color: #61728a; font-size: 14px; }
.price-list li { margin: 9px 0; }
.price-list li::before { content: "✓"; color: #397fff; font-weight: 900; margin-right: 8px; }

.examples { display: grid; grid-template-columns: .75fr 1.8fr; gap: 60px; align-items: center; }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.example-card { aspect-ratio: 1.2; border-radius: 15px; overflow: hidden; position: relative; background: linear-gradient(135deg, #173b55, #a43678 52%, #24b7c5); border: 1px solid rgba(255,255,255,.18); }
.example-card:nth-child(2) { background: linear-gradient(135deg, #17344e, #6d90c9 45%, #19a8d4); }
.example-card:nth-child(3) { background: radial-gradient(circle at 50% 42%, #ef8d99 0 12%, transparent 13%), linear-gradient(135deg, #4e183e, #d5a04e 50%, #54a4bc); }
.example-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.9); box-shadow: 0 0 8px rgba(255,255,255,.6); }
.example-tag { position: absolute; bottom: 10px; z-index: 2; background: rgba(3,10,18,.72); padding: 5px 8px; border-radius: 6px; font-size: 10px; }
.example-tag.left { left: 9px; } .example-tag.right { right: 9px; }

.cta {
  border: 1px solid rgba(84,194,255,.45); border-radius: 20px; padding: 46px 52px;
  background: radial-gradient(circle at 80% 50%, rgba(176,68,255,.22), transparent 36%), linear-gradient(100deg, #101e43, #28164e);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: var(--shadow);
}
.site-footer { padding: 60px 0 30px; border-top: 1px solid var(--line); background: #050c16; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-nav a { color: #94a3b7; font-size: 13px; }
.footer-bottom { margin-top: 45px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #68778c; font-size: 12px; }

.entry-content { max-width: 850px; padding: 150px 0 100px; }
.entry-content a { color: #55cfff; }
.entry-content h2 { margin-top: 50px; }
.wp-block-image img { border-radius: 18px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .feature-grid, .steps-grid, .examples { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-visual { min-height: 390px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 600px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 75px 0; }
  h1 { font-size: 42px; }
  .header-actions .btn-secondary { display: none; }
  .features, .steps, .example-grid { grid-template-columns: 1fr; }
  .compare { width: 100%; }
  .cta { padding: 32px 25px; flex-direction: column; align-items: flex-start; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; flex-direction: column; }
}
