@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --bg: #050915;
    --panel: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --text: #f5f7ff;
    --muted: rgba(245, 247, 255, 0.6);
    --primary: #5ad6ff;
    --primary-strong: #6c8bff;
    --gradient: linear-gradient(120deg, #5ad6ff, #6c8bff 50%, #9b6bff);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 32px clamp(22px, 4.5vw, 68px) 68px;
}

.bg-glow,
.bg-grid,
.bg-pulse {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    background: radial-gradient(circle at 25% 20%, rgba(90, 214, 255, 0.22), transparent 35%),
                radial-gradient(circle at 80% 10%, rgba(155, 107, 255, 0.2), transparent 40%),
                radial-gradient(circle at 70% 80%, rgba(108, 139, 255, 0.14), transparent 40%);
    filter: blur(40px);
}

.bg-grid {
    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(circle at center, rgba(0, 0, 0, 0.6), transparent 70%);
}

.bg-pulse {
    background: radial-gradient(circle at 60% 30%, rgba(90, 214, 255, 0.08), transparent 45%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
}

.brand-name {
    font-size: 18px;
}

.actions {
    display: flex;
    gap: 12px;
}

.btn {
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn.primary {
    background-image: var(--gradient);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.btn.ghost:hover {
    border-color: rgba(90, 214, 255, 0.5);
    color: #9ad7ff;
}

.btn.large {
    padding: 14px 20px;
    border-radius: 14px;
}

.hero {
    position: relative;
    z-index: 2;
    min-height: 70vh;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-top: 8px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(5, 9, 21, 0.92), rgba(5, 9, 21, 0.65));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
    padding: clamp(30px, 6vw, 64px);
}

.hero-left {
    max-width: 700px;
}

.hero-left h1 {
    margin: 18px 0 16px;
    font-size: clamp(40px, 4.6vw, 64px);
    line-height: 1.05;
}

.ghost-text {
    position: relative;
    display: inline-block;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.4px;
    background-image: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 12px rgba(90, 214, 255, 0.55));
}

.ghost-text::before,
.ghost-text::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: #5ad6ff;
    mix-blend-mode: screen;
    opacity: 0.45;
    filter: blur(8px);
    animation: ghostShift 6s ease-in-out infinite alternate;
}

.ghost-text::after {
    color: #9b6bff;
    filter: blur(10px);
    animation-direction: alternate-reverse;
}

@keyframes ghostShift {
    0% { transform: translate3d(-3px, -2px, 0); opacity: 0.45; }
    50% { transform: translate3d(3px, 4px, 0); opacity: 0.75; }
    100% { transform: translate3d(-2px, 2px, 0); opacity: 0.5; }
}

.text-anim {
    display: inline-block;
    backface-visibility: hidden;
}

.text-anim.flip {
    animation: flipIn 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    transform-origin: center bottom;
}

.text-anim.rise {
    animation: riseIn 0.9s ease-out 0.08s both;
}

.text-anim.fade {
    animation: fadeSlide 0.9s ease-out 0.16s both;
}

@keyframes flipIn {
    0% { opacity: 0; transform: perspective(800px) rotateX(90deg) translateY(18px); filter: blur(2px); }
    60% { opacity: 1; transform: perspective(800px) rotateX(-8deg) translateY(-4px); filter: blur(0); }
    100% { opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0); filter: blur(0); }
}

@keyframes riseIn {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.headline-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.headline-main {
    font-size: clamp(32px, 3.6vw, 50px);
    font-weight: 800;
}

.headline-sub {
    color: var(--muted);
    font-weight: 600;
    font-size: clamp(18px, 2.2vw, 24px);
}

.lede {
    color: var(--muted);
    max-width: 780px;
    line-height: 1.7;
    margin: 20px 0 28px;
    font-size: clamp(15px, 1.3vw, 18px);
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 26px;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.media-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    width: 100%;
    max-width: 760px;
}

.media-cover {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(160deg, #0c1b34, #112844, #171133);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    mix-blend-mode: screen;
}

.media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cde9ff;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 14px;
}

.section-title .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 8px rgba(90, 214, 255, 0.15);
}

.value {
    position: relative;
    z-index: 2;
    margin-top: clamp(32px, 5vw, 64px);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.value-card {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    backdrop-filter: blur(4px);
}

.value-card h4 {
    margin: 0 0 8px;
    color: var(--text);
    font-weight: 700;
}

.value-card p {
    margin: 0;
    line-height: 1.5;
}

.value-icon {
    font-size: 20px;
    margin-bottom: 10px;
}

.showcase {
    position: relative;
    z-index: 2;
    margin-top: clamp(40px, 6vw, 72px);
}

.showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.showcase-sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.showcase-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat.active,
.cat:hover {
    border-color: rgba(90, 214, 255, 0.45);
    color: #9ad7ff;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(90, 214, 255, 0.35);
}

.case-cover {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.gradient-1 {
    background: radial-gradient(circle at 20% 20%, rgba(90,214,255,0.6), transparent 35%), radial-gradient(circle at 80% 60%, rgba(155,107,255,0.5), transparent 40%), #0c1b34;
}
.gradient-2 {
    background: radial-gradient(circle at 30% 30%, rgba(255,199,109,0.55), transparent 35%), radial-gradient(circle at 70% 70%, rgba(90,214,255,0.45), transparent 35%), #0f1f2c;
}
.gradient-3 {
    background: radial-gradient(circle at 40% 20%, rgba(255,255,255,0.35), transparent 30%), radial-gradient(circle at 75% 70%, rgba(108,139,255,0.55), transparent 35%), #0d1230;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 14px;
    color: var(--muted);
    align-items: flex-start;
}

.case-title {
    margin: 0 0 4px;
    color: var(--text);
    font-weight: 700;
}

.case-desc {
    margin: 0;
    font-size: 13px;
}

.case-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8f4ff;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.case-card:hover .case-play {
    opacity: 1;
}

.case-tag {
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(90, 214, 255, 0.12);
    border: 1px solid rgba(90, 214, 255, 0.35);
    color: #aee8ff;
    font-size: 12px;
    white-space: nowrap;
}

.cta-final {
    position: relative;
    z-index: 2;
    margin-top: clamp(40px, 6vw, 72px);
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
}

.cta-card h3 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: clamp(20px, 2.6vw, 26px);
}

.cta-card p {
    margin: 0;
    color: var(--muted);
}

.footer {
    position: relative;
    z-index: 2;
    margin-top: clamp(40px, 6vw, 72px);
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.icp {
    color: #9ad7ff;
}

@media (max-width: 720px) {
    .page {
        padding: 20px 18px 32px;
    }
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .actions {
        width: 100%;
    }
    .btn {
        flex: 1;
    }
    .cover {
        height: 260px;
    }
}
