/* --- Global Reset & Variable Tokens --- */
:root {
    --bg-dark: #090b11;
    --bg-card: #121622;
    --accent-blue: #2369f6;
    --accent-glow: rgba(35, 105, 246, 0.4);
    --text-main: #ffffff;
    --text-muted: #8e9aa8;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-stack);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- UI Buttons & Typography --- */
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.6; font-size: 1.1rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 105, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.btn-large { padding: 1.2rem 2.5rem; font-size: 1.2rem; margin-top: 1rem; }

.badge {
    display: inline-block;
    background: rgba(35, 105, 246, 0.15);
    color: #4a8bfb;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 11, 17, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 100px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text p { margin-bottom: 2.5rem; max-width: 540px; }
.hero-cta { display: flex; gap: 1rem; }

.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 100%;
    max-width: 320px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-frame:hover {
    transform: scale(1.03) translateY(-5px);
}

.glow-effect {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--accent-glow);
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* --- Features Grid Section --- */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(18, 22, 34, 0.6) 50%, var(--bg-dark) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(35, 105, 246, 0.3);
}

.icon-wrapper {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 { margin-bottom: 1rem; }

/* --- App Gallery Showcase --- */
.showcase { padding: 100px 0; }
.showcase-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 120px;
}

.showcase-row.reverse { flex-direction: row-reverse; }
.showcase-text { flex: 1; }
.showcase-text h2 { margin-bottom: 1.5rem; }
.showcase-text p { margin-bottom: 2rem; }

.feature-bullets {
    list-style: none;
    padding: 0;
}

.feature-bullets li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.feature-bullets i {
    color: var(--accent-blue);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.showcase-images {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.gallery-img {
    width: 45%;
    max-width: 260px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

/* --- Footer Area --- */
.footer {
    padding: 120px 0 40px 0;
    background: radial-gradient(circle at top, rgba(35, 105, 246, 0.1) 0%, var(--bg-dark) 70%);
    text-align: center;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.footer h2 { margin-bottom: 1rem; }
.footer p { margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.footer-bottom {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.footer-bottom p { font-size: 0.9rem; color: rgba(255,255,255,0.3); }

/* --- Responsive Adjustments --- */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text p { margin: 0 auto 2.5rem auto; }
    .hero-cta { justify-content: center; }
    .showcase-row, .showcase-row.reverse { flex-direction: column; text-align: center; gap: 3rem; }
    .gallery-img { max-width: 220px; }
    h1 { font-size: 2.8rem; }
}