/* landing.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Top Bar (Logo + Navbar) */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  padding: 3vw 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.logo>.the-journal-logo {
    font-size: 2vw;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.logo >.the-journal-logo:hover {
    color: #10b981;
}

/* Navbar - Top Right */
.navbar {
    display: flex;
    gap: 2vw;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 1.3vw;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.navbar a:hover {
    opacity: 1;
    color: #10b981;
    transform: translateY(-2px);
}

/* Hero Section with Lighter Gradient */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image:
        linear-gradient(rgba(10, 10, 20, 0.45), rgba(15, 15, 25, 0.35)),
        url('/WhatsApp Image 2026-03-26 at 11.52.28 AM.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.40));
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    padding: 0 2.5vw;
}

.title {
    font-size: 4.8vw;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.6vw;
    letter-spacing: -0.11vw;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}

.subtitle {
    font-size: 1.55rem;
    font-weight: 400;
    margin-bottom: 3.2vw;
    opacity: 0.95;
    line-height: 1.45;
}

.get-started {
    display: flex;
    gap: 2vw;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.6vw 4vw;
    font-size: 1.6vw;
    font-weight: 600;
    border-radius: 2.5vw;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
}

/* Animation */
.title {
    animation: fadeInUp 1.3s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .top-bar {
        padding: 20px 25px;
        flex-direction: column;
        gap: 4vw;
        align-items: flex-start;
    }

    .navbar {
        gap: 2.5vw;
    }

    .navbar a {
        font-size: 2.7vw;
    }

    .title {
        font-size: 6vw;
    }

    .subtitle {
        font-size: 5vw;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 40vw;
    }
    .btn-primary{
        font-size: 3vw;
    }
        .the-journal-logo {
            font-size: 5vw !important;
        }
}

@media screen and (max-width:400px){
    .hero {
            position: relative;
            min-height: 100vh;
            width: 100%;
            background-image:
                linear-gradient(rgba(10, 10, 20, 0.021), rgba(15, 15, 25, 0.35)),
                url('/android.jpg') !important;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            overflow: hidden;
        }
    
        .top-bar {
            padding: 20px 25px;
            flex-direction: column;
    
            gap: 2vw;
            align-items: flex-start;
        }
    
        .the-journal-logo {
            font-size: 5vw !important;
        }
    
        .hero-content {
            margin-top: -30vw;
        }
    
        .navbar {
            gap: 1.8rem;
        }
    
        .navbar a {
            font-size: 4vw;
        }
}