/* --- 1. COLOR & FONT VARIABLES --- */
:root {
    --color-primary: #10B981; /* Emerald Green */
    --color-secondary: #1F2937; /* Dark Gray - Body/Card Background */
    --color-accent: #FDE047; /* Bright Yellow */
    --color-text-light: #E5E7EB; /* Light text */
    --color-text-dim: #9CA3AF; /* Gray text */
    --color-darker-shadow: #059669; /* Darker green for button shadow */
    --font-inter: 'Inter', sans-serif;
}

/* --- 2. BASE STYLES --- */
body {
    font-family: var(--font-inter);
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- 3. LAYOUT CONTAINERS --- */
.main-container {
    max-width: 896px; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    padding: 1rem; /* p-4 */
    padding-bottom: 4rem; /* pb-16 */
}

/* Tablet/Desktop adjustments */
@media (min-width: 768px) {
    .main-container {
        padding: 2rem; /* md:p-8 */
    }
}

/* --- 4. CALL TO ACTION (CTA) STYLES --- */
.cta-button {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    font-weight: 700; /* font-bold */
    border-radius: 0.75rem; /* rounded-xl */
    letter-spacing: 0.05em; /* tracking-wider */
    box-shadow: 0 4px 0 0 var(--color-darker-shadow); /* Retro-style button aesthetics */
}

.cta-button:hover {
    background-color: var(--color-darker-shadow);
    box-shadow: 0 2px 0 0 var(--color-darker-shadow);
    transform: translateY(2px);
}

/* Sticky Bar for Mobile */
.cta-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem; /* p-3 */
    background-color: #1F2937; /* bg-gray-800 */
    z-index: 50;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4); /* shadow-2xl */
}

.cta-mobile-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* w-full */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1.125rem; /* text-lg */
}

/* Hide sticky bar on tablet/desktop */
@media (min-width: 768px) {
    .cta-mobile-bar {
        display: none;
    }
}

/* --- 5. COMPONENT STYLES --- */
.section-separator {
    background-color: var(--color-accent);
    height: 4px;
    width: 80px;
    margin: 2rem auto;
    border-radius: 9999px; /* full rounded */
}

.hero-header {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.app-name {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em; /* tracking-tight */
}

.app-subtitle {
    font-size: 1rem; /* text-base */
    font-weight: 400; /* font-normal */
    color: var(--color-text-dim);
    display: block;
    margin-top: 0.25rem;
}

.headline {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 900; /* font-black */
    margin-bottom: 1rem;
    line-height: 1.25; /* leading-tight */
}

@media (min-width: 640px) {
    .headline {
        font-size: 3rem; /* sm:text-5xl */
    }
}

.subheadline-text {
    font-size: 1.25rem; /* text-xl */
    color: var(--color-text-dim);
    margin-bottom: 2rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-img {
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* shadow-2xl */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    max-width: 100%;
    display: block;
    transition: all 0.3s ease;
}

.screenshot-img:hover {
    transform: scale(1.01);
}

/* Features Section */
.features-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.feature-card {
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #374151; /* border border-gray-700 */
    background-color: #1F2937; /* bg-gray-800 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
}

.feature-icon-container {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    background-color: rgba(253, 224, 71, 0.15); /* feature-icon-bg */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem; /* text-xl */
    color: #FACC15; /* text-yellow-300 */
}

.feature-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.5rem;
    color: #4ADE80; /* text-emerald-400 */
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem; /* space-y-5 simulated */
    font-size: 1.125rem; /* text-lg */
    color: var(--color-text-dim);
}

.check-mark {
    color: #4ADE80; /* text-emerald-400 */
    font-weight: 700; /* font-bold */
    margin-right: 0.75rem;
    font-size: 1.25rem; /* text-xl */
    line-height: 1;
}

.secondary-visual {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.2); /* shadow-xl */
    border: 4px solid #374151; /* border-4 border-gray-700 */
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .feature-layout {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
    .feature-layout > div {
        width: 50%;
    }
    .secondary-visual {
        margin-top: 0;
    }
}

/* Social Proof/Testimonial Section */
.proof-section {
    padding: 1.5rem; /* p-6 */
    background-color: #1F2937; /* bg-gray-800 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.4); /* shadow-inner */
    padding: 2.5rem; /* py-10 */
}

.testimonial-box {
    background-color: #374151; /* bg-gray-700 */
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* shadow-md */
    border-left: 4px solid #4ADE80; /* border-l-4 border-emerald-400 */
}

/* Final CTA */
.final-cta-section {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.final-cta-button {
    padding-left: 4rem; /* px-16 */
    padding-right: 4rem;
    padding-top: 1.25rem; /* py-5 */
    padding-bottom: 1.25rem;
    font-size: 1.5rem; /* text-2xl */
    letter-spacing: 0.1em; /* tracking-widest */
}

.final-cta-button:hover {
    transform: scale(1.05);
}
/* --- 6. FOOTER STYLES --- */
footer {
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid #374151; /* Darker border */
    background-color: var(--color-footer-bg); /* Very dark background */
    font-size: 0.875rem; /* text-sm */
    color: #6B7280; /* text-gray-400 */
    margin-top: 2rem;
}

.legal-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    line-height: 1.4;
}
