/* ===== CSS Variables ===== */
:root {
    --primary: #FE018E;
    --primary-light: #FF4DB2;
    --primary-dark: #C7006F;
    --primary-glow: rgba(254, 1, 142, 0.25);
    --bg-light: #FFFFFF;
    --bg-subtle: #F8F9FC;
    --surface: rgba(254, 1, 142, 0.04);
    --surface-hover: rgba(254, 1, 142, 0.08);
    --text-primary: #1A1A2E;
    --text-secondary: rgba(26, 26, 46, 0.7);
    --text-muted: rgba(26, 26, 46, 0.45);
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, #FF6B35 100%);
    --gradient-2: linear-gradient(135deg, #7B2FFF 0%, var(--primary) 100%);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Animated Background ===== */
.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-subtle) 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #7B2FFF 0%, var(--primary) 100%);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary) 0%, #FF6B35 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(254, 1, 142, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 1, 142, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* ===== Container ===== */
.container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
    position: relative;
}

/* ===== Logo Section ===== */
.logo-section {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 
        0 0 0 3px rgba(254, 1, 142, 0.2),
        0 20px 60px rgba(254, 1, 142, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.1);
    animation: logoFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.logo-glow {
    position: absolute;
    inset: -20px;
    background: var(--primary);
    border-radius: 40px;
    filter: blur(40px);
    opacity: 0.5;
    z-index: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.letter {
    display: inline-block;
    animation: letterBounce 0.6s ease-out calc(var(--delay) * 0.1s) both;
}

@keyframes letterBounce {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }
    60% {
        transform: translateY(10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 0.5s both;
}

/* ===== Description ===== */
.description {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.description p:first-child {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.sub-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===== App Store Buttons ===== */
.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 280px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.5rem;
    background: #FFFFFF;
    border: 1px solid rgba(26, 26, 46, 0.1);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.store-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 
        0 10px 40px rgba(254, 1, 142, 0.25),
        0 0 0 1px var(--primary);
}

.store-btn:hover::before {
    opacity: 0.08;
}

.store-btn:active {
    transform: translateY(-1px);
}

.store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.store-text {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.store-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.store-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ===== Social Section ===== */
.social-section {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.social-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid rgba(26, 26, 46, 0.1);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.social-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.social-btn.facebook:hover {
    background: linear-gradient(135deg, #1877F2 0%, #0D5BC4 100%);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
    color: #FFFFFF;
}

.social-btn.instagram:hover {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    box-shadow: 0 10px 30px rgba(221, 42, 123, 0.4);
    color: #FFFFFF;
}

.social-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--text-primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== Footer ===== */
.footer {
    margin-top: auto;
    padding-top: 2rem;
    animation: fadeIn 1s ease-out 0.9s both;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Tablet & Desktop Enhancements ===== */
@media (min-width: 480px) {
    .logo {
        width: 140px;
        height: 140px;
        border-radius: 32px;
    }

    .brand-name {
        font-size: 6rem;
    }

    .description p:first-child {
        font-size: 2rem;
    }

    .app-buttons {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }

    .store-btn {
        min-width: 200px;
    }
}

@media (min-width: 768px) {
    .container {
        gap: 2.5rem;
        padding: 3rem 2rem;
    }

    .logo {
        width: 160px;
        height: 160px;
        border-radius: 36px;
    }

    .brand-name {
        font-size: 7rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .description p:first-child {
        font-size: 2.25rem;
    }

    .sub-desc {
        font-size: 1.1rem;
    }

    .store-btn {
        padding: 1rem 2rem;
    }

    .social-btn {
        width: 64px;
        height: 64px;
    }

    .social-btn svg {
        width: 28px;
        height: 28px;
    }

    .orb-1 {
        width: 500px;
        height: 500px;
    }

    .orb-2 {
        width: 600px;
        height: 600px;
    }

    .orb-3 {
        width: 400px;
        height: 400px;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: var(--text-primary);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-subtle);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

