:root {
    --primary-color: hsl(214, 34%, 41%);
    --bg-dark: hsl(0, 0%, 0%);
    --card-bg: hsl(0, 0%, 4%);
    --navy-bg: hsl(220, 46%, 18%);
    --text-white: hsl(0, 0%, 100%);
    --text-grey: hsl(215, 16%, 63%);
    --border-color: hsl(204, 10%, 20%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 45px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-grey);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-white);
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

/* Button styles update for contrast */
.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 0 20px rgba(52, 82, 140, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.3) 80%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text h1 {
    font-size: 4rem; /* Slightly larger again since it's centered alone */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-white); /* Changed to white for max contrast */
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer alignment fix */
footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.footer-logo-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-logo {
    height: 35px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
}

.footer-logo-side p {
    color: var(--text-grey);
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-links-side {
    display: flex;
    justify-content: flex-end;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-grey);
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-white);
}

.highlight {
    color: var(--primary-color);
}

.hero-btns img {
    height: 48px;
    transition: var(--transition);
}

.hero-btns a:hover img {
    transform: translateY(-5px);
    filter: brightness(1.2);
}

.hero-image-container {
    position: relative;
}

.phone-mockup {
    background: var(--navy-bg);
    padding: 12px;
    border-radius: 45px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 50px rgba(248,142,85,0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.app-preview {
    width: 100%;
    border-radius: 35px;
    display: block;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: #050505;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text-content p {
    color: var(--text-grey);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 3rem 1.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-card p {
    color: var(--text-grey);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features */
.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-grey);
    font-size: 1.3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3.5rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-12px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    color: var(--text-white);
}

.feature-icon-box svg {
    height: 60px;
    width: 60px;
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-grey);
    font-size: 1rem;
}

/* Download Section */
.download-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--navy-bg));
    margin-top: 4rem;
    border-radius: 60px 60px 0 0;
}

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

.download-content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.download-content p {
    font-size: 1.4rem;
    color: var(--text-grey);
    margin-bottom: 4rem;
}

.download-btns {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.download-btns img {
    height: 60px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-text h1 { font-size: 2.8rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero-content, .about-grid { 
        display: block;
        text-align: center; 
    }
    .hero-text p { margin: 0 auto 3rem; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo-box { justify-content: center; }
    .footer-links-side { justify-content: center; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    nav { 
        flex-direction: row; 
        height: 80px; 
        padding: 0;
        justify-content: space-between;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links { 
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero { padding-top: 140px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1.1rem; }

    .section-header h2 { font-size: 2.2rem; }
    .about-grid { gap: 3rem; }
    .about-stats { grid-template-columns: 1fr; }
    
    .feature-grid { grid-template-columns: 1fr; }
    
    .download-content h2 { font-size: 2.2rem; }
    .download-btns { flex-direction: column; align-items: center; gap: 1.5rem; }
    
    .footer-links { 
        flex-direction: column; 
        gap: 1.5rem; 
        align-items: center;
    }
}
