@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;700;800;900&display=swap');

:root {
    --primary: #4f7cff;
    --primary-strong: #3d68f0;
    --primary-soft: rgba(79, 124, 255, 0.12);
    --primary-glow: rgba(79, 124, 255, 0.28);
    --secondary: #58d5ff;
    --accent: #8b7dff;
    --accent-soft: rgba(139, 125, 255, 0.14);
    --success: #21c8a7;
    --bg: #eaf4ff;
    --bg-deep: #dcecff;
    --bg-soft: #f8fbff;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --surface-solid: #ffffff;
    --surface-highlight: rgba(255, 255, 255, 0.98);
    --border: rgba(90, 122, 182, 0.16);
    --border-strong: rgba(79, 124, 255, 0.22);
    --text: #173057;
    --text-strong: #102442;
    --text-muted: rgba(23, 48, 87, 0.72);
    --shadow-card: 0 22px 55px rgba(57, 88, 145, 0.13);
    --shadow-soft: 0 12px 30px rgba(57, 88, 145, 0.1);
    --shadow-glow: 0 0 48px rgba(88, 213, 255, 0.22);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --primary-color: var(--primary);
    --text-secondary: var(--text-muted);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(88, 213, 255, 0.35), transparent 34%),
        radial-gradient(circle at 82% 16%, rgba(139, 125, 255, 0.22), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #edf5ff 32%, #e7f2ff 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, black 52%, transparent 90%);
    opacity: 0.38;
}

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

#particle-canvas,
.bg-blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

#particle-canvas {
    z-index: 0;
}

.bg-blobs {
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.42;
    animation: blobDrift 18s infinite alternate ease-in-out;
}

.blob-1 {
    width: 520px;
    height: 520px;
    top: -120px;
    left: -110px;
    background: radial-gradient(circle, rgba(88, 213, 255, 0.88) 0%, rgba(79, 124, 255, 0.18) 70%, transparent 100%);
}

.blob-2 {
    width: 580px;
    height: 580px;
    right: -180px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(139, 125, 255, 0.3) 0%, rgba(88, 213, 255, 0.45) 48%, transparent 100%);
    animation-delay: -5s;
}

.blob-3 {
    width: 380px;
    height: 380px;
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(88, 213, 255, 0.12) 62%, transparent 100%);
    animation-delay: -2s;
}

@keyframes blobDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(22px, 38px, 0) scale(1.08); }
    100% { transform: translate3d(-26px, 20px, 0) scale(0.94); }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 34px rgba(41, 78, 136, 0.09);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo,
.navbar .logo {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text-strong);
}

.logo span,
.navbar .logo span,
.footer-logo span,
.hero h1 span,
.legal-hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 52%, var(--accent) 100%);
    background-size: 180% 180%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-links a,
.footer-links a,
.legal-inline-link {
    position: relative;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 999px;
}

.nav-links a::after,
.footer-links a::after,
.legal-inline-link::after,
.back-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.28s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.legal-inline-link:hover,
.back-link:hover {
    color: var(--text-strong);
}

.nav-links a:hover::after,
.footer-links a:hover::after,
.legal-inline-link:hover::after,
.back-link:hover::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    z-index: 1;
    padding: 158px 0 106px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 30px 0 0;
    z-index: -1;
    width: min(1060px, calc(100% - 44px));
    margin: 0 auto;
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.38));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 28px 80px rgba(62, 93, 153, 0.12);
}

.hero-content {
    position: relative;
    display: grid;
    gap: 24px;
    justify-items: center;
}

.hero-decor {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    pointer-events: none;
    transition: transform 0.35s ease-out;
}

.hero-orb-left {
    top: -18px;
    right: 8%;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(88, 213, 255, 0.95) 0%, rgba(88, 213, 255, 0.16) 68%, transparent 100%);
    box-shadow: 0 0 40px rgba(88, 213, 255, 0.28);
    animation: floaty 8s ease-in-out infinite;
}

.hero-orb-right {
    left: 9%;
    bottom: 92px;
    width: 138px;
    height: 138px;
    background: radial-gradient(circle, rgba(139, 125, 255, 0.72) 0%, rgba(139, 125, 255, 0.12) 72%, transparent 100%);
    animation: floaty 10s ease-in-out infinite reverse;
}

.hero-ring {
    top: 58px;
    left: 16%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(79, 124, 255, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.35);
    animation: spinSlow 16s linear infinite;
}

.hero-badge,
.section-chip,
.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(79, 124, 255, 0.14);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(64, 95, 152, 0.08);
    color: var(--primary-strong);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: fadeDown 0.85s ease both;
}

.hero-badge .dot,
.section-chip .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 12px rgba(88, 213, 255, 0.42);
    animation: pulse 2s infinite;
}

.hero h1,
.legal-hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(3.8rem, 8vw, 6.8rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.06em;
    color: var(--text-strong);
    animation: fadeDown 0.95s ease 0.08s both;
}

.hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    min-height: 2em;
    animation: fadeDown 1s ease 0.18s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    animation: fadeDown 1.05s ease 0.24s both;
}

.hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 6px;
    animation: fadeUp 1.1s ease 0.3s both;
}

.hero-stat {
    position: relative;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    text-align: right;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    inset: auto -30px -40px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 213, 255, 0.22), transparent 72%);
}

.hero-stat strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-strong);
}

.hero-stat span {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.84rem;
    animation: fadeDown 1.2s ease 0.35s both;
}

.scroll-line {
    width: 2px;
    height: 62px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(79, 124, 255, 0), rgba(79, 124, 255, 0.88), rgba(88, 213, 255, 0));
    animation: scrollLine 2.6s ease-in-out infinite;
}

.section-chip {
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.35rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-strong);
}

.section-subtitle {
    margin: 14px auto 64px;
    max-width: 680px;
    font-size: 1.08rem;
    color: var(--text-muted);
}

.apps-section,
.legal-page {
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    opacity: 0;
    transform: translateY(38px);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.app-card.revealed {
    animation: cardReveal 0.85s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.app-card:nth-child(1).revealed { animation-delay: 0.04s; }
.app-card:nth-child(2).revealed { animation-delay: 0.18s; }

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(79, 124, 255, 0.55), rgba(88, 213, 255, 0.38), rgba(139, 125, 255, 0.42));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.app-card::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: calc(var(--radius-xl) - 12px);
    background: linear-gradient(135deg, rgba(88, 213, 255, 0.08), transparent 42%, rgba(139, 125, 255, 0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.app-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.app-card:hover::before,
.app-card:hover::after {
    opacity: 1;
}

.app-image-container {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.95), transparent 45%),
        linear-gradient(145deg, #eff7ff 0%, #e7f0ff 50%, #f7fbff 100%);
}

.app-image-container::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 213, 255, 0.18), transparent 68%);
    top: 16px;
    left: 20px;
}

.app-image-container::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
}

.app-image-container.tripease-bg {
    background:
        radial-gradient(circle at 30% 20%, rgba(139, 125, 255, 0.14), transparent 32%),
        radial-gradient(circle at 72% 12%, rgba(88, 213, 255, 0.18), transparent 28%),
        linear-gradient(145deg, #f2f7ff 0%, #e9f6ff 48%, #f8fbff 100%);
}

.app-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(40, 72, 128, 0.18);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.app-card:hover .app-image {
    transform: scale(1.06) translateY(-5px);
    box-shadow: 0 26px 54px rgba(40, 72, 128, 0.22);
}

.app-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--primary-strong);
    border: 1px solid rgba(79, 124, 255, 0.12);
    box-shadow: 0 12px 30px rgba(57, 88, 145, 0.11);
    font-size: 0.78rem;
    font-weight: 800;
}

.app-badge::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), var(--secondary));
    box-shadow: 0 0 10px rgba(33, 200, 167, 0.32);
}

.app-badge.soon {
    color: #7c5bf3;
}

.app-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 34px 34px 36px;
}

.app-content h2 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-strong);
}

.app-content p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(79, 124, 255, 0.12), rgba(88, 213, 255, 0.08));
    border: 1px solid rgba(79, 124, 255, 0.12);
    color: var(--primary-strong);
    font-size: 0.8rem;
    font-weight: 700;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.btn,
.legal-nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn {
    padding: 15px 28px;
    font-size: 1rem;
}

.btn::before,
.legal-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.5) 48%, transparent 75%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
}

.btn:hover::before,
.legal-nav-btn:hover::before {
    transform: translateX(120%);
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #6498ff 35%, var(--secondary) 100%);
    box-shadow: 0 18px 34px rgba(79, 124, 255, 0.26);
}

.primary-btn:hover,
.legal-nav-btn.active {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(79, 124, 255, 0.3);
}

.secondary-btn,
.ghost-btn,
.legal-nav-btn {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(79, 124, 255, 0.14);
    box-shadow: 0 10px 24px rgba(57, 88, 145, 0.08);
}

.secondary-btn:hover,
.ghost-btn:hover,
.legal-nav-btn:hover,
.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(57, 88, 145, 0.12);
}

.ghost-btn {
    padding: 15px 24px;
}

.disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.disabled:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(57, 88, 145, 0.08);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.24s ease;
}

.legal-links a:hover {
    color: var(--primary-strong);
}

.scroll-animate {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.legal-hero {
    padding: 126px 0 34px;
}

.legal-hero::before {
    inset: 18px 0 0;
}

.legal-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.legal-hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.4rem);
}

.legal-hero p,
.legal-subtitle,
.subtitle,
.legal-content .subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.back-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(79, 124, 255, 0.14);
    box-shadow: 0 12px 26px rgba(57, 88, 145, 0.09);
    color: var(--primary-strong);
    font-weight: 800;
    text-decoration: none;
}

.legal-page {
    padding-bottom: 86px;
}

.legal-content {
    position: relative;
    padding: 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.legal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(88, 213, 255, 0.12), transparent 22%),
        radial-gradient(circle at 100% 0, rgba(139, 125, 255, 0.12), transparent 24%);
}

.legal-content > * {
    position: relative;
    z-index: 1;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(79, 124, 255, 0.1);
}

.legal-nav-btn {
    padding: 11px 20px;
    font-size: 0.9rem;
}

.legal-nav-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent;
    pointer-events: none;
    cursor: default;
}

.legal-content h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.legal-part,
.legal-section,
.contact-box {
    position: relative;
    padding: 24px 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(79, 124, 255, 0.08);
    box-shadow: 0 12px 28px rgba(57, 88, 145, 0.06);
    animation: fadeUp 0.8s ease both;
}

.legal-part + .legal-part,
.legal-part + .legal-section,
.legal-section + .legal-section,
.legal-section + .legal-part {
    margin-top: 18px;
}

.legal-part h2,
.legal-section h2,
.legal-section h3,
.contact-box h2 {
    margin-bottom: 12px;
    padding-right: 14px;
    border-right: 4px solid rgba(79, 124, 255, 0.72);
    color: var(--text-strong);
    line-height: 1.35;
}

.legal-section p,
.legal-part p,
.legal-content p,
.legal-content li {
    color: var(--text-muted);
}

.legal-content strong {
    color: var(--text-strong);
}

.legal-content ul {
    margin: 0;
    padding-right: 22px;
}

.legal-content li {
    margin-bottom: 8px;
}

.contact-box {
    margin-top: 20px;
    background: linear-gradient(180deg, rgba(88, 213, 255, 0.12), rgba(255, 255, 255, 0.9));
}

footer {
    position: relative;
    z-index: 1;
    padding: 58px 0 42px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(57, 88, 145, 0.08);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-strong);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.92rem;
    text-align: center;
}

.footer-heart {
    display: inline-block;
    color: #ff7aa2;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.78); }
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 180% 50%; }
}

@keyframes scrollLine {
    0% { opacity: 0; transform: translateY(-12px) scaleY(0.3); }
    40% { opacity: 1; transform: translateY(0) scaleY(1); }
    100% { opacity: 0; transform: translateY(16px) scaleY(0.55); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floaty {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -14px, 0); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.18); }
    38% { transform: scale(1); }
    54% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

@media (max-width: 900px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero::before,
    .legal-hero::before {
        width: min(100%, calc(100% - 28px));
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100%, calc(100% - 26px));
    }

    .navbar-content {
        flex-direction: column;
    }

    .hero {
        padding: 142px 0 82px;
    }

    .hero::before {
        border-radius: 28px;
    }

    .hero-content {
        gap: 20px;
    }

    .hero-orb-left,
    .hero-orb-right,
    .hero-ring {
        opacity: 0.55;
        transform: scale(0.78);
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn,
    .ghost-btn,
    .legal-nav-btn,
    .back-link {
        width: 100%;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-image-container {
        height: 280px;
        padding: 24px;
    }

    .app-content,
    .legal-content {
        padding: 24px 20px 26px;
    }

    .legal-part,
    .legal-section,
    .contact-box,
    .hero-stat {
        padding: 20px;
    }

    .footer-inner {
        padding: 22px 18px;
    }
}

@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;
    }

    .hero-content,
    .app-card,
    .scroll-animate,
    .legal-part,
    .legal-section,
    .contact-box {
        transform: none !important;
    }
}
