:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --secondary-text: #a1a1aa;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --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-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    right: 2rem;
    z-index: 1000;
    height: 4.5rem;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo img {
    height: 2.5rem;
    border-radius: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

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

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('hero-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    padding-top: 5rem;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30vh;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    height: 500px;
}

.device-stagger {
    position: relative;
    width: 100%;
    height: 100%;
}

.device {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-center {
    width: 240px;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-center 6s ease-in-out infinite;
}

.iphone-left {
    width: 210px;
    z-index: 2;
    top: 55%;
    left: 30%;
    transform: translate(-50%, -50%) rotate(-8deg);
    animation: float-side 7s ease-in-out infinite;
}

.iphone-right {
    width: 210px;
    z-index: 2;
    top: 55%;
    left: 70%;
    transform: translate(-50%, -50%) rotate(8deg);
    animation: float-side 7.5s ease-in-out infinite;
}

.device:hover {
    z-index: 10;
    transform: translate(-50%, -55%) rotate(0deg) scale(1.1);
    box-shadow: 0 40px 80px rgba(59, 130, 246, 0.3);
}

@keyframes float-center {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -55%);
    }
}

@keyframes float-side {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(var(--rot, -8deg));
    }

    50% {
        transform: translate(-50%, -53%) rotate(var(--rot, -8deg));
    }
}

.iphone-left {
    --rot: -8deg;
}

.iphone-right {
    --rot: 8deg;
}

/* Showcase Section */
#showcase {
    padding: 4rem 0;
}

.showcase-grid {
    display: flex;
    justify-content: center;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.showcase-item:hover img {
    transform: scale(1.02);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    text-align: left;
}

.showcase-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.showcase-overlay p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* Showcase Carousel */
.screenshot-carousel {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshot-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 280px;
    height: 580px;
    scroll-snap-align: center;
    overflow: hidden;
    border-radius: 30px;
    padding: 10px;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Features */
#features {
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary-text);
}

/* Privacy Page */
.subpage {
    padding-top: 8rem;
}

.page-content {
    max-width: 800px !important;
    padding: 4rem 0;
}

.card {
    padding: 3rem;
}

.updated {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-text);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}