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

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --primary-color: #379237; /* Pantrii Green */
    --primary-dark: #2e3d2f; /* Dark Green Text */
    --primary-light: #E8F5E8; /* Light Green Background */
    --background: #e7e0ef; /* Signature Lavender Background */
    --text-color: #2e3d2f;
    --text-secondary: #4A4A4A;
    --text-muted: #666666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    overflow: visible;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    display: block;
    position: relative;
    top: 0;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

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

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

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

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mascot {
    width: 200px;
    height: auto;
    position: absolute;
    top: -50px;
    left: -50px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.phone-mockup {
    position: relative;
    z-index: 1;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-screenshot {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

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

.phone-mockup-small {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.phone-frame-small {
    width: 200px;
    height: 400px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.phone-screen-small {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
}

.phone-screen-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.screenshot-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 20px;
}

.feature-icon-mascot {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(55, 146, 55, 0.3);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.step p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.download-mascot {
    width: 150px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.download .section-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(55, 146, 55, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 146, 55, 0.4);
    background: var(--primary-dark);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Download section button - white with green hover */
.download .btn {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.download .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(55, 146, 55, 0.4);
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
    opacity: 1;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Legal Pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.legal-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.last-updated {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 700;
}

.legal-section h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.legal-section p,
.legal-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.warning-box {
    background: #ffebee;
    border-left: 4px solid #d32f2f;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.warning-box p {
    color: #d32f2f;
    font-weight: 600;
    margin: 0;
}

.contact-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-section h2 {
    margin-top: 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-mascot {
        position: static;
        margin-bottom: 2rem;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar .container {
        padding: 1rem 16px;
    }

    .nav-brand .logo {
        height: 50px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .nav-links li {
        margin: 0;
    }

    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .hero-mascot {
        width: 120px;
        margin-bottom: 1rem;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .phone-frame-small {
        width: 150px;
        height: 300px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .features-grid,
    .steps,
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .step-card,
    .screenshot-card {
        padding: 1.5rem;
    }

    .feature-card h3,
    .step-card h3 {
        font-size: 1.25rem;
    }

    .download {
        padding: 3rem 0;
    }

    .download-content {
        padding: 0 1rem;
    }

    .download-mascot {
        width: 100px;
        margin-bottom: 1.5rem;
    }

    .download-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

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

    .footer-logo {
        margin: 0 auto 1rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}

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

    .section-title {
        font-size: 1.5rem;
    }

    .nav-links {
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .hero-mascot,
    .download-mascot {
        width: 80px;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
    }

    .phone-frame-small {
        width: 120px;
        height: 240px;
    }
}
