/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f8fafc;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #2c3e50;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    margin-left: 25px;
    transition: color 0.3s;
}

nav a:hover {
    color: #6B9BD1; /* App's primary color */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(107, 155, 209, 0.8), rgba(74, 123, 167, 0.9)), url('https://source.unsplash.com/random/1600x900/?nursery,kids') no-repeat center center/cover;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: #FFA726; /* App's secondary color */
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #F57C00;
    transform: translateY(-3px);
}

/* Typed Text Animation */
.typed-text {
    color: #FFA726;
}

.cursor {
    display: inline-block;
    background-color: #fff;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { background-color: #fff; }
    49% { background-color: #fff; }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
    100% { background-color: #fff; }
}

/* Floating Icons */
.hero-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-icons i {
    position: absolute;
    display: block;
    font-size: 3rem; /* Emojis as icons */
    color: rgba(255, 255, 255, 0.15);
    animation: float 20s infinite linear;
    bottom: -150px; /* Start from bottom */
    user-select: none;
}

@keyframes float {
    from {
        transform: translateY(0) rotate(0deg);
    }
    to {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: 60px 0;
    text-align: center;
}

.features h3 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-icon {
    display: inline-block;
    background-color: #6B9BD1;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    line-height: 70px;
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item:nth-child(2) .feature-icon { background-color: #FFA726; }
.feature-item:nth-child(3) .feature-icon { background-color: #81C784; }

.feature-item h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
}

.pricing h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing > .container > p {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.pricing-card .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6B9BD1;
    margin-bottom: 30px;
}

.pricing-card .price span {
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 15px;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li::before {
    content: '✔';
    color: #81C784;
    position: absolute;
    left: 0;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid #FFA726;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFA726;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

/* Enhanced Registration Section */
.register-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.register-text h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.register-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.benefits-list {
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 2rem;
    margin-right: 15px;
    width: 50px;
    text-align: center;
}

.benefit-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.benefit-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.register-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FFA726;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.register-form-container {
    display: flex;
    justify-content: center;
}

.register-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}

.register-form h4 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6B9BD1;
    box-shadow: 0 0 0 3px rgba(107, 155, 209, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #F44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.field-error {
    color: #F44336;
    font-size: 0.8rem;
    margin-top: 5px;
}

.register-button {
    width: 100%;
    background: linear-gradient(135deg, #6B9BD1, #4A7BA7);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 155, 209, 0.3);
}

.button-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.register-button:hover .button-icon {
    transform: translateX(5px);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.security-icon {
    font-size: 1rem;
}

/* Enhanced Download Section */
.download {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 80px 0;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.download-text h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFA726, #FF7043);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.app-features {
    margin-bottom: 3rem;
}

.app-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 10px 0;
}

.feature-emoji {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
}

.download-stats {
    display: flex;
    gap: 40px;
}

.download-stat {
    text-align: center;
}

.download-stat .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFA726;
    margin-bottom: 5px;
}

.download-stat .stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.app-preview {
    margin-bottom: 20px;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background: #333;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #fff;
}

.app-logo {
    font-size: 2rem;
    margin-right: 10px;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-bubble {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    color: #fff;
    backdrop-filter: blur(10px);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.download-options h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.primary-download-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFA726, #FF7043);
    color: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 167, 38, 0.3);
}

.primary-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 167, 38, 0.4);
}

.download-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.download-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.store-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.store-badge {
    position: relative;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.store-badge img {
    width: 135px;
    height: 40px;
    border-radius: 5px;
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.download-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.download-info p {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.download-info ul {
    margin: 0;
    padding-left: 20px;
}

.download-info li {
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    text-align: center;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonials h4 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #FFA726;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #FFA726;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #FFA726;
}

/* Footer */
footer {
    background: #f4f4f4;
    text-align: center;
    padding: 20px 0;
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: flex;
        gap: 20px;
    }

    nav a {
        margin-left: 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features h3,
    .pricing h3 {
        font-size: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.popular {
        transform: none;
    }

    /* Register Section Mobile */
    .register-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .register-text h3 {
        font-size: 2.2rem;
    }

    .register-stats {
        justify-content: center;
        gap: 20px;
    }

    .benefit-item {
        text-align: left;
    }

    .register-form {
        padding: 30px 20px;
    }

    /* Download Section Mobile */
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .download-text h3 {
        font-size: 2.2rem;
    }

    .download-stats {
        justify-content: center;
        gap: 20px;
    }

    .phone-mockup {
        width: 150px;
        height: 300px;
        padding: 10px;
    }

    .app-interface {
        padding: 15px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .register-text h3,
    .download-text h3 {
        font-size: 1.8rem;
    }

    .register-stats,
    .download-stats {
        flex-direction: column;
        gap: 15px;
    }

    .primary-download-btn {
        padding: 15px 20px;
    }

    .download-icon {
        font-size: 1.5rem;
    }
}