:root {
    --primary-color: #4CAF50; /* Green from the dragon */
    --background-color: #FFD54F; /* Yellow from the background */
    --text-color: #333333;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --max-width: 1200px;
}

* {
    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);
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

main {
    margin-top: 74px; /* Header height + padding */
}

.hero {
    background: linear-gradient(135deg, var(--background-color) 0%, #FFB74D 100%);
    min-height: 600px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 0 1 600px;
    min-width: 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.floating-icon {
    width: 380px;
    height: 380px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    max-width: 100%;
    object-fit: contain;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    line-height: 1.15;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(0,0,0,0.8);
    max-width: 520px;
    line-height: 1.5;
}

.app-store-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.75rem;
}

.app-store-button img,
.play-store-button img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.app-store-button:hover img,
.play-store-button:hover img {
    opacity: 0.8;
}

/* QR Code Section */
.qr-code-container {
    display: none; /* Hidden by default (mobile) */
}

@media (min-width: 768px) {
    .qr-code-container {
        display: block; /* Show on tablet and desktop */
    }
}

.qr-codes {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.qr-code-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.qr-code-caption {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.features {
    padding: 4rem 1rem;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.feature-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.5;
}

.lab-badge {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 1rem 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-links a:hover,
.footer-section a:hover {
    color: var(--background-color);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.made-with-love {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.made-with-love a {
    color: var(--background-color);
    text-decoration: none;
    font-weight: 500;
}

.made-with-love a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .hero-container {
        gap: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .floating-icon {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 2.5rem 0 3rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem 3rem;
        gap: 2.5rem;
    }

    .hero-content {
        flex: 0 0 auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
        margin: 0 auto 0;
        max-width: 450px;
    }

    .app-store-buttons {
        align-items: center;
    }

    .qr-codes {
        justify-content: center;
    }

    .qr-code-item {
        align-items: center;
    }

    .qr-code-caption {
        padding-left: 0;
    }

    .floating-icon {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-container {
        padding: 2.5rem 1.5rem 3rem;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .floating-icon {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0;
    }

    .hero-container {
        padding: 2rem 1rem 2.5rem;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }
    
    .floating-icon {
        width: 200px;
        height: 200px;
    }

    .qr-code {
        width: 80px;
        height: 80px;
    }
}

.coming-soon {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.coming-soon h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.coming-soon p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.store-button-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.store-button-wrapper {
    position: relative;
    display: inline-block;
}

.coming-soon-label {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    transform: rotate(5deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

/* Pricing Section */
.pricing {
    padding: 4rem 1rem;
    background-color: var(--white);
    border-top: 1px solid rgba(76, 175, 80, 0.1);
}

.pricing-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

.pricing-info {
    max-width: 600px;
}

.pricing-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-info > p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-example {
    background: linear-gradient(135deg, var(--primary-color), #45a049);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.example-book h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.example-book p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.example-book strong {
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.feature-icon {
    font-size: 1.2rem;
    min-width: 24px;
}

@media (max-width: 768px) {
    .pricing h2 {
        font-size: 2rem;
    }
    
    .pricing-info h3 {
        font-size: 1.5rem;
    }
    
    .pricing-example {
        padding: 1.5rem;
    }
    
    .example-book h4 {
        font-size: 1.1rem;
    }
    
    .example-book p {
        font-size: 1rem;
    }
}

/* Use Cases Section */
.use-cases {
    padding: 4rem 1rem;
    background-color: var(--light-gray);
}

.use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.use-case {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.use-case h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.use-case p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
} 