/* =========================
   RESET + BASE
========================= */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { height:100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", Arial, sans-serif;
  color: #0f172a;
  line-height: 1.5;
  overflow-x: hidden;

  /* фирменный градиент */
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0,174,239,0.35), transparent 60%),
    radial-gradient(1000px 600px at 110% 10%, rgba(0,91,170,0.35), transparent 60%),
    linear-gradient(135deg, #005BAA 0%, #00AEEF 100%);
}

/* мягкая “живая” подложка */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(255,255,255,0.15), transparent 60%),
    radial-gradient(800px 400px at 80% 70%, rgba(255,255,255,0.12), transparent 60%);
  filter: blur(40px);
  animation: floatBg 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes floatBg {
  0%   { transform: translate3d(-2%, -2%, 0) scale(1); }
  100% { transform: translate3d(2%, 2%, 0) scale(1.05); }
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* стеклянная карточка */
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  position: relative;
  padding: 64px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);

  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.25);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.25);

  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
}
@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* тонкая светящаяся рамка */
.hero .container::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  pointer-events:none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.35), rgba(255,255,255,0.05) 40%, transparent 60%);
  mix-blend-mode: overlay;
}

/* =========================
   LEFT
========================= */
.hero-left { max-width: 560px; }

.hero-left h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.hero-text {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

/* =========================
   BUTTONS
========================= */
.hero-actions { display: flex; gap: 14px; }

.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
  overflow: hidden;
}

/* primary */
.btn-primary {
  background: #ffffff;
  color: #005BAA;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.btn-primary::before {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: translateX(-100%);
}

.btn-primary:hover::before {
  transform: translateX(100%);
  transition: .6s;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* secondary */
.btn-secondary {
  border: 2px solid rgba(255,255,255,0.7);
  color: white;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* =========================
   RIGHT IMAGE
========================= */
.hero-right {
  position: relative;
}

.hero-right img {
  width: 520px;
  max-width: 100%;
  display: block;

  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
  animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

/* легкое свечение под картинкой */
.hero-right::after {
  content:"";
  position:absolute;
  bottom:-20px;
  left:50%;
  transform: translateX(-50%);
  width:60%;
  height:40px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.35), transparent);
  filter: blur(12px);
}

/* =========================
   ADAPTIVE
========================= */
@media (max-width: 900px) {

  .hero .container {
    flex-direction: column;
    text-align: center;
    padding: 36px;
  }

  .hero-left h1 { font-size: 32px; }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-right img { width: 80%; }
}

@media (max-width: 500px) {

  .container { padding: 0 20px; }

  .hero-left h1 { font-size: 26px; }
  .hero-text { font-size: 15px; }

  .btn-primary,
  .btn-secondary {
    padding: 12px 16px;
    font-size: 14px;
  }
}