/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    padding: 16px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(3, 69, 36);
    text-decoration: none;
}

.nav-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: rgb(3, 69, 36);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    min-height: calc(100vh - 61px); /* account for navbar height */
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.btn-primary {
    background: rgb(3, 69, 36);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: rgb(21, 128, 61);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 69, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: rgb(3, 69, 36);
    border: 2px solid rgb(3, 69, 36);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgb(3, 69, 36);
    color: white;
    transform: translateY(-2px);
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-screen {
    width: 300px;
    height: 600px;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Billboard-style Screenshot Slideshow */
.screenshot-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.2s ease-in-out;
    filter: brightness(0.95);
}

.app-screenshot.active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
}

.app-screenshot.next {
    opacity: 0;
    transform: scale(1.05);
    z-index: 2;
}

.app-screenshot.entering {
    animation: smoothFadeIn 1.2s ease-in-out forwards;
}

.app-screenshot.exiting {
    animation: smoothFadeOut 1.2s ease-in-out forwards;
}

@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
        filter: brightness(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes smoothFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
        filter: brightness(0.9);
    }
}

.slideshow-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgb(3, 69, 36);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

.dot.active::before {
    width: 100%;
    height: 100%;
}

.app-header {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    margin-bottom: 10px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.tab {
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.tab.active {
    background: rgba(3, 69, 36, 0.15);
    color: rgb(3, 69, 36);
}

.article-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 10px;
}

.article-image {
    height: 150px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    position: relative;
}

.article-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgb(3, 69, 36);
    border-radius: 50%;
    opacity: 0.1;
}

.article-content {
    padding: 15px;
}

.article-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.article-content p {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #9ca3af;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(3, 69, 36), rgb(21, 128, 61));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Quality Section */
.quality {
    padding: 80px 0;
    background: #f9fafb;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.quality-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f3f4f6;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quality-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(3, 69, 36), rgb(21, 128, 61));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.quality-icon i {
    font-size: 2rem;
    color: white;
}

.quality-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.quality-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgb(3, 69, 36);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, rgb(3, 69, 36) 0%, rgb(21, 128, 61) 100%);
    color: white;
}

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

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact .btn-primary {
    background: white;
    color: rgb(3, 69, 36);
}

.contact .btn-primary:hover {
    background: #f3f4f6;
    color: rgb(3, 69, 36);
}

.contact .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.contact .btn-secondary:hover {
    background: white;
    color: rgb(3, 69, 36);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    margin-right: 0.5rem;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .quality-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
    }

    .phone-screen {
        width: 250px;
        height: 500px;
    }
}

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

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

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

/* Support and Subpages */
main.container {
    padding-top: 120px;
    padding-bottom: 60px;
}

main.container h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

main.container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

main.container h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

main.container p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

main.container ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

main.container li {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

main.container a {
    color: rgb(3, 69, 36);
    text-decoration: none;
    font-weight: 500;
}

main.container a:hover {
    text-decoration: underline;
}

/* Make the navbar menu more compact on subpages */
.nav-menu {
    gap: 1.5rem;
}

.nav-menu a {
    font-size: 0.95rem;
} 