:root {
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #ec4899;
    --background: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-purple: #818cf8;
}

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

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

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

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-blue);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-blue), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* App Mockup Animation */
.hero-visual {
    position: relative;
}

.app-mockup {
    width: 320px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #27272a;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    transition: transform 0.1s ease-out;
}

.style-wipe {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 15px #fff, 0 0 30px var(--accent-blue);
    z-index: 20;
    animation: wipe 4s infinite ease-in-out;
}

.mockup-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mockup-content.original {
    background-image: url('graffiti-before.png');
    z-index: 5;
}

.mockup-content.stylized {
    background-image: url('graffiti-after.png');
    z-index: 10;
    clip-path: inset(0 0 0 0); /* Initial state */
    animation: clip-reveal 4s infinite ease-in-out;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.style-tag {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes wipe {
    0%, 100% { left: 0%; opacity: 0; }
    5%, 95% { opacity: 1; }
    50% { left: 100%; }
}

@keyframes clip-reveal {
    0%, 100% { clip-path: inset(0 100% 0 0); }
    50% { clip-path: inset(0 0% 0 0); }
}

/* Features & App Grid */
.features {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(var(--accent), 0.1);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    opacity: 0.5;
}

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

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.app-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn-app {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: rgba(255,255,255,0.05);
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.app-card:hover .btn-app {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* About */
.about {
    padding: 100px 0;
    background: rgba(30, 41, 59, 0.5);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 800px;
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

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

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

/* Privacy Page Specific */
.policy-content {
    padding: 150px 0 100px;
}

.policy-content h1 {
    margin-bottom: 3rem;
}

.policy-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.policy-content p, .policy-content ul {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.policy-content ul {
    padding-left: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero p {
        margin: 0 auto 2.5rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 3rem;
    }
}
