/* AI Fresh — strona główna v2: system projektowy.
   Kolory i tło z styles.css (--accent, --accent2, --bg). Klasy v2-* nie dotykają starych sekcji. */

:root {
  --v2-muted: #a9a9bc;
  --v2-line: rgba(255, 255, 255, 0.12);
  --v2-card: rgba(255, 255, 255, 0.045);
  --v2-card-hi: rgba(255, 255, 255, 0.075);
}

.v2-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.v2-sec { padding: 104px 0 !important; position: relative; max-width: none !important; width: 100%; margin: 0 !important; background: none !important; }
.v2-alt { background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.012)) !important; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.v2-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.v2-eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,222,89,.35); background: rgba(255,222,89,.08); color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.v2-head h2, .v2-h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.v2-head p { margin: 0; color: var(--v2-muted); font-size: 1.08rem; line-height: 1.65; max-width: none; }
.v2-head .v2-eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12.5px; line-height: 1.4; }

/* ---------- HERO ---------- */
.v2-hero { padding: calc(var(--nav-height, 86px) + 64px) 0 56px; }
.v2-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.v2-hero .v2-eyebrow { margin-bottom: 20px; }
.v2-hero h1 { margin: 0 0 22px; font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
.v2-lead { margin: 0 0 32px; max-width: 580px; font-size: 1.18rem; line-height: 1.7; color: var(--v2-muted); }
.v2-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.v2-promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.v2-promises li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--v2-line); background: var(--v2-card); font-size: .93rem; }
.v2-promises li::before { content: "✓"; margin-right: 9px; color: var(--accent); font-weight: 800; }

.v2-portrait { position: relative; width: 100%; max-width: 410px; margin-left: auto; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; border: 1px solid var(--v2-line);
  background: radial-gradient(70% 55% at 50% 38%, rgba(255,222,89,.30), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(255,145,77,.22), transparent 70%), #14141c; }
.v2-portrait img { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.v2-portrait figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(12,12,18,.72); backdrop-filter: blur(10px); border: 1px solid var(--v2-line); }
.v2-portrait strong { display: block; font-size: 1.12rem; }
.v2-portrait span { display: block; margin-top: 2px; font-size: .9rem; color: var(--accent); font-weight: 600; }

.v2-proof { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--v2-line); border-radius: 22px; background: var(--v2-card); overflow: hidden; }
.v2-proof > div { padding: 26px 28px; text-align: center; }
.v2-proof > div + div { border-left: 1px solid var(--v2-line); }
.v2-proof b { display: block; font-size: 2.4rem; line-height: 1; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-proof span { display: block; margin-top: 8px; color: var(--v2-muted); font-size: .95rem; }

/* ---------- KARTY ---------- */
.v2-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.v2-card { display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--v2-card); border: 1px solid var(--v2-line); transition: border-color .2s, transform .2s, background .2s; }
.v2-card:hover { border-color: rgba(255,222,89,.45); background: var(--v2-card-hi); transform: translateY(-3px); }
.v2-card h3 { margin: 0 0 8px; font-size: 1.4rem; letter-spacing: -.01em; }
.v2-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.v2-tagline { margin: 0 0 14px; color: var(--accent2); font-weight: 600; line-height: 1.45; }
.v2-card p { margin: 0 0 16px; color: var(--v2-muted); line-height: 1.65; font-size: .99rem; }
.v2-foryou { margin: 4px 0 18px !important; padding: 13px 15px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: rgba(255,222,89,.07); color: #e9e9f1 !important; font-size: .94rem !important; }
.v2-foryou strong { color: var(--accent); }
.v2-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 8px; }
.v2-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: var(--accent); text-decoration: none; }
.v2-link:hover { text-decoration: underline; }
.v2-status-wip { background: rgba(255,145,77,.16) !important; color: var(--accent2) !important; }

.v2-client { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border-radius: 22px; border: 1.5px dashed rgba(255,145,77,.5); background: rgba(255,145,77,.05); }
.v2-client h3 { margin: 6px 0 6px; font-size: 1.2rem; }
.v2-client p { margin: 0; color: var(--v2-muted); line-height: 1.6; }
.v2-client small { color: var(--v2-muted); max-width: 230px; text-align: right; line-height: 1.5; }

.v2-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 15px; background: linear-gradient(135deg, rgba(255,222,89,.2), rgba(255,145,77,.16)); border: 1px solid rgba(255,222,89,.3); color: var(--accent); }
.v2-icon svg { width: 26px; height: 26px; }
.v2-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }

/* ---------- PROCES ---------- */
.v2-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.v2-step { position: relative; padding: 28px 24px; border-radius: 22px; background: var(--v2-card); border: 1px solid var(--v2-line); }
.v2-step .n { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; font-weight: 800; color: #14141c; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.v2-step h3 { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.3; }
.v2-step p { margin: 0; color: var(--v2-muted); font-size: .96rem; line-height: 1.65; }
.v2-more { text-align: center; margin-top: 36px; }

/* ---------- CENNIK ---------- */
.v2-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.v2-tier { padding: 32px 28px; text-align: center; border-radius: 22px; background: var(--v2-card); border: 1px solid var(--v2-line); }
.v2-tier.main { border-color: var(--accent); background: linear-gradient(180deg, rgba(255,222,89,.10), rgba(255,255,255,.04)); transform: translateY(-8px); box-shadow: 0 18px 50px rgba(255,200,60,.10); }
.v2-tier h3 { margin: 0 0 12px; font-size: 1.1rem; color: var(--v2-muted); font-weight: 600; }
.v2-price { display: block; margin: 0 0 14px; font-size: 2.2rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-tier p { margin: 0; color: var(--v2-muted); line-height: 1.6; }
.v2-incl { margin: 36px 0 0; text-align: center; font-weight: 600; }
.v2-rules { margin-top: 36px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px; align-items: start; }
.v2-rules > div { padding: 28px; border-radius: 22px; background: var(--v2-card); border: 1px solid var(--v2-line); }
.v2-rules h3 { margin: 0 0 14px; font-size: 1.12rem; }
.v2-rules ul { margin: 0; padding-left: 20px; color: var(--v2-muted); line-height: 1.75; }
.v2-rules li { margin: 4px 0; }
.v2-rules li strong { color: #fff; }
.v2-note { margin: 26px 0 0; text-align: center; color: var(--v2-muted); }

/* ---------- O MNIE ---------- */
.v2-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.v2-about .v2-portrait { margin: 0; }
.v2-about h2 { margin-bottom: 6px; }
.v2-role { margin: 0 0 20px; color: var(--accent); font-weight: 700; }
.v2-about .lead { margin: 0 0 28px; font-size: 1.12rem; line-height: 1.7; color: #e8e8f0; }
.v2-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v2-point { padding: 20px; border-radius: 18px; background: var(--v2-card); border: 1px solid var(--v2-line); }
.v2-point .v2-icon { width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; }
.v2-point .v2-icon svg { width: 21px; height: 21px; }
.v2-point h3 { margin: 0 0 6px; font-size: 1.02rem; }
.v2-point p { margin: 0; color: var(--v2-muted); font-size: .93rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.v2-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.v2-faq details { border-radius: 18px; background: var(--v2-card); border: 1px solid var(--v2-line); }
.v2-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.04rem; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--v2-line); color: var(--accent); font-size: 1.3rem; line-height: 1; }
.v2-faq details[open] { border-color: rgba(255,222,89,.4); }
.v2-faq details[open] summary::after { content: "−"; }
.v2-faq details p { margin: 0; padding: 0 24px 22px; color: var(--v2-muted); line-height: 1.7; }
.v2-faq a { color: var(--accent); }

/* ---------- KONTAKT ---------- */
.v2-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.v2-contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.v2-contact-list li { display: flex; gap: 12px; align-items: flex-start; color: #e8e8f0; line-height: 1.55; }
.v2-contact-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,222,89,.16); color: var(--accent); font-weight: 800; font-size: .85rem; }
.v2-direct { margin-top: 28px; color: var(--v2-muted); }
.v2-direct a { color: var(--accent); font-weight: 700; }
.v2-contact .form-card { max-width: none; margin: 0; }

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 1020px) {
  .v2-sec { padding: 80px 0 !important; }
  .v2-hero-grid, .v2-about, .v2-contact { grid-template-columns: 1fr; gap: 44px; }
  .v2-portrait { margin: 0 auto; max-width: 340px; }
  .v2-grid-3, .v2-tiers { grid-template-columns: 1fr; }
  .v2-tier.main { transform: none; }
  .v2-steps { grid-template-columns: 1fr 1fr; }
  .v2-rules { grid-template-columns: 1fr; }
  .v2-client { flex-direction: column; align-items: flex-start; }
  .v2-client small { text-align: left; max-width: none; }
}
@media (max-width: 640px) {
  .v2-sec { padding: 64px 0 !important; }
  .v2-wrap { padding: 0 18px; }
  .v2-steps, .v2-points { grid-template-columns: 1fr; }
  .v2-proof { grid-template-columns: 1fr 1fr; }
  .v2-proof > div:nth-child(3), .v2-proof > div:nth-child(4) { border-top: 1px solid var(--v2-line); }
  .v2-proof > div:nth-child(3) { border-left: 0; }
  .v2-proof > div { padding: 18px 8px; }
  .v2-proof b { font-size: 1.7rem; }
  .v2-proof span { font-size: .78rem; }
  .v2-card, .v2-tier { padding: 24px; }
  .v2-promises li { font-size: .88rem; }
}

/* ---------- pasek z logo projektów i technologii ---------- */
.v2-pricesub { display: block; margin: -6px 0 14px; color: var(--v2-muted); font-size: .86rem; }
.v2-marquee { position: relative; overflow: hidden; margin: 0 -24px 18px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.v2-track { display: flex; width: max-content; gap: 16px; will-change: transform; }
.v2-track > .v2-dup { display: contents; }
.v2-ltr { animation: v2-ltr 240s linear infinite; }
.v2-rtl { animation: v2-rtl 230s linear infinite; }
.v2-marquee:hover .v2-track { animation-play-state: paused; }
@keyframes v2-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes v2-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.v2-tile { display: flex; align-items: center; gap: 14px; flex: none; padding: 14px 20px 14px 14px; border-radius: 18px; background: var(--v2-card); border: 1px solid var(--v2-line); min-width: 290px; }
.v2-tile img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; background: #111; flex: none; }
.v2-tile strong { display: block; font-size: 1.02rem; }
.v2-tile span { display: block; color: var(--v2-muted); font-size: .86rem; }
.v2-tile > .v2-tile-status { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(46,204,113,.16); color: #4be58c; font-size: .75rem; font-weight: 700; }
.v2-tile-status.wip { background: rgba(255,145,77,.16); color: var(--accent2); }
.v2-marquee-chips { margin-bottom: 44px; }
.v2-chip { flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--v2-line); background: rgba(255,255,255,.03); color: #d8d8e4; font-size: .92rem; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .v2-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 24px; } .v2-dup { display: none !important; } .v2-marquee { -webkit-mask-image: none; mask-image: none; margin: 0 0 18px; } }
@media (max-width: 640px) { .v2-marquee { margin: 0 -18px 14px; } .v2-tile { min-width: 250px; } }
