:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --bg-color: #FAFAFA;
    --surface: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── Navbar ───────────────────────────────────────────────────────────── */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #EC4899);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.btn-primary-small {
    background: var(--text-main);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.95rem;
}

.btn-primary-small:hover {
    background: var(--primary);
}

/* ── Hero Section ─────────────────────────────────────────────────────── */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.badge {
    display: inline-block;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease backwards;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(to right, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 0.8s ease 0.1s backwards;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease 0.2s backwards;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: slideUp 0.8s ease 0.3s backwards;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-main);
    color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--border);
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: var(--border);
}

.stats {
    display: flex;
    gap: 3rem;
    animation: slideUp 0.8s ease 0.4s backwards;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Hero Visual (Phone Mockup) ───────────────────────────────────────── */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: fadeIn 1.2s ease backwards;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 45px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25), 0 0 0 12px #ffffff, 0 0 0 13px #e2e8f0;
    overflow: hidden;
    z-index: 2;
    transform: rotate(-5deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.05);
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: #111;
}

.wallpaper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.app-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.glass-dock {
    margin: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.dock-item {
    font-size: 1.2rem;
    opacity: 0.6;
}

.dock-item.active {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
}

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #4F46E5;
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #EC4899;
    bottom: 50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

/* ── Features Section ─────────────────────────────────────────────────── */
.features {
    padding: 6rem 5%;
    background: white;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: var(--bg-color);
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
    background: #0F172A;
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #475569;
    padding-top: 2rem;
    border-top: 1px solid #1E293B;
}

/* ── Animations ───────────────────────────────────────────────────────── */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    
    .hero h1 { font-size: 3.5rem; }
    
    .cta-group, .stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 4rem;
    }
    
    .phone-mockup {
        transform: rotate(0deg);
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .cta-group { flex-direction: column; }
    .nav-links { display: none; }
}
