:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #888888;
    --border-color: #333333;
    --card-bg: #111111;
    --accent-hover: #ffffff;
    --accent-hover-text: #000000;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 1rem 4rem;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(5,5,5,1) 60%);
    z-index: -1;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: 2px solid var(--text-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-color);
}

/* Apps Section */
.apps-header {
    margin-bottom: 3rem;
}

.app-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.app-info {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.app-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.app-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.feature-tag {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
}

.app-gallery {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.app-gallery::before,
.app-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.app-gallery::before {
    left: 0;
    background: linear-gradient(to right, var(--card-bg), transparent);
}

.app-gallery::after {
    right: 0;
    background: linear-gradient(to left, var(--card-bg), transparent);
}

.gallery-track {
    display: flex;
    gap: 2rem;
    animation: scrollGallery 30s linear infinite;
    padding: 0 2rem;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-img {
    height: 300px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.05);
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

/* Contact Section */
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.contact-card:hover {
    border-color: var(--text-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.05);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.email-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.email-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.email-text p {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-card:hover .email-text p {
    color: var(--text-color);
}

.copy-feedback {
    position: absolute;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4CAF50;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-card.copied .copy-feedback {
    opacity: 1;
    transform: translateY(0);
}

.contact-card.copied .card-content {
    transform: translateY(-10px);
}

.contact-card.copied .email-icon {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer .logo {
    margin-bottom: 1rem;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .app-info {
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }
    
    .section {
        padding: 6rem 2rem;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 1.5rem 2rem;
    }
    .header.scrolled {
        padding: 1rem 2rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .nav {
        display: none;
    }
    .gallery-img {
        height: 250px;
    }
    .app-gallery {
        height: 350px;
    }
    .contact-card {
        padding: 2rem 1.5rem;
    }
    .copy-feedback {
        position: absolute;
        bottom: 1rem;
        transform: translateY(10px);
        margin-top: 0;
    }
}
