/* ===== BASE ===== */
:root {
    --bg: #f4f8fc;
    --bg-soft: #eef4fb;
    --card: rgba(255, 255, 255, 0.8);
    --border: rgba(0, 0, 0, 0.06);

    --text: #0f172a;
    --text-muted: #64748b;

    --accent: #229ED9;
    --accent2: #5b8cff;
}
.landing-page {
    background:
        radial-gradient(circle at 20% 10%, rgba(34,158,217,0.08), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(91,140,255,0.08), transparent 40%),
        var(--bg);
}

.landing-page .tg-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 42px 40px;
  margin-bottom: 30px;
  text-align: center;

  background: linear-gradient(
    180deg,
    #e9f3fd 0%,
    #f6faff 55%,
    #ffffff 100%
  );
  border: 1px solid rgba(34,158,217,0.15);
  box-shadow:
        0 20px 60px rgba(34,158,217,0.15),
        inset 0 1px 0 rgba(255,255,255,.9);
}
.landing-page .features {
    background: #ffffff;
    border-radius: 22px;
}

.landing-page .how-it-works {
    /*background: var(--bg-soft);*/
}

.landing-page .use-cases {
    background: #ffffff;
    border-radius: 22px;
}

.landing-page .cta {
    /*background: linear-gradient(*/
    /*    180deg,*/
    /*    #f6faff 0%,*/
    /*    #eef4fb 100%*/
    /*);*/
    text-align: center;
    padding-bottom: 140px;
}
/* ===== ГЛАВНАЯ СВЕТОВАЯ ДУГА ===== */
.landing-page .tg-hero-bg {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 120%;
  background:
    radial-gradient(
      60% 35% at top center,
      rgba(0,136,204,0.45),
      rgba(0,136,204,0.25) 35%,
      transparent 70%
    );
  pointer-events: none;
}

/* ===== ЧАСТИЦЫ / ЗВЁЗДЫ ===== */
.landing-page .tg-hero-stars {
  position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='white'/%3E%3C/svg%3E");
    opacity: 0.05;
}
.landing-page .tg-hero-content {
  position: relative;
  z-index: 2;
}

.landing-page .tg-hero h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #229ED9;
}

.landing-page .tg-hero p {
  margin-top: 10px;
  font-size: 14px;
  color: #64748b;
}

.landing-page .hero {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 0;
        text-align: center;
    }

    .landing-page .hero-title {
        font-size: 42px;
        font-weight: 700;
        color: #229ED9;
        margin-bottom: 20px;
    }

    .landing-page .hero-subtitle {
        font-size: 20px;
        color: #5f6368;
        margin-bottom: 40px;
        line-height: 1.6;
    }


/* ===== BUTTONS ===== */
.landing-page .btn-primary {
    background: linear-gradient(135deg, #229ED9, #5b8cff);
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow:
        0 10px 25px rgba(34,158,217,0.3);
    transition: all 0.3s ease;
}

.landing-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 35px rgba(34,158,217,0.4);
}

.landing-page .btn-secondary {
    margin-left: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.landing-page .btn-secondary:hover {
    background: var(--card);
}

.landing-page .btn-primary.large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===== SECTIONS ===== */
.landing-page section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: center;
}

.landing-page h2 {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 50px;
}
.landing-page p {
    color: var(--text-muted);
}
/* ===== FEATURES ===== */
.landing-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.landing-page .feature-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
}

.landing-page .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(91,140,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.landing-page .feature-card:hover::before {
    opacity: 1;
}

.landing-page .feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34,158,217,0.3);
    box-shadow:
        0 20px 50px rgba(34,158,217,0.15);
}

.landing-page .feature-card .icon {
    font-size: 28px;
    margin-bottom: 15px;
}

/* ===== STEPS ===== */
.landing-page .steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.landing-page .step {
    flex: 1;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: none;
    transition: 0.3s;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
}

.landing-page .step span {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.landing-page .step:hover {
    transform: translateY(-6px);
    border-color: rgba(34,158,217,0.3);
    box-shadow:
        0 20px 50px rgba(34,158,217,0.15);
}

/* ===== USE CASES ===== */
.landing-page .use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.landing-page .use-card {
    padding: 30px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
    backdrop-filter: none;
}

.landing-page .use-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34,158,217,0.3);
    box-shadow:
        0 20px 50px rgba(34,158,217,0.15);
}

/* ===== CTA ===== */

.landing-page .cta p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ===== ANIMATIONS (APPEAR) ===== */
.landing-page .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.landing-page .fade-up.visible {
    opacity: 1;
}

