* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Demo content styling */
.demo-content {
    flex: 1;
    padding: 4rem 0;
    text-align: center;
}

.demo-content h1 {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.demo-content p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #ffffff 0%, #f1f7ff 100%);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 20px rgba(59, 130, 246, 0.1);
    margin-top: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-description {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-heading {
    text-align:center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: #3b82f6;
    padding-left: 0.5rem;
}

.newsletter-text {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 0.25rem;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    background: transparent;
    color: #1e293b;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.newsletter-btn:active {
    transform: scale(0.95);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #3b82f6;
}

/* Success message for newsletter */
.success-message {
    color: #059669;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0 2rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-link:hover {
        padding-left: 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .demo-content h1 {
        font-size: 2rem;
    }

    .demo-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 2rem 0 1.5rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .input-group {
        flex-direction: column;
        border-radius: 12px;
        padding: 0.5rem;
    }

    .newsletter-input {
        text-align: center;
    }

    .newsletter-btn {
        width: 100%;
        border-radius: 8px;
        height: 44px;
    }
}