/* 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: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.nav-logo span {
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color) !important;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary) !important;
    margin: 3px 0;
    transition: background 0.3s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%2349B36D" stop-opacity="0.1"/><stop offset="100%" stop-color="%232E8B57" stop-opacity="0.05"/></linearGradient></defs><path d="M0,600 Q300,400 600,600 T1200,600 L1200,800 L0,800 Z" fill="url(%23a)"/><path d="M0,700 Q400,500 800,700 T1200,700 L1200,800 L0,800 Z" fill="url(%23a)" opacity="0.5"/></svg>') no-repeat bottom;
    background-size: cover;
}

.forest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(46, 139, 87, 0.1), transparent);
}

.hero-content {
    container: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #49B36D 0%, #2E8B57 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(73, 179, 109, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(73, 179, 109, 0.4);
}

.btn-secondary {
    background: white;
    color: #49B36D;
    border: 2px solid #49B36D;
}

.btn-secondary:hover {
    background: #49B36D;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockups {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.phone-mockup-1 {
    animation: floatLeft 3s ease-in-out infinite;
    transform: rotate(-5deg);
}

.phone-mockup-2 {
    animation: floatRight 3s ease-in-out infinite;
    transform: rotate(5deg);
}

@keyframes floatLeft {
    0%, 100% {
        transform: rotate(-5deg) translateY(0px);
    }
    50% {
        transform: rotate(-5deg) translateY(-10px);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: rotate(5deg) translateY(0px);
    }
    50% {
        transform: rotate(5deg) translateY(-10px);
    }
}

.phone-mockup-1:hover {
    animation-play-state: paused;
    transform: rotate(-5deg) scale(1.05);
    transition: transform 0.3s ease;
}

.phone-mockup-2:hover {
    animation-play-state: paused;
    transform: rotate(5deg) scale(1.05);
    transition: transform 0.3s ease;
}

.phone-screen {
    width: 280px;
    height: 580px;
    background: white;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 8px solid #1a202c;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #49B36D 0%, #2E8B57 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

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

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

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

.phone-frame {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: translateY(-5px);
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.screenshot-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, #49B36D 0%, #2E8B57 100%);
    color: white;
}

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

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.download-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.download-buttons {
    margin-bottom: 2rem;
}

.btn-apple {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.btn-apple:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.btn-large {
    font-size: 1.2rem;
    font-weight: 600;
}

.app-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.download-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-logo-large {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-logo-large:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.app-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
}

.icon-gradient-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #49B36D 0%, #2E8B57 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-gradient-small i {
    color: white;
    font-size: 10px;
    position: absolute;
    opacity: 0.8;
}

.icon-gradient-small i:nth-child(1) { transform: translateX(-6px) translateY(-1px); }
.icon-gradient-small i:nth-child(2) { transform: translateX(0px) translateY(0px); }
.icon-gradient-small i:nth-child(3) { transform: translateX(6px) translateY(-1px); }

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #49B36D;
}

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

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

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #49B36D;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-right {
        gap: 0.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .dark-mode-toggle {
        margin-left: 5px;
        margin-right: 5px;
    }
    
    .dark-mode-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .app-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .phone-mockups {
        flex-direction: column;
        gap: 30px;
    }
    
    .phone-mockup-1,
    .phone-mockup-2 {
        transform: none;
        animation: floatMobile 3s ease-in-out infinite;
    }
    
    @keyframes floatMobile {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
    }
    
    .phone-mockup-1:hover,
    .phone-mockup-2:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .download-text h2 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.screenshot-item,
.download-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #49B36D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2E8B57;
} 

/* Screenshot Placeholders */
.screenshot-placeholder {
    width: 100%;
    height: 500px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.placeholder-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

.placeholder-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    text-align: center;
}

.placeholder-content p {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 1rem;
    text-align: center;
}

/* Home Screen Placeholder */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.feature-item {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.8rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.placeholder-btn {
    background: #49B36D;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: auto;
    cursor: pointer;
    transition: background 0.3s ease;
}

.placeholder-btn:hover {
    background: #2E8B57;
}

/* Search Bar */
.search-bar {
    background: #f7fafc;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

/* Park Card */
.park-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.park-image {
    height: 120px;
    background: linear-gradient(135deg, #49B36D 0%, #2E8B57 100%);
    position: relative;
}

.park-image::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #49B36D;
}

.park-info {
    padding: 1rem;
}

.park-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.park-info p {
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 0.8rem;
    text-align: left;
}

.park-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #4a5568;
}

/* Trail Card */
.trail-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.trail-image {
    height: 100px;
    background: linear-gradient(135deg, #2E8B57 0%, #49B36D 100%);
    position: relative;
}

.trail-image::after {
    content: 'Moderate';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #49B36D;
}

.trail-info {
    padding: 1rem;
}

.trail-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.3rem;
}

.trail-info p {
    font-size: 0.7rem;
    color: #4a5568;
    margin-bottom: 0.8rem;
    text-align: left;
}

.trail-stats {
    display: flex;
    gap: 0.8rem;
    font-size: 0.7rem;
    color: #4a5568;
}

/* Saved Adventures */
.saved-content {
    text-align: center;
    padding: 2rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.features-list {
    margin: 1.5rem 0;
}

.feature {
    background: #f7fafc;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

/* Profile Content */
.profile-content {
    padding: 1rem;
    height: 100%;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #49B36D 0%, #2E8B57 100%);
    border-radius: 50%;
    margin: 1rem auto;
    position: relative;
}

.profile-avatar::after {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.stats-section {
    margin-top: 1.5rem;
}

.stats-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.stat-item .level {
    color: #49B36D;
    font-weight: 600;
}

/* Tracking Content */
.tracking-content {
    padding: 1rem;
    height: 100%;
}

.trail-info {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #e2e8f0;
}

.trail-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.trail-info p {
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 1rem;
    text-align: left;
}

.trail-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.trail-stats span {
    font-size: 0.8rem;
    color: #4a5568;
}

.status-badge {
    background: #49B36D;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.status {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.tracking-btn {
    background: #49B36D;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tracking-btn:hover {
    background: #2E8B57;
} 

.nav-app-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.nav-app-logo:hover {
    transform: scale(1.1);
}

.footer-app-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.footer-app-logo:hover {
    transform: scale(1.1);
} 

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
} 

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:focus {
    outline: none;
    transform: scale(1.05);
} 

/* Dark Mode Toggle */
.dark-mode-toggle {
    margin-left: 20px;
}

.dark-mode-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-btn:hover {
    background: rgba(73, 179, 109, 0.1);
    transform: scale(1.1);
}

.dark-mode-btn .fa-sun {
    display: none;
}

.dark-mode-btn .fa-moon {
    display: block;
}

/* Dark Mode Specific Navbar Styles */
[data-theme="dark"] .navbar {
    background: var(--navbar-bg) !important;
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .nav-logo span {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-menu a {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-menu a:hover {
    color: var(--accent-color) !important;
}

[data-theme="dark"] .hamburger span {
    background: var(--text-primary) !important;
}

[data-theme="dark"] .dark-mode-btn {
    color: var(--accent-color);
}

[data-theme="dark"] .dark-mode-btn:hover {
    background: rgba(104, 211, 145, 0.1);
}

[data-theme="dark"] .dark-mode-btn .fa-sun {
    display: block;
}

[data-theme="dark"] .dark-mode-btn .fa-moon {
    display: none;
}

/* Dark Mode Styles */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-color: #49B36D;
    --accent-hover: #3d8f5a;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --hero-overlay: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a202c;
    --bg-tertiary: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --accent-color: #68d391;
    --accent-hover: #9ae6b4;
    --navbar-bg: rgba(15, 20, 25, 0.95);
    --card-bg: #1a202c;
    --hero-overlay: rgba(0, 0, 0, 0.6);
}

/* Apply CSS Variables */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}



/* Hero Section Dark Mode */
.hero {
    background: var(--bg-primary);
}

.hero-text h1 {
    color: var(--text-primary);
}

.hero-subtitle {
    color: var(--text-secondary);
}

.hero-description {
    color: var(--text-muted);
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.feature-card h3 {
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

.feature-icon {
    background: var(--accent-color);
}

.feature-icon i {
    color: white;
}

.section-header h2 {
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
}

/* Screenshots Section */
.screenshots {
    background: var(--bg-primary);
}

.screenshot-item h4 {
    color: var(--text-primary);
}

.phone-frame {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 16px var(--shadow-color);
}

/* Download Section */
.download {
    background: var(--bg-secondary);
}

.download-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.download-text h2 {
    color: var(--text-primary);
}

.download-text p {
    color: var(--text-secondary);
}

.info-item {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.footer-section h4 {
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-section ul li a {
    color: var(--text-secondary);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
} 

/* Screenshot Theme Control */
.light-screenshot {
    display: block;
}

.dark-screenshot {
    display: none;
}

[data-theme="dark"] .light-screenshot {
    display: none;
}

[data-theme="dark"] .dark-screenshot {
    display: block;
} 

/* Dark Mode Toggle Animation */
[data-theme="dark"] .dark-mode-btn .fa-sun {
    display: block;
}

[data-theme="dark"] .dark-mode-btn .fa-moon {
    display: none;
}

[data-theme="dark"] .dark-mode-btn {
    color: var(--accent-color);
}

[data-theme="dark"] .dark-mode-btn:hover {
    background: rgba(104, 211, 145, 0.1);
}

/* Dark Mode Hero Background */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a202c 100%);
}

[data-theme="dark"] .hero-background {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%2368d391" stop-opacity="0.1"/><stop offset="100%" stop-color="%2349B36D" stop-opacity="0.05"/></linearGradient></defs><path d="M0,600 Q300,400 600,600 T1200,600 L1200,800 L0,800 Z" fill="url(%23a)"/><path d="M0,700 Q400,500 800,700 T1200,700 L1200,800 L0,800 Z" fill="url(%23a)" opacity="0.5"/></svg>') no-repeat bottom;
    background-size: cover;
}

[data-theme="dark"] .forest-overlay {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(26, 32, 44, 0.6) 100%);
} 