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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f5f5f5; /* Light background color */
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, #6BC99B, #4A9A74); /* Darker mint green gradient */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-container {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 40px; /* 2x larger than 20px */
    width: auto;
    max-width: 100%;
}

/* Hamburger Menu */
.menu-container {
    position: relative;
}

.hamburger {
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff; /* Changed to white for better contrast */
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #4A9A74; /* Updated to match the new darker header color */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.menu.active {
    display: block;
}

.menu ul {
    list-style: none;
}

.menu ul li {
    padding: 10px 20px;
}

.menu ul li a {
    text-decoration: none;
    color: #ffffff; /* Changed to white for better contrast */
    display: block;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #E0F7ED; /* Very light mint green hover color */
}

.menu ul li.disabled a {
    color: #A9E7CA; /* Lighter mint green for disabled items */
    cursor: not-allowed;
}

/* Feature Graphics Section */
.feature-graphics {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 70px; /* Account for header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F0FBF6; /* Soft mint green-tinted background */
}

.graphics-container {
    height: 85vh; /* Increased from 70vh to make it much bigger */
    width: 98%; /* Increased from 95% to take up more horizontal space */
    max-width: 1600px; /* Increased from 1200px for larger screens */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.graphic {
    position: absolute;
    width: 98%; /* Increased from 95% to make graphics larger */
    height: auto; /* Changed from fixed percentage to auto to maintain aspect ratio */
    aspect-ratio: 16/9; /* Set a standard aspect ratio */
    background: linear-gradient(to bottom, #F0FBF6, #D6F2E4); /* Soft mint green gradient */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Enhanced shadow for larger element */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    max-height: 80vh; /* Increased from 60vh to allow for larger display */
    box-sizing: border-box;
    padding: 1px 35px; /* Create the frame effect with padding */
    overflow: hidden; /* Ensure inner content doesn't overflow */
}

.graphic-inner {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Remove the pseudo-element that was causing issues */
.graphic::before {
    display: none;
}


.graphic.active {
    opacity: 1;
    transform: translateY(0);
}

/* Dot Indicators */
.dot-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(125, 220, 173, 0.3); /* Mint green with transparency */
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    top: 4px; /* Increased from 3px to 4px to move dots down more */
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: #6BC99B; /* Updated to match header */
    transform: scale(1.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Auto-rotate toggle button */
.auto-rotate-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(125, 220, 173, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    transition: all 0.3s ease;
    color: #4A9A74;
    outline: none;
    position: relative;
    top: 3px; /* Changed from 1px to 3px to move button down more */
}

.auto-rotate-toggle:hover {
    background-color: rgba(125, 220, 173, 0.5);
    transform: scale(1.1);
}

.auto-rotate-toggle.paused {
    background-color: rgba(125, 220, 173, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.auto-rotate-toggle i {
    font-size: 12px;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 5;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: #4A9A74; /* Updated to match the darker mint theme */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Slogan Section */
.slogan-section {
    padding: 60px 0;
    text-align: center;
    background-color: #F0FBF6; /* Same as feature graphics background */
    border-bottom: 1px solid rgba(74, 154, 116, 0.1); /* Very subtle separator */
}

.slogan {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300; /* Light weight for elegance */
    font-size: 2.8rem;
    color: #4A9A74; /* Match the darker mint green */
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.slogan:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #4A9A74;
    transition: width 0.4s ease, left 0.4s ease;
}

.slogan:hover {
    transform: translateY(-2px);
    color: #3a8a54;
}

.slogan:hover:after {
    width: 100%;
    left: 0;
}

/* App Description Styles */
.app-description {
    max-width: 800px;
    margin: 30px auto 0;
    color: #4A9A74;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.app-description p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.features {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    padding: 40px 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    box-sizing: border-box;
}

/* Remove all snake path related styles */
.snake-path {
    display: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background-color: rgba(107, 201, 155, 0.1);
    border-radius: 20px;
    transition: transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(74, 154, 116, 0.08);
    z-index: 1;
    box-sizing: border-box;
    white-space: nowrap;
    opacity: 1;
    border: 1px solid rgba(107, 201, 155, 0.15);
}

.feature-item:hover {
    transform: translateY(-5px) scale(1.03);
    background-color: rgba(107, 201, 155, 0.15);
    box-shadow: 0 10px 25px rgba(74, 154, 116, 0.15);
    z-index: 10;
    border-color: rgba(107, 201, 155, 0.3);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #6BC99B;
    margin-top: 3px;
    flex-shrink: 0; /* Prevent icon from shrinking */
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item span {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5;
    padding: 2px 0;
    white-space: normal; /* Allow text to wrap if it contains <br> tags */
}

.ideal-for {
    font-style: italic;
    text-align: center;
    font-weight: 500;
    color: #5AB88A;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .features {
        gap: 25px;
        padding: 30px 20px;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .features {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .feature-item {
        width: 100%;
        margin: 0;
        padding: 16px 20px;
        transform: none !important; /* Override the staggered positioning */
    }
    
    .feature-item:hover {
        transform: translateY(-5px) scale(1.02) !important; /* Ensure hover effect works on mobile */
    }
    
    .app-description {
        margin-top: 25px;
    }
    
    .app-description p {
        font-size: 1.1rem;
    }
    
    .feature-item i {
        font-size: 1.3rem;
        margin-right: 12px;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
    
    .graphics-container {
        height: 75vh;
        width: 95%;
    }
    
    .graphic {
        width: 98%;
        max-height: 75vh;
        padding: 1px 20px; /* Reduced padding for medium screens */
    }
    
    .slogan {
        font-size: 2.2rem;
    }
    
    .coming-soon h2 {
        font-size: 2rem;
    }
    
    .play-store i {
        font-size: 3rem;
    }
    
    .play-store p {
        font-size: 1rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 6px;
        top: 3px; /* Updated for better alignment */
    }
    
    .auto-rotate-toggle {
        width: 28px;
        height: 28px;
        margin-left: 12px;
        top: 3px; /* Updated to match the new desktop value */
    }
    
    .auto-rotate-toggle i {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 20px 10px;
        gap: 15px;
    }
    
    .feature-item {
        padding: 14px 18px;
    }
    
    .app-description {
        margin-top: 20px;
    }
    
    .app-description p {
        font-size: 1rem;
    }
    
    .feature-item i {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
    
    .graphics-container {
        height: 65vh;
        width: 95%;
    }
    
    .graphic {
        width: 98%;
        max-height: 65vh;
        padding: 1px 15px; /* Reduced padding for small screens */
    }
    
    .slogan {
        font-size: 1.8rem;
    }
    
    .coming-soon h2 {
        font-size: 1.5rem;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links a {
        margin: 5px 0;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 5px;
        top: 3px; /* Updated for better alignment */
    }
    
    .auto-rotate-toggle {
        width: 24px;
        height: 24px;
        margin-left: 10px;
        top: 3px; /* Updated to match the new desktop value */
    }
    
    .auto-rotate-toggle i {
        font-size: 9px;
    }
}

/* Coming Soon Section */
.coming-soon {
    padding: 80px 0; /* Adjusted padding */
    text-align: center;
    background-color: #F0FBF6; /* Matching the feature graphics background */
}

.coming-soon h2 {
    font-size: 2.5rem;
    margin-bottom: 15px; /* Adjusted margin */
    color: #4A9A74; /* Updated to match header */
}

.play-store p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto; /* Added bottom margin */
    color: #5AB88A; /* Updated to match the new color scheme */
}

.google-play-button-link {
    display: inline-block; /* Allow margin auto to work */
    margin-top: 20px;
}

.google-play-badge {
    height: 60px; /* Adjust height as needed */
    width: auto;
    transition: transform 0.3s ease;
}

.google-play-badge:hover {
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background: linear-gradient(to bottom, #6BC99B, #4A9A74); /* Matching the header for consistency */
    color: #fff;
    padding: 40px 0;
}

.legal-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.legal-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #E0F7ED; /* Very light mint green hover color to match menu hover */
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #A9E7CA; /* Updated to lighter mint green */
}

.google-play-badge {
    height: 50px; /* Smaller badge for small screens */
}

.coming-soon p {
    font-size: 1rem;
} 