:root {
    --bg-color: #0a0a0c;
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --accent-color: #d7b210;
    --accent-glow: rgba(215, 178, 16, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .brand-name, .app-number {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo, .footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600 !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.contact-pill {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 6px 6px 6px 16px;
    gap: 12px;
    transition: all 0.3s ease;
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.email-link {
    color: var(--text-primary) !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.email-link:hover {
    color: #ffe066 !important;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #ffe066;
    color: #000;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    overflow: hidden;
}

/* Global Glow Background */
.global-bg-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10,10,12,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.7;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #ffe066, #d7b210);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

.scroll-indicator p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Showcase Section */
.showcase-section {
    height: 800vh; /* Increased to slow down scroll animation */
    position: relative;
}

.showcase-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
}

.showcase-right {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.showcase-left {
    flex: 1.2;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px 0 0 40px;
    overflow: hidden;
}

.zoom-layer {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform-origin: center center;
}

.apps-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 900px;
}

.app-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 0 40px;
    opacity: 0;
    visibility: hidden;
}

.app-info {
    flex: 1;
    max-width: 500px;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.app-info h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.app-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.store-buttons {
    display: flex;
    gap: 16px;
}

.store-btn {
    display: block;
    height: 44px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.store-btn img {
    height: 100%;
}

.app-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}

.phone-frame {
    width: 260px;
    height: 530px;
    flex-shrink: 0;
    border-radius: 36px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 4px #1a1a1e;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.phone-frame:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.app-mockup {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.portfolio-overlay.active {
    opacity: 1;
    visibility: visible;
}
.overlay-close {
    position: absolute;
    top: 30px; right: 40px;
    font-size: 4rem;
    line-height: 1;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}
.overlay-close:hover {
    color: var(--accent-color);
}
.portfolio-overlay h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #ffffff, #a0a0ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.overlay-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    padding: 0 20px;
}
.app-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    width: 200px;
}
.app-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.app-card img {
    width: 80px; height: 80px; border-radius: 20px; margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
.app-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 40px 24px;
    border-top: 1px solid var(--glass-border);
    background: #0a0a0c;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .showcase-sticky {
        flex-direction: column;
    }
    
    .showcase-right {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.3;
        z-index: 0;
    }
    
    .showcase-left {
        flex: 1;
        width: 100%;
        z-index: 1;
    }

    .app-slide {
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        text-align: center;
    }

    .app-info {
        max-width: 100%;
        padding: 24px;
        background: transparent;
        border: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .app-info p {
        margin-bottom: 24px;
    }

    .store-buttons {
        justify-content: center;
    }

    .app-visual {
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
        height: 490px;
        transform: none;
    }
    
    .phone-frame:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .app-info h2 {
        font-size: 2rem;
    }
    
    .brand-name {
        display: none;
    }

    .navbar.hidden-mobile-modal {
        display: none !important;
    }

    .showcase-section {
        height: 400vh;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
