* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid #1a1a1a;
}

.btn-download.app-store {
    background: white;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-download.app-store:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.btn-download i {
    font-size: 1.5rem;
}

.btn-download div span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.btn-download div strong {
    display: block;
    font-size: 1rem;
}

.forest-promo {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.forest-icons {
    display: flex;
    gap: 0.5rem;
}

.forest-icon {
    font-size: 1.5rem;
    animation: sway 3s ease-in-out infinite;
}

.forest-icon:nth-child(2) {
    animation-delay: 1.5s;
}

.forest-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.app-showcase {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.phone-slider {
    position: relative;
    width: 100%;
    height: 600px;
}

.phone-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.phone-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.phone-frame {
    width: 280px;
    height: 520px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.time-goals {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bedtime-goal, .wakeup-goal {
    text-align: center;
    flex: 1;
}

.time {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.time-goals p {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.main-timer {
    text-align: center;
    margin: 2rem 0;
}

.timer-circle {
    width: 160px;
    height: 160px;
    border: 4px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.timer-display {
    text-align: center;
}

.current-time {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.am-pm {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.alarm-indicator {
    position: absolute;
    bottom: -30px;
    font-size: 0.8rem;
    color: #6b7280;
}

.sleep-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.sleep-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.countdown {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.mini-city {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.mini-house {
    animation: bounce 2s ease-in-out infinite;
}

.mini-trees {
    margin-top: 0.5rem;
    opacity: 0.7;
}

.building-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.building-animation {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.house-being-built {
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

.sparkles {
    font-size: 1.5rem;
    margin-top: 1rem;
    animation: twinkle 1.5s ease-in-out infinite;
}

.warning-message, .warning-message-bottom {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #f59e0b;
}

.warning-message p, .warning-message-bottom p {
    font-size: 0.8rem;
    color: #92400e;
    margin: 0;
    line-height: 1.4;
}

.collapsed-house {
    text-align: center;
    margin: 1rem 0;
}

.destruction {
    font-size: 2rem;
    animation: shake 0.5s ease-in-out infinite;
}

.broken-house {
    font-size: 2rem;
    opacity: 0.5;
}

.city-screen {
    padding: 10px;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.user-level, .house-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.full-city {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
    height: 200px;
    margin-bottom: 1rem;
}

.city-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.building {
    font-size: 2rem;
    animation: bounce 3s ease-in-out infinite;
}

.building:nth-child(2) { animation-delay: 0.5s; }
.building:nth-child(3) { animation-delay: 1s; }

.city-path {
    text-align: center;
    font-size: 1.5rem;
    color: #6b7280;
    animation: wave 2s ease-in-out infinite;
}

.slide-info {
    text-align: center;
    margin-top: 1rem;
}

.slide-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.slide-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #374151;
}

.slider-btn:hover {
    background: #e5e7eb;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

.features {
    padding: 6rem 0;
    background: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

.reviews {
    padding: 6rem 0;
    background: white;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.review-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.review-card {
    min-width: 300px;
    background: #f9fafb;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #3b82f6;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    color: #374151;
    line-height: 1.6;
}

.review-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.review-btn {
    background: #3b82f6;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.featured {
    padding: 4rem 0;
    background: #f9fafb;
}

.featured h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.featured-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #9ca3af;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 1;
    color: #374151;
}

.contact {
    padding: 6rem 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-frame {
        width: 240px;
        height: 450px;
    }
    
    .app-showcase {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        min-width: 280px;
    }
    
    .featured-logos {
        gap: 1.5rem;
    }
    
    .footer-links {
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .phone-frame {
        width: 200px;
        height: 380px;
        padding: 15px;
    }
    
    .app-showcase {
        margin-top: -2rem;
    }
    
    .timer-circle {
        width: 120px;
        height: 120px;
    }
    
    .current-time {
        font-size: 1.5rem;
    }
    
    .building {
        font-size: 1.5rem;
    }
    
    .house-being-built {
        font-size: 2rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact h2 {
        font-size: 1.8rem;
    }
} 