/*
Theme Name: Web Studio Test
Theme URI: https://manonbijoux.cz
Author: Terka
Description: Minimální testovací téma — landing page pro webové studio.
Version: 1.0.0
License: GPL v2 or later
Text Domain: webstudio-test
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #1a1d29;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #eef0f4;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; color: #4b5563; }
.nav a:hover { color: #1a1d29; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: #1a1d29; color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26,29,41,.18); }
.btn-secondary {
  background: #fff; color: #1a1d29; border: 1px solid #e5e7eb;
}
.btn-secondary:hover { background: #f9fafb; }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn-light:hover { background: rgba(255,255,255,.16); }
.btn-white { background: #fff; color: #1a1d29; }
.btn-white:hover { transform: translateY(-1px); }

.nav-mobile-toggle { display: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(139,92,246,.18), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1; font-weight: 800; letter-spacing: -.02em;
  margin: 0 0 20px;
}
.hero h1 em { font-style: normal; background: linear-gradient(135deg, #818cf8, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  font-size: 18px; color: #cbd5e1; margin: 0 0 32px; max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Dashboard mockup */
.mockup {
  background: #111827; border: 1px solid #1f2937; border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  overflow: hidden;
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; border-bottom: 1px solid #1f2937; background: #0b1220;
}
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #374151; }
.mockup-bar span:nth-child(1) { background: #ef4444; }
.mockup-bar span:nth-child(2) { background: #f59e0b; }
.mockup-bar span:nth-child(3) { background: #10b981; }
.mockup-body { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mockup-card {
  background: #1f2937; border: 1px solid #374151; border-radius: 10px; padding: 14px;
  color: #e5e7eb;
}
.mockup-card.large { grid-column: 1 / -1; }
.mockup-card .k { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; }
.mockup-card .v { font-size: 22px; font-weight: 700; margin-top: 4px; }
.mockup-chart {
  margin-top: 10px; height: 60px;
  background:
    linear-gradient(180deg, rgba(99,102,241,.4) 0%, rgba(99,102,241,0) 100%);
  border-radius: 6px;
  position: relative; overflow: hidden;
}
.mockup-chart::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, transparent, #818cf8, transparent);
}

/* ── Section base ── */
section { padding: 96px 0; }
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #6366f1; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.02em;
  font-weight: 800; margin: 0 0 16px;
}
.section-lead { font-size: 17px; color: #4b5563; max-width: 640px; margin: 0 0 48px; }

/* ── Services grid ── */
.services { background: #f8fafc; }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.service-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 14px;
  padding: 24px; transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.06); }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #ede9fe, #e0e7ff);
  display: flex; align-items: center; justify-content: center;
  color: #4f46e5; font-size: 20px; margin-bottom: 14px;
}
.service-card h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.service-card p { font-size: 14px; color: #6b7280; margin: 0; }

/* ── Why us ── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-item h3 { font-size: 17px; margin: 0 0 8px; }
.why-item p { font-size: 14px; color: #6b7280; margin: 0; }
.why-num {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: #6366f1;
  margin-bottom: 8px;
}

/* ── Process ── */
.process { background: #f8fafc; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  counter-reset: step;
}
.process-step {
  background: #fff; border: 1px solid #eef0f4; border-radius: 14px;
  padding: 24px; position: relative;
}
.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: #c4b5fd;
}
.process-step h3 { font-size: 17px; margin: 8px 0; }
.process-step p { font-size: 14px; color: #6b7280; margin: 0; }

/* ── Portfolio ── */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.portfolio-card {
  border-radius: 16px; overflow: hidden;
  background: #1e293b; color: #fff;
  min-height: 320px;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.portfolio-card.p1 { background: linear-gradient(135deg, #312e81 0%, #1e3a8a 100%); }
.portfolio-card.p2 { background: linear-gradient(135deg, #581c87 0%, #831843 100%); }
.portfolio-card.p3 { background: linear-gradient(135deg, #064e3b 0%, #115e59 100%); }
.portfolio-card::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 70% 20%, rgba(255,255,255,.18), transparent 60%);
}
.portfolio-card > * { position: relative; z-index: 1; }
.portfolio-tag { font-size: 12px; opacity: .8; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.portfolio-card h3 { font-size: 22px; margin: 0; font-weight: 700; }

/* ── Pricing ── */
.pricing { background: #f8fafc; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 880px; margin: 0 auto;
}
.price-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 18px;
  padding: 36px;
}
.price-card.featured {
  background: linear-gradient(180deg, #1a1d29 0%, #0f172a 100%);
  color: #fff; border: 1px solid #1f2937;
}
.price-card h3 { font-size: 18px; margin: 0 0 6px; font-weight: 700; }
.price-card .price-sub { font-size: 14px; color: #6b7280; margin: 0 0 24px; }
.price-card.featured .price-sub { color: #cbd5e1; }
.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.price-amount small { font-size: 14px; font-weight: 500; color: #6b7280; }
.price-card.featured .price-amount small { color: #94a3b8; }
.price-features { list-style: none; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px solid #eef0f4; }
.price-card.featured .price-features { border-top-color: rgba(255,255,255,.1); }
.price-features li {
  padding: 8px 0 8px 26px; font-size: 14px; position: relative;
  color: #374151;
}
.price-card.featured .price-features li { color: #e5e7eb; }
.price-features li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: #10b981; font-weight: 700;
}
.price-cta { margin-top: 24px; width: 100%; justify-content: center; }

/* ── Contact ── */
.contact {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff; text-align: center;
}
.contact .section-title { color: #fff; }
.contact .section-lead { color: #cbd5e1; margin: 0 auto 32px; }
.contact-form {
  max-width: 560px; margin: 0 auto;
  display: grid; gap: 12px; text-align: left;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff; font: inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #94a3b8; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: #818cf8; background: rgba(255,255,255,.08);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { justify-self: center; margin-top: 8px; }

/* ── Footer ── */
.site-footer {
  background: #0b1220; color: #94a3b8;
  padding: 56px 0 32px;
}
.site-footer .container {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; font-size: 14px; }
.site-footer .brand { color: #fff; }
.site-footer p { font-size: 14px; margin: 12px 0 0; max-width: 320px; }
.copyright {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid #1f2937;
  font-size: 13px; text-align: center;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero .container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
