:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --btn-bg: #ffffff;
    --btn-text: #000000;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    padding: 2rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: var(--glass-bg);
}

.btn.lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    min-height: calc(100vh - 150px);
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 450px;
    margin-bottom: 2.5rem;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-wrapper {
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    width: 380px;
    height: 780px;
    background: #111;
    border-radius: 50px;
    border: 12px solid #222;
    padding: 10px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.app-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.status-time {
    font-size: 0.8rem;
    font-weight: 700;
}

.app-logo {
    font-weight: 700;
    font-size: 1rem;
}

.gallery-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#flashing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.1s ease-in-out;
}

.pip-overlay {
    position: absolute;
    top: 80px;
    left: 20px;
    width: 100px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

#pip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Alert */
.floating-alert {
    position: absolute;
    top: -20px;
    right: -100px;
    background: #eeeeee;
    color: #000;
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 20;
    animation: float 4s ease-in-out infinite;
}

.alert-icon {
    color: #f7b955;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }
    .hero-content h1 {
        font-size: 4rem;
    }
    .features {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .description {
        margin-left: auto;
        margin-right: auto;
    }
    .floating-alert {
        right: 0;
        top: -40px;
    }
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
