/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Backgrounds */
    --bg-primary:   #07091a;
    --bg-secondary: #0b0f20;
    --bg-card:      #0f1424;
    --bg-card-hover:#13192b;

    /* Borders */
    --border:        rgba(255, 255, 255, 0.07);
    --border-accent: rgba(59, 130, 246, 0.45);

    /* Accent colours */
    --blue:   #3b82f6;
    --purple: #7c3aed;
    --cyan:   #22d3ee;

    /* Gradients */
    --gradient:      linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);

    /* Text */
    --text-primary:   #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:     #475569;

    /* Shape */
    --radius:    14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-card:       0 4px 24px rgba(0, 0, 0, 0.35);
    --shadow-card-hover: 0 8px 40px rgba(59, 130, 246, 0.18);

    /* Animation */
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max: 1200px;
    --container-px:  24px;
    --section-py:    96px;
}

/* ============================================================
   BASE ELEMENTS
   ============================================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui,
                 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-py) 0;
}

.section--alt {
    background-color: var(--bg-secondary);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(7, 9, 26, 0.82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav__logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

/* Primary */
.btn--primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 22px rgba(59, 130, 246, 0.32);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(59, 130, 246, 0.48);
    filter: brightness(1.08);
}

.btn--primary:active {
    transform: translateY(0);
}

/* Secondary */
.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

/* Sizes */
.btn--sm  { font-size: 13px; padding: 9px 18px; }
.btn--lg  { font-size: 16px; padding: 16px 32px; border-radius: var(--radius-lg); }

.btn__icon { font-size: 17px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 108px 0 72px;
    overflow: hidden;
}

/* Background glows */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse 80% 55% at 18% 30%, rgba(59, 130, 246, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 82% 72%, rgba(124, 58, 237, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 50% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 60%);
}

/* Dot grid */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(59, 130, 246, 0.09) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 75%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 0 var(--container-px);
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 50%;
    animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Headline */
.hero__title {
    font-size: clamp(28px, 4.3vw, 48px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.025em;
    margin-bottom: 26px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.75;
}

/* CTA group */
.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.022em;
    margin-bottom: 14px;
}

.section__subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================================
   CARDS — BASE
   ============================================================ */
.cards-grid {
    display: grid;
    gap: 18px;
}

.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
}

.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

/* Gradient top-line on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.card:hover::before {
    opacity: 1;
}

.card__icon {
    font-size: 30px;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Audience variant */
.card--audience {
    text-align: center;
    padding: 32px 20px;
}

.card--audience .card__icon {
    font-size: 34px;
    margin-bottom: 14px;
}

.card--audience .card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.card--audience:hover .card__title {
    color: var(--text-primary);
}

/* ============================================================
   JOURNEY
   ============================================================ */
.journey {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.journey__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 1 1 120px;
    max-width: 175px;
    padding: 0 8px;
}

.journey__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.32);
    transition: var(--transition);
}

.journey__step:hover .journey__num {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(59, 130, 246, 0.48);
}

.journey__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.45;
}

.journey__connector {
    flex: 0 0 auto;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.5), rgba(124, 58, 237, 0.5));
    border-radius: 1px;
    margin-bottom: 28px;
}

/* ============================================================
   BOT SECTIONS LIST
   ============================================================ */
.bot-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.bot-list__item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.bot-list__item:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.bot-list__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer-wrap {
    padding: 0 0 60px;
}

.disclaimer {
    display: flex;
    gap: 20px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer__icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #f59e0b;
    line-height: 1;
}

.disclaimer__title {
    font-size: 14px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.disclaimer__text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.82;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background:
        linear-gradient(135deg,
            rgba(59, 130, 246, 0.07) 0%,
            rgba(124, 58, 237, 0.07) 100%);
    border-top:    1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta__text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 52px 0;
}

.footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer__name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer__role {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__link {
    font-size: 14px;
    color: var(--blue);
    transition: color 0.22s ease;
}

.footer__link:hover { color: #93c5fd; }

.footer__note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 300px;
    text-align: right;
}

/* ============================================================
   LINKS SECTION
   ============================================================ */
.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.link-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.link-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.link-card:hover::before {
    opacity: 1;
}

.link-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.link-card__domain {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-card__arrow {
    font-size: 16px;
    color: var(--blue);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.22s ease;
}

.link-card:hover .link-card__arrow {
    transform: translate(2px, -2px);
}

.link-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.link-card__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.75;
    flex-grow: 1;
}

/* ============================================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    :root {
        --section-py: 72px;
    }

    .cards-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bot-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey__connector {
        width: 20px;
    }

}


/* ============================================================
   RESPONSIVE — MOBILE  (≤ 620px)
   ============================================================ */
@media (max-width: 620px) {
    :root {
        --section-py:   56px;
        --container-px: 18px;
    }

    /* Nav */
    .nav__logo { font-size: 13px; }

    /* Hero */
    .hero { padding: 96px 0 56px; }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* Cards */
    .cards-grid--3 {
        grid-template-columns: 1fr;
    }

    .cards-grid--auto {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Journey — vertical on mobile */
    .journey {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 8px;
    }

    .journey__step {
        flex-direction: row;
        max-width: none;
        width: 100%;
        text-align: left;
        gap: 16px;
        padding: 4px 0;
    }

    .journey__label { text-align: left; }

    .journey__connector {
        width: 2px;
        height: 24px;
        background: linear-gradient(to bottom,
            rgba(59, 130, 246, 0.5),
            rgba(124, 58, 237, 0.5));
        margin-left: 25px;
        margin-bottom: 0;
    }

    /* Bot list */
    .bot-list { grid-template-columns: 1fr; }

    .bot-list__item:hover { transform: none; }

    /* Links */
    .links-grid { grid-template-columns: 1fr; }

    .link-card:hover { transform: none; }

    /* Disclaimer */
    .disclaimer {
        flex-direction: column;
        gap: 12px;
        padding: 22px 20px;
    }

    /* Footer */
    .footer__inner { flex-direction: column; }
    .footer__note  { text-align: left; max-width: none; }
}
