/*
Theme Name: ChatGPT BG Corporate AI
Theme URI: https://chatgptbg.eu
Author: Digital Business Group
Description: Corporate landing page for AI consulting and agent implementation.
Version: 1.0.0
Text Domain: chatgptbg
*/

:root {
  --navy: #07182e;
  --navy-2: #0b2342;
  --blue: #2563eb;
  --sky: #38bdf8;
  --teal: #14b8a6;
  --ice: #f5f8fc;
  --ink: #172033;
  --muted: #64748b;
  --line: #dbe5f0;
  --white: #fff;
  --shadow: 0 24px 60px rgba(7, 24, 46, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-soft { background: var(--ice); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--teal); }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.scrolled {
  border-color: rgba(219, 229, 240, .8);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 30px rgba(7,24,46,.06);
  backdrop-filter: blur(16px);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
}
.brand-mark svg { width: 22px; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 29px; color: #314158; font-size: 14px; font-weight: 700; }
.nav a:not(.btn):hover { color: var(--blue); }
.btn {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 26px rgba(37,99,235,.24); }
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 16px 34px rgba(37,99,235,.3); }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 12px 30px rgba(7,24,46,.14); }
.btn-outline { color: var(--navy); border: 1px solid var(--line); background: #fff; }
.menu-toggle { display: none; border: 0; background: none; font-size: 24px; }

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  padding: 170px 0 90px;
  background:
    radial-gradient(circle at 82% 16%, rgba(56,189,248,.16), transparent 26%),
    radial-gradient(circle at 68% 72%, rgba(20,184,166,.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #fff 84%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(37,99,235,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; }
.hero h1 {
  margin: 0 0 26px;
  color: var(--navy);
  font-size: clamp(47px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--blue), var(--teal));
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy > p { max-width: 650px; margin: 0 0 34px; color: #52627a; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 35px; color: #52627a; font-size: 13px; font-weight: 700; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.check { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: rgba(20,184,166,.12); font-size: 11px; }

.agent-visual { position: relative; min-height: 500px; }
.agent-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 178px;
  height: 178px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #164dc5, #0d9fa0);
  box-shadow: 0 25px 60px rgba(37,99,235,.3), inset 0 1px 0 rgba(255,255,255,.35);
}
.agent-core::before, .agent-core::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 50%;
}
.agent-core::before { inset: -40px; }
.agent-core::after { inset: -95px; }
.core-icon { text-align: center; }
.core-icon svg { width: 48px; margin: 0 auto 7px; }
.core-icon strong { display: block; font-size: 17px; }
.core-icon small { opacity: .78; font-size: 11px; }
.orbit-card {
  position: absolute;
  z-index: 4;
  width: 155px;
  padding: 15px;
  border: 1px solid rgba(219,229,240,.8);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 15px 35px rgba(7,24,46,.1);
  backdrop-filter: blur(10px);
}
.orbit-card i { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 10px; color: var(--blue); background: #eaf1ff; font-style: normal; }
.orbit-card strong { display: block; color: var(--navy); font-size: 13px; }
.orbit-card small { color: var(--muted); font-size: 10px; }
.orbit-1 { top: 6%; left: 2%; }
.orbit-2 { top: 11%; right: 0; }
.orbit-3 { bottom: 7%; left: 0; }
.orbit-4 { right: 2%; bottom: 3%; }
.connection { position: absolute; z-index: 1; inset: 12%; border: 1px dashed rgba(37,99,235,.28); border-radius: 50%; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.logo-strip { padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logo-strip-inner { display: flex; align-items: center; justify-content: center; gap: 35px; color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.logo-strip-inner strong { color: var(--navy); }

.problem-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.problem-card, .service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.problem-card:hover, .service-card:hover { transform: translateY(-5px); border-color: #bad0ef; box-shadow: var(--shadow); }
.problem-card { padding: 28px; }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; color: var(--blue); background: #eaf1ff; font-size: 23px; }
.problem-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 18px; }
.problem-card p { margin: 0; color: var(--muted); font-size: 14px; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { position: relative; overflow: hidden; padding: 34px; }
.service-card.featured { color: #fff; border-color: transparent; background: linear-gradient(145deg, var(--navy), #123e70); }
.service-card.featured h3, .service-card.featured .service-num { color: #fff; }
.service-card.featured p, .service-card.featured li { color: #cbd9ea; }
.service-card.featured .card-icon { color: #fff; background: rgba(255,255,255,.12); }
.service-num { position: absolute; top: 28px; right: 28px; color: #aab7c8; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 23px; line-height: 1.2; }
.service-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.service-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: #40516a; font-size: 13px; }
.service-card li::before { content: "✓"; margin-right: 8px; color: var(--teal); font-weight: 900; }
.service-card.wide { grid-column: span 2; }

.usecases-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 75px; align-items: start; }
.sticky-copy { position: sticky; top: 120px; }
.usecase-list { display: grid; gap: 14px; }
.usecase {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.usecase b { color: var(--navy); }
.usecase p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

.process { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.process::before { content: ""; position: absolute; top: 27px; right: 9%; left: 9%; height: 1px; background: #bcd1eb; }
.step { position: relative; z-index: 1; text-align: center; }
.step-num { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 18px; border: 6px solid var(--ice); border-radius: 50%; color: #fff; background: var(--blue); font-weight: 800; }
.step h3 { margin: 0 0 7px; color: var(--navy); font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 12px; }

.security-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 70px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(56,189,248,.22), transparent 30%),
    linear-gradient(135deg, var(--navy), #0d315a);
}
.security-panel h2 { margin: 0 0 20px; font-size: clamp(34px,4vw,50px); line-height: 1.08; letter-spacing: -.04em; }
.security-panel p { color: #c2d1e3; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.security-item { padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.06); }
.security-item strong { display: block; margin-bottom: 4px; }
.security-item small { color: #b5c7dc; }

.faq-list { max-width: 850px; margin: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; border: 0; color: var(--navy); background: none; cursor: pointer; text-align: left; font: inherit; font-size: 17px; font-weight: 800; }
.faq-answer { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .3s; }
.faq-answer p { margin: 0; padding: 0 0 24px; }
.faq-item.open .faq-answer { max-height: 250px; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-plus { color: var(--blue); font-size: 24px; transition: transform .3s; }

.contact-section { padding: 100px 0; background: var(--ice); }
.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-copy { padding: 62px 0 62px 62px; }
.contact-copy h2 { margin: 0 0 18px; color: var(--navy); font-size: 44px; line-height: 1.1; letter-spacing: -.04em; }
.contact-copy p { color: var(--muted); }
.contact-points { display: grid; gap: 15px; margin-top: 30px; }
.contact-point { display: flex; align-items: center; gap: 12px; color: #40516a; font-size: 14px; font-weight: 700; }
.contact-form { padding: 55px; background: linear-gradient(145deg, var(--navy), #123e70); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { margin-bottom: 15px; }
.field.full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 7px; color: #dbe8f7; font-size: 12px; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 10px;
  outline: none;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: 14px;
}
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sky); }
.field option { color: var(--ink); }
.form-note { margin: 13px 0 0; color: #9fb2c9; font-size: 10px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.notice { margin-bottom: 20px; padding: 14px 17px; border-radius: 10px; font-size: 13px; }
.notice-success { color: #d9fff7; border: 1px solid rgba(20,184,166,.5); background: rgba(20,184,166,.14); }
.notice-error { color: #ffe4e4; border: 1px solid rgba(248,113,113,.5); background: rgba(248,113,113,.14); }

.site-footer { padding: 55px 0 30px; color: #9fb0c5; background: #061426; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; margin-bottom: 45px; }
.footer-brand { color: #fff; }
.footer-desc { max-width: 460px; font-size: 13px; }
.footer-title { margin-bottom: 13px; color: #fff; font-size: 13px; font-weight: 800; }
.footer-links { display: grid; gap: 8px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.09); font-size: 11px; }
.disclaimer { max-width: 700px; }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 76px; right: 20px; left: 20px; padding: 24px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .contact-panel, .security-panel, .usecases-wrap { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .agent-visual { width: min(560px,100%); margin: auto; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .sticky-copy { position: static; }
  .contact-copy { padding: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 76px 0; }
  .hero { min-height: auto; padding: 140px 0 65px; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .agent-visual { min-height: 420px; transform: scale(.9); }
  .orbit-card { width: 135px; }
  .logo-strip-inner { flex-direction: column; gap: 5px; }
  .problem-grid, .services-grid, .security-grid, .form-grid, .process { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: auto; }
  .security-panel { gap: 40px; padding: 38px 25px; }
  .contact-panel { gap: 0; }
  .contact-copy, .contact-form { padding: 38px 25px; }
  .contact-copy h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}
