/* GençApp Landing Page Styles */

/* Hide scrollbar utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(15, 5, 1, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(to right, #5FA7E4, #a8b1c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient border */
.gradient-border {
    position: relative;
    background: linear-gradient(to right, #6366f1, #a855f7, #ec4899);
    padding: 2px;
    border-radius: 9999px;
}

.gradient-border-inner {
    background: #0f0501;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
}

/* Phone mockup styles */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #27272a;
    box-shadow:
        0 0 0 2px #18181b,
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(139, 92, 246, 0.15);
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #18181b;
    border-radius: 12px;
    z-index: 30;
}

.phone-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
}

.phone-screen.active {
    opacity: 1;
    z-index: 10;
}

.phone-screen.inactive {
    opacity: 0;
    z-index: 0;
}

/* Placeholder screen styles */
.screen-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.screen-events {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
}

.screen-favorites {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a855f7 100%);
}

.screen-notifications {
    background: linear-gradient(135deg, #831843 0%, #be185d 50%, #ec4899 100%);
}

/* Blob animation */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: blob-float 8s ease-in-out infinite;
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Feature section item */
.feature-item {
    min-height: 100vh;
    display: flex;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.5s ease-in-out;
}

.feature-item.active {
    opacity: 1;
}

/* CTA button hover effects */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Footer phone fan layout */
.phone-fan {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 400px;
    margin-top: 4rem;
}

.phone-fan .phone-mockup {
    position: absolute;
    bottom: -100px;
}

.phone-fan .phone-left {
    transform: rotate(-12deg) translateX(-120px);
    opacity: 0.6;
    z-index: 10;
}

.phone-fan .phone-center {
    z-index: 20;
}

.phone-fan .phone-right {
    transform: rotate(12deg) translateX(120px);
    opacity: 0.6;
    z-index: 10;
}

/* Responsive phone mockup */
@media (max-width: 768px) {
    .phone-mockup {
        width: 220px;
        height: 460px;
        border-radius: 32px;
        border-width: 6px;
    }

    .phone-mockup::before {
        width: 60px;
        height: 20px;
        top: 8px;
    }

    .phone-fan {
        height: 300px;
    }

    .phone-fan .phone-left {
        transform: rotate(-12deg) translateX(-80px);
    }

    .phone-fan .phone-right {
        transform: rotate(12deg) translateX(80px);
    }

    .phone-fan .phone-mockup {
        bottom: -80px;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 180px;
        height: 380px;
        border-radius: 28px;
        border-width: 5px;
    }

    .phone-fan .phone-left,
    .phone-fan .phone-right {
        display: none;
    }
}

/* Sticky section for desktop */
@media (min-width: 768px) {
    .sticky-phone-container {
        position: sticky;
        top: 50%;
        transform: translateY(-50%);
        height: fit-content;
    }
}

/* App icon glow effect */
.app-icon-glow {
    box-shadow:
        0 0 60px rgba(168, 85, 247, 0.4),
        0 0 100px rgba(236, 72, 153, 0.2);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(15, 5, 1, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Link hover animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #a855f7, #ec4899);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Store button styles */
.store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.store-button-dark {
    background: #18181b;
    border: 1px solid #27272a;
}

.store-button-dark:hover {
    background: #27272a;
    border-color: #3f3f46;
    transform: translateY(-2px);
}

.store-button-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
}

.store-button-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.3);
}
