:root {
    --bg-color: #121212;
    --text-primary: #FFFFFF;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-blue: #A2D2FF;
    --accent-violet: #7C4DFF;
    --accent-teal: #33A852;
}

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

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

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

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

.text-center { text-align: center; }

/* Navbar */
.navbar {
    height: 70px;
    padding-top: 10px; 
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}
/*
.navbar {
    height: 60px;
    margin-top: 10px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 10px;
    z-index: 100;
    border: 1px solid var(--glass-border);
    border-radius: 16px; 
    margin-left: 2rem;
    margin-right: 2rem;
}*/

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo { height: 32px; }

.brand-name {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Hero */
.hero {
    padding: 8rem 0 4rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 77, 255, 0.5);
}

/* Feature Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

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

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

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

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

/* Hero Section Layout Fix */
.hero {
    padding: 6rem 0 2rem; /* Reduced top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-group {
    margin-bottom: 4rem; /* Creates a "safety buffer" above the mockup */
    position: relative;
    z-index: 10; /* Ensures buttons stay clickable and on top */
}

/* Mockup Scaling Fix */
.hero-mockup {
    width: 100%;
    max-width: 600px; /* Limits the overall width of the mockup area */
    margin: 0 auto;
    perspective: 1000px;
}

.mockup-card {
    height: 400px; /* Fixed height for the "phone" frame */
    width: 280px; /* Proportional phone width */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px; /* More like a phone shape */
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the screenshot fills the glass card */
    border-radius: 32px; /* Matches the inner curve of the mockup-card */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.mockup-card {
    padding: 10px; /* Acts as the "bezel" of the phone */
    background: #000; /* Makes the bezel look like an iPhone frame */
    border: 2px solid var(--glass-border);
    width: 400px;
    height: 870px;
}

/* App Icon Scaling */
.inner-logo {
    width: 120px; /* Scaled down from the previous massive size */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(124, 77, 255, 0.3)); /* Adds back the glass glow */
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .mockup-card {
        width: 220px;
        height: 320px;
    }
    .inner-logo {
        width: 80px;
    }
}