:root {
    /* Ultra-Premium Palette - Deep Space & Neon */
    --bg-dark: #050511;
    --bg-surface: #0a0a1f;

    --primary: #6366f1;
    /* Indigo 500 */
    --primary-glow: rgba(99, 102, 241, 0.4);

    --secondary: #ec4899;
    /* Pink 500 */
    --secondary-glow: rgba(236, 72, 153, 0.4);

    --accent: #06b6d4;
    /* Cyan 500 */
    --accent-glow: rgba(6, 182, 212, 0.4);

    --text-main: #ffffff;
    --text-muted: #94a3b8;
    /* Slate 400 */

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-surface: rgba(255, 255, 255, 0.03);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    /* Mesh Gradient Background */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15), transparent 25%);
}

/* Subtle Noise Texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(5, 5, 17, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--text-main);
}

.btn-download {
    background: var(--text-main);
    color: var(--bg-dark) !important;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    background: linear-gradient(to bottom right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

/* Realistic Phone Mockup (CSS Only) */
.hero-image {
    display: flex;
    justify-content: center;
    perspective: 2000px;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 50px;
    position: relative;
    /* Titanium Frame Look */
    box-shadow:
        0 0 0 2px #333,
        0 0 0 4px #1a1a1a,
        0 50px 100px -20px rgba(0, 0, 0, 0.8);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease-out;
    animation: hoverFloat 6s ease-in-out infinite;
}

.phone-mockup:hover {
    transform: rotateY(-5deg) rotateX(5deg) scale(1.02);
}

.phone-notch {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.screen-content {
    width: 100%;
    height: 100%;
    border-radius: 46px;
    overflow: hidden;
    position: relative;
    background: #121212;
    /* Inner bezel reflection */
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes hoverFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(-15deg) rotateX(10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-12deg) rotateX(8deg);
    }
}

/* Features Grid */
.features {
    padding: 120px 0;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 80px;
    color: var(--text-main);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 60px 0 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-image {
        margin-top: 60px;
    }
}