/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #0A66C2;
    --primary-blue-hover: #084e96;
    --light-blue: #E8F3FF;
    --white: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --bg-color: #FAFCFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(10, 102, 194, 0.05);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Blobs for Visual Interest */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #E8F3FF, transparent);
}

.blob-2 {
    top: 20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #D1E8FF, transparent);
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #F0F7FF, transparent);
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h1 span {
    color: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue), #4596e6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

p.lead {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.75rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(10, 102, 194, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 102, 194, 0.4);
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    z-index: 10;
}

/* Play Store Badge Custom */
.play-badge {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.play-badge:hover {
    transform: translateY(-3px);
}

.play-badge .icon {
    font-size: 2rem;
}

.play-badge .text {
    display: flex;
    flex-direction: column;
}

.play-badge .small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-badge .large {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Phone Mockup - CSS Based */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.phone-wrapper {
    position: relative;
    width: 320px;
    height: 650px;
    background: var(--white);
    border-radius: 40px;
    border: 12px solid #0F172A;
    box-shadow: 0 30px 60px rgba(10, 102, 194, 0.2);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-visual:hover .phone-wrapper {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #0F172A;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 20;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-blue) 30%, #f4f4f4 30%, #f4f4f4 100%);
    padding: 2rem 1.5rem;
    position: relative;
}

.app-header {
    color: white;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.app-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
}

.app-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.app-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.app-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.app-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Floating Elements around phone */
.float-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 30;
    animation: float 4s ease-in-out infinite alternate;
}

.fc-1 {
    top: 20%;
    left: -50px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 30%;
    right: -60px;
    animation-delay: 1s;
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 102, 194, 0.08);
    border-color: var(--light-blue);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--primary-blue);
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
    font-size: 1.2rem;
}

.btn-white {
    background: white;
    color: var(--primary-blue);
}

.btn-white:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive Enhancements */
@media (max-width: 900px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 1rem;
    }

    p.lead {
        margin-inline: auto;
    }

    .menu-toggle {
        display: block;
    }

    #main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 0;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /* Start hidden */
        transition: clip-path 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
    }

    #main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links a {
        display: block;
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .float-card {
        transform: scale(0.7);
    }

    .fc-1 {
        left: -20px;
    }

    .fc-2 {
        right: -20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .phone-wrapper {
        width: 280px;
        height: 570px;
    }

    .float-card {
        display: none;
        /* hide floating cards on very small screens to avoid clutter */
    }
}