/* =============================================
   VEXLO STUDIO — HOMEPAGE STYLESHEET
   Dark premium design system
   ============================================= */

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #09090f;
    --bg-alt: #0e0e18;
    --surface: #13131f;
    --surface-2: #1a1a2e;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text: #f0f0f5;
    --text-2: #a0a0b8;
    --text-3: #5a5a70;

    --purple: #6C5CE7;
    --purple-l: #A29BFE;
    --blue: #00D2FF;
    --green: #00E676;
    --gold: #FFD700;

    --grad: linear-gradient(135deg, var(--purple), var(--blue));

    --radius: 16px;
    --radius-lg: 24px;
    --max-w: 1080px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

/* ── Gradient text utility ── */
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   NAV
   ============================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.35s ease;
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(9, 9, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad);
    font-size: 16px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
}

.logo-icon-sm {
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 8px;
}

.logo-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--text);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(108, 92, 231, 0.15) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 80%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--purple-l);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Particles ── */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--purple-l);
    opacity: 0;
    animation: floatParticle 6s ease-in-out infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    25% {
        opacity: 0.4;
    }

    75% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
        transform: translateY(-80px);
    }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--grad);
    color: white;
    box-shadow: 0 6px 24px rgba(108, 92, 231, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(108, 92, 231, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    background: var(--surface);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 100px 32px;
}

.section-alt {
    background: var(--bg-alt);
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.section-alt>* {
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.section-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--purple-l);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 48px;
}

/* =============================================
   APP CARDS
   ============================================= */
.apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 8px;
}

.app-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    /* fade-in animation */
    opacity: 0;
    transform: translateY(24px);
}

.app-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.app-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(108, 92, 231, 0.08);
}

.app-card.visible:hover {
    transform: translateY(-4px);
}

.app-card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.app-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    position: relative;
}

.app-icon svg {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.app-icon-soon {
    opacity: 0.5;
}

.app-info {
    flex: 1;
}

.app-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.app-name-muted {
    color: var(--text-3);
}

.app-desc {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 16px;
}

.app-desc-muted {
    color: var(--text-3);
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--purple-l);
    border: 1px solid rgba(108, 92, 231, 0.15);
}

.tag-muted {
    background: var(--surface-2);
    color: var(--text-3);
    border-color: var(--border);
}

.app-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-link {
    font-size: 13px;
    color: var(--text-3);
    transition: color 0.2s;
}

.app-link:hover {
    color: var(--text-2);
}

.separator {
    color: var(--text-3);
    font-size: 12px;
}

.app-badge {
    position: absolute;
    top: 28px;
    right: 28px;
}

.badge-live {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--green);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(0, 230, 118, 0.2);
    background: rgba(0, 230, 118, 0.08);
}

.app-card-soon {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.04);
}

.app-card-soon:hover {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* =============================================
   ABOUT GRID
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    /* fade-in */
    opacity: 0;
    transform: translateY(24px);
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-card:nth-child(2).visible {
    transition-delay: 0.08s;
}

.about-card:nth-child(3).visible {
    transition-delay: 0.16s;
}

.about-card:nth-child(4).visible {
    transition-delay: 0.24s;
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.about-card.visible:hover {
    transform: translateY(-2px);
}

.about-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.about-card h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-card {
    max-width: 480px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    /* fade-in */
    opacity: 0;
    transform: translateY(24px);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--purple-l);
    transition: color 0.2s;
}

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 32px;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-name {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-3);
}

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

.footer-links a {
    font-size: 13px;
    color: var(--text-3);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-2);
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: 90vh;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section {
        padding: 70px 24px;
    }

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

    .app-card-inner {
        flex-direction: column;
        gap: 16px;
    }

    .app-badge {
        top: 20px;
        right: 20px;
    }

    .contact-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}