:root {
    --primary-color: #004B23;
    --primary-dark: #003314;
    --primary-light: #006633;
    --accent-color: #FFD700;
    --text-color: #333;
    --white: #ffffff;
    --grey-100: #f8f9fa;
    --grey-200: #e9ecef;
    --grey-300: #dee2e6;
    
    /* Gradients */
    --gradient-start: var(--primary-color);
    --gradient-end: var(--primary-dark);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

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

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--grey-200);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--accent-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-icon {
    margin: 0 auto 2rem;
    width: 120px;
    height: 120px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 0.5rem;
    border: 2px solid var(--accent-color);
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.app-store-btn, .play-store-btn {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 48px;
}

.app-store-btn {
    width: 160px;
}

.play-store-btn {
    width: 200px; /* Wider to accommodate the Play Store badge's aspect ratio */
}

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

.app-store-btn img, .play-store-btn img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--grey-100), var(--white));
    opacity: 0.8;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
}

.features h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--grey-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Screenshots Section */
.screenshots {
    padding: 4rem 2rem;
    background: var(--white);
    position: relative;
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, var(--grey-100), var(--white));
    opacity: 0.5;
    z-index: 0;
}

.screenshots h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
}

.screenshots h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.screenshot-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.screenshot-group {
    margin-bottom: 0;
}

.screenshot-group h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0.5rem;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 75, 35, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.carousel-button:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Download Section */
.download {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    position: relative;
    border-top: 1px solid var(--grey-200);
}

.download::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--grey-100), var(--white));
    opacity: 0.8;
}

.download h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    position: relative;
}

.download h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.download p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.download .app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.download .app-buttons a {
    display: inline-block;
    transition: transform 0.3s ease;
    background: transparent;
    padding: 0;
    height: 40px;
    width: 160px;
    overflow: hidden;
}

.download .app-buttons a:hover {
    transform: translateY(-2px);
}

.download .app-buttons img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    text-align: center;
    padding: 2rem;
    position: relative;
    border-top: 1px solid var(--grey-300);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

footer p {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for screenshots */
@media (max-width: 1024px) {
    .screenshot-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .screenshot-group {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero-icon {
        width: 100px;
        height: 100px;
        border-radius: 25px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-store-btn, .play-store-btn {
        width: 100%;
        justify-content: center;
    }
    
    .screenshot-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .screenshot-group {
        margin-bottom: 0;
    }
    
    .carousel {
        max-width: 250px;
    }
    
    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .download .app-buttons a {
        height: 35px;
        width: 140px;
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--grey-100), var(--white));
    position: relative;
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--grey-200);
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.about h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
}

.about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.about-intro {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

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

.about-section {
    background: var(--grey-100);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--grey-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
}

.about-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

.about-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.about-section ul li {
    padding: 1rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--grey-200);
    display: flex;
    align-items: center;
    text-align: left;
}

.about-section ul li:last-child {
    border-bottom: none;
}

.about-section ul li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    width: 2rem;
    text-align: center;
}

.about-text {
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.about-highlight {
    background: var(--grey-100);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    margin-top: 2rem;
}

.about-highlight i.fa-quote-left {
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.3;
}

.about-highlight i.fa-quote-right {
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0.3;
}

.about-highlight p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1rem;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .about-section {
        padding: 2rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .about-section h3 {
        font-size: 1.5rem;
    }
    
    .about-section ul li {
        font-size: 1rem;
        padding: 0.75rem 0 0.75rem 2.5rem;
    }
    
    .about-highlight {
        padding: 1.5rem;
    }
    
    .about-highlight p {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }
} 