@font-face {
    font-display: swap;
    font-family: 'ByteBounce';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ByteBounce.ttf') format('truetype');
}
@font-face {
    font-display: swap;
    font-family: 'Benbow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/BenbowBold.ttf') format('truetype');
}
@font-face {
    font-display: swap;
    font-family: 'Benbow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/BenbowRegular.ttf') format('truetype');
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg-primary: #0a0e17;
    --bg-secondary: #0d1119;
    --bg-card: rgba(20, 26, 40, 0.5);
    --bg-glass: rgba(15, 20, 35, 0.6);
    --text-primary: #e8ecf4;
    --text-secondary: #8b95a8;
    --text-muted: #5a6478;
    --accent: #2d7af6;
    --accent-hover: #4a8ef8;
    --accent-glow: rgba(45, 122, 246, 0.15);
    --accent-green: #22c997;
    --border: rgba(255, 255, 255, 0.07);
    --border-glass: rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-family: 'Benbow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

::selection {
    background: rgba(45, 122, 246, 0.3);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== ANIMATED BACKGROUND ===== */

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.05) 50%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.05) 50%, transparent 65%);
    animation: grid-fade 4s ease-out forwards;
}

@keyframes grid-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.bg-orb--1 {
    width: 700px;
    height: 700px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(45, 122, 246, 0.25) 0%, rgba(45, 122, 246, 0.15) 15%, rgba(45, 122, 246, 0.07) 35%, rgba(45, 122, 246, 0.02) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-1 16s ease-in-out infinite;
}

.bg-orb--2 {
    width: 600px;
    height: 600px;
    bottom: 10%;
    left: -12%;
    background: radial-gradient(circle, rgba(34, 201, 151, 0.2) 0%, rgba(34, 201, 151, 0.12) 15%, rgba(34, 201, 151, 0.05) 35%, rgba(34, 201, 151, 0.015) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-2 20s ease-in-out infinite;
}

.bg-orb--3 {
    width: 500px;
    height: 500px;
    top: 35%;
    right: 15%;
    background: radial-gradient(circle, rgba(100, 80, 240, 0.18) 0%, rgba(100, 80, 240, 0.1) 15%, rgba(100, 80, 240, 0.04) 35%, rgba(100, 80, 240, 0.01) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-3 14s ease-in-out infinite;
}

.bg-orb--4 {
    width: 450px;
    height: 450px;
    top: 55%;
    left: 25%;
    background: radial-gradient(circle, rgba(45, 122, 246, 0.15) 0%, rgba(40, 160, 200, 0.09) 15%, rgba(34, 201, 151, 0.04) 35%, rgba(34, 201, 151, 0.01) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-4 18s ease-in-out infinite;
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-60px, 50px) scale(1.15); }
    50% { transform: translate(-30px, -40px) scale(0.9); }
    75% { transform: translate(50px, 20px) scale(1.08); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -40px) scale(1.1); }
    50% { transform: translate(20px, 60px) scale(0.92); }
    75% { transform: translate(-40px, 25px) scale(1.12); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, -50px) scale(1.2); }
    66% { transform: translate(40px, 35px) scale(0.85); }
}

@keyframes orb-float-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(35px, -55px) scale(1.1); }
    66% { transform: translate(-45px, 40px) scale(0.9); }
}

.bg-aurora {
    position: absolute;
    top: -30%;
    left: -40%;
    width: 180%;
    height: 80vh;
    background: linear-gradient(
        115deg,
        transparent 10%,
        rgba(45, 122, 246, 0.02) 20%,
        rgba(45, 122, 246, 0.06) 30%,
        rgba(34, 201, 151, 0.08) 42%,
        rgba(100, 80, 240, 0.06) 54%,
        rgba(45, 122, 246, 0.05) 65%,
        rgba(45, 122, 246, 0.02) 75%,
        transparent 85%
    );
    filter: blur(30px);
    animation: aurora-sweep 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes aurora-sweep {
    0% { transform: translateX(-15%) skewX(-8deg) scaleY(1); }
    100% { transform: translateX(15%) skewX(8deg) scaleY(1.2); }
}

/* ===== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 122, 246, 0.3), rgba(34, 201, 151, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.75);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.header.scrolled::after {
    opacity: 1;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    font-family: ByteBounce, sans-serif;
    position: relative;
}

.logo span {
    color: var(--accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-link {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.header-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.header-link:hover {
    color: var(--text-primary);
}

.header-link:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(45, 122, 246, 0.15);
    border: 1px solid rgba(45, 122, 246, 0.3);
    border-radius: 100px;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.header-cta svg {
    width: 14px;
    height: 14px;
}

.header-cta:hover {
    background: rgba(45, 122, 246, 0.25);
    border-color: rgba(45, 122, 246, 0.5);
    box-shadow: 0 0 20px rgba(45, 122, 246, 0.15);
}

/* ===== HERO ===== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Hero visual / illustration */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(45, 122, 246, 0.12) 0%, rgba(34, 201, 151, 0.06) 40%, transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    pointer-events: none;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.hero-svg-node {
    animation: node-pulse 3s ease-in-out infinite;
}

.hero-svg-node--1 { animation-delay: 0s; }
.hero-svg-node--2 { animation-delay: 0.4s; }
.hero-svg-node--3 { animation-delay: 0.8s; }
.hero-svg-node--4 { animation-delay: 0.2s; }
.hero-svg-node--5 { animation-delay: 1s; }
.hero-svg-node--6 { animation-delay: 0.6s; }
.hero-svg-node--7 { animation-delay: 1.2s; }
.hero-svg-node--8 { animation-delay: 0.3s; }

@keyframes node-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-svg-lines line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: line-draw 2s ease forwards;
}

.hero-svg-lines line:nth-child(1) { animation-delay: 0.1s; }
.hero-svg-lines line:nth-child(2) { animation-delay: 0.2s; }
.hero-svg-lines line:nth-child(3) { animation-delay: 0.3s; }
.hero-svg-lines line:nth-child(4) { animation-delay: 0.4s; }
.hero-svg-lines line:nth-child(5) { animation-delay: 0.5s; }
.hero-svg-lines line:nth-child(6) { animation-delay: 0.6s; }
.hero-svg-lines line:nth-child(7) { animation-delay: 0.7s; }
.hero-svg-lines line:nth-child(8) { animation-delay: 0.8s; }
.hero-svg-lines line:nth-child(9) { animation-delay: 0.9s; }
.hero-svg-lines line:nth-child(10) { animation-delay: 1.0s; }
.hero-svg-lines line:nth-child(11) { animation-delay: 1.1s; }

@keyframes line-draw {
    to { stroke-dashoffset: 0; }
}

.hero-svg-hex {
    animation: hex-fade 3s ease-in-out infinite alternate;
}

.hero-svg-hex:nth-child(1) { animation-delay: 0s; }
.hero-svg-hex:nth-child(2) { animation-delay: 0.5s; }
.hero-svg-hex:nth-child(3) { animation-delay: 1s; }

@keyframes hex-fade {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Liquid glass badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-glass);
    background: rgba(20, 26, 40, 0.4);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green), 0 0 20px rgba(34, 201, 151, 0.3);
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 8px var(--accent-green), 0 0 20px rgba(34, 201, 151, 0.3); }
    50% { box-shadow: 0 0 12px var(--accent-green), 0 0 30px rgba(34, 201, 151, 0.5); }
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #5b9cf7 40%, var(--accent-green) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 44px;
}

.hero-text + .hero-text {
    margin-top: -20px;
}

/* Glow button */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, #1a6ae0 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-green));
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 122, 246, 0.35), 0 0 60px rgba(45, 122, 246, 0.15);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ===== STATS / TRUST ===== */

.trust {
    padding: 120px 0 140px;
    position: relative;
    z-index: 1;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 122, 246, 0.3) 50%, transparent 100%);
}

.trust-header {
    margin-bottom: 56px;
}

.trust-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}

.trust-heading {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Liquid glass cards */
.trust-card {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 32px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.trust-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 20px 20px 0 0;
}

.trust-card-accent--blue {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.trust-card-accent--green {
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
}

.trust-card-accent--purple {
    background: linear-gradient(90deg, transparent, #6450f0, transparent);
}

.trust-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.trust-card:hover {
    border-color: rgba(45, 122, 246, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 40px rgba(45, 122, 246, 0.08);
}

.trust-card:nth-child(2):hover {
    border-color: rgba(34, 201, 151, 0.25);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 40px rgba(34, 201, 151, 0.08);
}

.trust-card:nth-child(3):hover {
    border-color: rgba(100, 80, 240, 0.25);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 40px rgba(100, 80, 240, 0.08);
}

.trust-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-card-icon svg {
    width: 24px;
    height: 24px;
}

.trust-card:nth-child(1) .trust-card-icon {
    background: rgba(45, 122, 246, 0.1);
    color: var(--accent);
    box-shadow: 0 0 24px rgba(45, 122, 246, 0.12);
}

.trust-card:nth-child(2) .trust-card-icon {
    background: rgba(34, 201, 151, 0.1);
    color: var(--accent-green);
    box-shadow: 0 0 24px rgba(34, 201, 151, 0.12);
}

.trust-card:nth-child(3) .trust-card-icon {
    background: rgba(100, 80, 240, 0.1);
    color: #8b7cf7;
    box-shadow: 0 0 24px rgba(100, 80, 240, 0.12);
}

.trust-card-number {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.trust-card:nth-child(1) .trust-card-number {
    color: var(--accent);
}

.trust-card:nth-child(2) .trust-card-number {
    color: var(--accent-green);
}

.trust-card:nth-child(3) .trust-card-number {
    color: #8b7cf7;
}

.trust-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */

.footer {
    background: var(--bg-secondary);
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(45, 122, 246, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.footer-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}

.footer-heading {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(15, 20, 35, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-card:hover {
    background: rgba(20, 26, 40, 0.7);
    border-color: rgba(45, 122, 246, 0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(45, 122, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.footer-contact-icon--tg {
    background: rgba(34, 201, 151, 0.1);
}

.footer-contact-icon--tg svg {
    color: var(--accent-green);
}

.footer-contact-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.footer-contact-value {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-contact-card:hover .footer-contact-value {
    color: var(--text-primary);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-legal-card {
    padding: 24px;
    background: rgba(15, 20, 35, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
}

.footer-legal-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-legal-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: -0.02em;
    font-family: ByteBounce, sans-serif;
}

.footer-bottom-logo span {
    color: var(--accent);
    opacity: 0.5;
}

/* ===== TELEGRAM WIDGET — Liquid Glass ===== */

.tg-widget {
    position: fixed;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    right: calc(28px + env(safe-area-inset-right, 0px));
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(45, 122, 246, 0.85);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    color: #fff;
    text-decoration: none;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(45, 122, 246, 0.3),
        0 0 60px rgba(45, 122, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tg-widget:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(45, 122, 246, 0.4),
        0 0 80px rgba(45, 122, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(74, 142, 248, 0.9);
}

.tg-widget svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tg-widget-text {
    white-space: nowrap;
}

/* ===== ANIMATIONS ===== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for cards */
.trust-card.fade-up:nth-child(1) { transition-delay: 0s; }
.trust-card.fade-up:nth-child(2) { transition-delay: 0.12s; }
.trust-card.fade-up:nth-child(3) { transition-delay: 0.24s; }

/* ===== NOISE TEXTURE OVERLAY ===== */

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-text {
        font-size: 16px;
    }

    .trust {
        padding: 64px 0 80px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-card {
        padding: 28px 24px;
    }

    .header-link {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .tg-widget-text {
        display: none;
    }

    .tg-widget {
        padding: 16px;
        border-radius: 50%;
    }

    .bg-orb {
        filter: blur(60px);
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .trust-heading {
        font-size: 24px;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .trust-card-number {
        font-size: 32px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .bg-animation,
    .noise-overlay {
        display: none;
    }
}

/* Print styles */
@media print {
    .bg-animation,
    .noise-overlay,
    .tg-widget,
    .header,
    .hero-visual,
    .btn-primary {
        display: none !important;
    }

    body {
        background: #fff;
        color: #111;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero h1 .highlight {
        -webkit-text-fill-color: #111;
        color: #111;
    }

    .trust-card {
        background: #f5f5f5;
        border: 1px solid #ddd;
        backdrop-filter: none;
    }

    .trust-card-number {
        color: #111 !important;
    }

    .footer {
        background: #f9f9f9;
    }

    .footer-contact-card {
        background: #fff;
        border: 1px solid #ddd;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    a[href^="tel"]::after,
    a[href^="mailto"]::after {
        content: none;
    }
}
