:root {
  --bg: #f8fbff;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #5b6475;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --soft-blue: #eaf2ff;
  --border: #e6edf7;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius: 26px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 80% 0%, #eaf2ff 0, transparent 35%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.section-padding { padding: 76px 0; }

.cursor {
  width: 18px; height: 18px; border: 2px solid var(--primary); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
  opacity: .45; transition: width .2s, height .2s, opacity .2s;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 251, 255, 0.78); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 237, 247, .8);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; letter-spacing: -0.04em; }
.brand-mark { color: var(--primary); font-weight: 900; font-size: 30px; font-style: italic; }
.brand-mark.small { font-size: 24px; }
.dot { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: 14px; }
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 0; height: 2px; background: var(--primary); transition: .25s; }
.nav-links a:hover::after { width: 100%; }
.menu-btn { display: none; border: 0; background: none; font-size: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1px solid var(--border);
  font-weight: 800; cursor: pointer; transition: .25s ease; box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; }

.hero { padding-top: 42px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--soft-blue); color: var(--primary); font-size: 14px; font-weight: 800; margin-bottom: 22px; }
.badge.light { background: #eef5ff; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); line-height: .98; letter-spacing: -0.075em; margin-bottom: 24px; }
.hero h1 span { display: block; color: var(--primary); font-family: Caveat, cursive; font-size: .82em; letter-spacing: -0.03em; transform: rotate(-1deg); }
.hero p { color: var(--muted); font-size: 18px; max-width: 560px; margin-bottom: 22px; }
.hero-points { display: grid; gap: 10px; list-style: none; margin-bottom: 30px; color: #26324a; font-weight: 600; }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: white; font-size: 12px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 42% 58% 45% 55%; background: linear-gradient(135deg, #dbeafe, #eef2ff); animation: morph 8s ease-in-out infinite; }
.avatar { position: relative; width: min(520px, 100%); border-radius: 34px; filter: drop-shadow(0 28px 40px rgba(37, 99, 235, .15)); transform: rotate(-1deg); }
.float-card, .growth-card { position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.float-card { width: 76px; height: 76px; display: grid; place-items: center; font-size: 34px; color: var(--primary); font-weight: 900; animation: float 4s ease-in-out infinite; }
.card-code { top: 90px; right: 64px; }
.card-shop { left: 70px; bottom: 170px; animation-delay: 1s; }
.growth-card { right: 0; bottom: 130px; width: 200px; padding: 18px; }
.growth-card small { color: var(--muted); font-weight: 700; }
.growth-card strong { display: block; font-size: 32px; color: var(--primary); }
.growth-card svg { width: 100%; height: 70px; fill: none; stroke: var(--primary); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

.logos-block { text-align: center; padding-top: 26px; }
.logos-block p { color: var(--primary); font-weight: 900; text-transform: uppercase; font-size: 13px; margin-bottom: 20px; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 82px); flex-wrap: wrap; }
.logo { font-size: 30px; font-weight: 900; filter: grayscale(.1); transition: .25s; }
.logo:hover { transform: translateY(-4px) scale(1.04); }
.mediamarkt { color: #e30613; font-style: italic; }
.hp { color: #1786d2; font-size: 48px; border: 4px solid currentColor; border-radius: 50%; width: 66px; height: 66px; display: grid; place-items: center; line-height: 1; }
.cirsa { color: #2a2f38; }
.ctti { color: #111827; letter-spacing: -0.04em; }

.section-title { text-align: center; max-width: 650px; margin: 0 auto 36px; }
.section-title span, .section-kicker { color: var(--primary); text-transform: uppercase; font-size: 13px; font-weight: 900; }
.section-title h2, .about-card h2, .contact-card h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.055em; margin: 8px 0 12px; }
.section-title p, .about-card p, .contact-card p { color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: 0 14px 40px rgba(15, 23, 42, .045); transition: .25s ease; min-height: 270px; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.icon { width: 62px; height: 62px; border-radius: 20px; background: #eef2ff; display: grid; place-items: center; font-size: 28px; margin-bottom: 20px; }
.icon.green { background: #ecfdf5; } .icon.yellow { background: #fffbeb; } .icon.purple { background: #f5f3ff; }
.service-card h3 { margin-bottom: 10px; letter-spacing: -0.03em; }
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.service-card a { color: var(--primary); font-weight: 900; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.about-card, .timeline-card, .contact-card { background: rgba(255,255,255,.82); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 50px rgba(15,23,42,.05); }
.about-card, .timeline-card { padding: 34px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.features div { font-weight: 800; font-size: 14px; }
.features span { display: block; font-size: 24px; margin-bottom: 8px; }
.timeline { display: grid; gap: 20px; }
.timeline-item { position: relative; padding-left: 28px; border-left: 2px solid #dbe7fb; }
.timeline-item::before { content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px #eaf2ff; }
.timeline-item span { color: var(--primary); font-weight: 900; font-size: 14px; }
.timeline-item h3 { font-size: 18px; letter-spacing: -0.035em; margin: 4px 0; }
.timeline-item p { color: var(--muted); font-size: 15px; }

.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tech { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 18px 10px; text-align: center; box-shadow: 0 10px 30px rgba(15,23,42,.04); transition: .2s; }
.tech:hover { transform: translateY(-5px); border-color: #c4d7ff; }
.tech strong { font-size: 14px; }

.contact-card { display: grid; grid-template-columns: .9fr 1.2fr; gap: 36px; padding: 36px; background: linear-gradient(135deg, #eef5ff, #ffffff); }
.contact-info { display: grid; gap: 10px; margin-top: 22px; color: #1f2a44; font-weight: 700; }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 15px 16px; font: inherit; outline: none; background: white; }
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.1); }

footer { background: #07111f; color: white; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; }
.footer-inner p { color: #9fb0c9; }
.socials { display: flex; gap: 12px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-weight: 900; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; background: var(--primary); color: white; display: grid; place-items: center; font-weight: 900; box-shadow: var(--shadow); }

.reveal { opacity: 0; transform: translateY(28px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; } .delay-2 { transition-delay: .22s; } .delay-3 { transition-delay: .32s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes morph { 0%,100% { border-radius: 42% 58% 45% 55%; } 50% { border-radius: 56% 44% 60% 40%; } }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 76px; left: 18px; right: 18px; flex-direction: column; background: white; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
  .hero-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .section-padding { padding: 54px 0; }
  .hero h1 { font-size: 42px; }
  .cards-grid, .features, .form-row, .tech-grid { grid-template-columns: 1fr; }
  .float-card, .growth-card { display: none; }
  .hero-visual { min-height: auto; }
  .footer-inner { flex-direction: column; text-align: center; }
  .logo { font-size: 24px; }
}
