/* VARIABLES */
:root {
    --color-bg: #0b0d10;
    --color-card-bg: rgba(20, 23, 29, 0.6);
    --color-accent: #46c375;
    --color-accent-hover: #3ba462;
    --color-text-primary: #ffffff;
    --color-text-secondary: #8899a6;
    --color-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

.accent {
    color: var(--color-accent);
}

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

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #0b0d10;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #0b0d10;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(70, 195, 117, 0.4);
}

.btn-small {
    padding: 8px 18px;
    font-size: 14px;
}

.store-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.store-buttons.center {
    justify-content: center;
}

.store-btn {
    display: block;
    height: 40px;
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
}

.store-btn img {
    height: 100%;
    width: auto;
}

/* HEADER */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 13, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
}

/* HERO SECTION */
.hero {
    padding: 120px 0 60px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-container.centered {
    justify-content: center;
    text-align: center;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content.centered-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 140px;
    max-width: 50%;
    margin-bottom: 25px;
    border-radius: 25px; /* Rounded corners proportional to new size */
    border: 3px solid rgba(255, 255, 255, 0.15); /* Light line border */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6); /* Strong shadow */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-content.centered-content .hero-buttons {
    justify-content: center;
}

.store-badge img:hover {
    transform: scale(1.05) !important;
}

/* APP SCREENSHOTS */
.app-screenshot {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    border-radius: 40px; /* Optional, softens edges if the image itself isn't perfectly cut */
}

/* SCREEN PLACEHOLDERS (Glassmorphism UI inspired by app) */
.screen-placeholder {
    width: 100%;
    height: 100%;
    padding: 60px 15px 20px;
    background: #0b0d10;
    display: flex;
    flex-direction: column;
}

.placeholder-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

.placeholder-sub {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.placeholder-header {
    font-size: 20px;
    margin-bottom: 15px;
}

.placeholder-header.center {
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
}

.fake-card, .fake-news-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.fake-card h3 {
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

.fake-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
    width: 100%;
}

.fake-line.w-70 { width: 70%; }
.fake-line.bold { height: 12px; width: 90%; background: rgba(255,255,255,0.2); }
.fake-line.date { width: 40%; height: 6px; background: rgba(70, 195, 117, 0.5); }

.fake-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.circle-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.flex-1 { flex: 1; }

.fake-radar {
    width: 120px;
    height: 120px;
    margin: 20px auto;
    border: 1px solid rgba(70, 195, 117, 0.3);
    border-radius: 50%;
    position: relative;
    background: rgba(70, 195, 117, 0.1);
}

.fake-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fake-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.fake-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 60%;
    background: var(--color-accent);
}

.fake-bar:nth-child(2)::after { width: 45%; background: #ffaa00; }
.fake-bar:nth-child(3)::after { width: 75%; background: #ff4d4d; }


/* FEATURE SECTIONS */
.feature-section {
    padding: 100px 0;
}

.feature-section.alt {
    background-color: #0f1216;
}

.feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.feature-container.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    max-width: 500px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.feature-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* ADDING SUBTLE TILT EFFECT TO MOCKUPS */
.feature-section:nth-child(even) .smartphone-frame {
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.feature-section:nth-child(even):hover .smartphone-frame {
    transform: rotateY(0deg) rotateX(0deg);
}

.feature-section:nth-child(odd) .smartphone-frame {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.feature-section:nth-child(odd):hover .smartphone-frame {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero .smartphone-frame {
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero:hover .smartphone-frame {
    transform: rotateY(-5deg) rotateX(2deg);
}

/* CTA SECTION */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(11, 13, 16, 1) 0%, rgba(70, 195, 117, 0.15) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.cta-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* FOOTER */
.footer {
    padding: 60px 0 20px;
    background-color: #06070a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-tagline {
    color: var(--color-text-secondary);
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

/* ANIMATIONS (Scroll Reveal) */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-container, .feature-container, .feature-container.reverse {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .store-buttons {
        justify-content: center;
    }

    .smartphone-frame {
        transform: none !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .smartphone-frame {
        width: 280px;
        height: 570px;
    }
    
    .nav-links .nav-link {
        display: none;
    }
}
