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

:root {
    --primary-red: #FF6B6B;
    --dark-red: #C92A2A;
    --soft-pink: #FFC0CB;
    --light-pink: #FFE0E9;
    --purple: #8B5CF6;
    --light-purple: #E9D5FF;
    --white: #FFFFFF;
    --gray-text: #4A5568;
    --error-red: #E53E3E;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--light-purple) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    overflow-x: hidden;
    position: relative;
}

/* Background decoration with floating hearts */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.background-decoration::before,
.background-decoration::after {
    content: '♥';
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.background-decoration::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.background-decoration::after {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    animation: slideDown 0.6s ease-out;
}

.header h1 {
    font-size: 3rem;
    color: var(--dark-red);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1rem;
    color: var(--primary-red);
    font-weight: 400;
    margin-top: 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    display: flex;
    justify-content: center;
    animation: slideUp 0.6s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(255, 107, 107, 0.2);
}

.card-content {
    padding: 50px 40px;
}

.card-content h2 {
    font-size: 1.8rem;
    color: var(--dark-red);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-field {
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--light-pink);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    color: var(--gray-text);
    background: var(--white);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-red);
    background: #FFFBFC;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.input-field::placeholder {
    color: #CBD5E0;
}

.error-message {
    font-size: 0.875rem;
    color: var(--error-red);
    min-height: 20px;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

.submit-button {
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
}

.submit-button:active:not(:disabled) {
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-text {
    display: inline;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-message {
    text-align: center;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    color: #2E7D32;
    font-weight: 600;
    font-size: 1rem;
}

.success-message.hidden {
    display: none;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: rgba(201, 42, 42, 0.6);
    font-size: 0.95rem;
    animation: slideUp 0.6s ease-out 0.4s both;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(201, 42, 42, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--primary-red);
    border-bottom: 1px solid var(--primary-red);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .card-content {
        padding: 35px 25px;
    }

    .card-content h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .input-field {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .submit-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .background-decoration::before,
    .background-decoration::after {
        font-size: 2.5rem;
    }
}

/* Policy pages styling */
.policy-content {
    max-height: 70vh;
    overflow-y: auto;
}

.policy-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #FFE0E9;
}

.policy-section:last-of-type {
    border-bottom: none;
}

.policy-section h3 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.policy-section p {
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--gray-text);
}

.policy-section ul,
.policy-section ol {
    margin-top: 10px;
    line-height: 1.8;
    color: var(--gray-text);
}

.policy-section a {
    color: var(--primary-red);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-red);
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--dark-red);
}

.footer-nav {
    margin-top: 30px;
    text-align: center;
}

.back-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

@media (max-width: 400px) {
    .container {
        padding: 15px;
    }

    .header {
        margin-bottom: 35px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 0.85rem;
    }

    .card-content {
        padding: 25px 20px;
    }

    .card-content h2 {
        font-size: 1.3rem;
    }

    .background-decoration::before,
    .background-decoration::after {
        font-size: 2rem;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .policy-content {
        max-height: 60vh;
    }
}

/* Video Demo Page Styling */
.video-container {
    width: 100%;
    margin: 30px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--light-pink);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.15);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Feature Highlights */
.feature-highlight {
    background: var(--light-pink);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.feature-title {
    color: var(--dark-red);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.feature-text {
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    margin-top: 35px;
    margin-bottom: 25px;
    text-align: center;
    padding: 25px;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.cta-button {
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Secondary CTA button for less important actions */
.secondary-cta {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-red);
    background: transparent;
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    text-decoration: none;
}

.secondary-cta:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.secondary-cta:active {
    transform: translateY(0);
}

/* Mobile responsiveness for demo page */
@media (max-width: 600px) {
    .video-wrapper {
        padding-bottom: 56.25%;
    }

    .feature-highlight {
        padding: 20px;
        margin: 20px 0;
    }

    .feature-item {
        gap: 12px;
        margin-bottom: 18px;
    }

    .feature-icon {
        font-size: 1.3rem;
    }

    .feature-text {
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 20px;
        margin-top: 30px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .secondary-cta {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .video-wrapper {
        padding-bottom: 56.25%;
    }

    .feature-highlight {
        padding: 18px;
        margin: 15px 0;
    }

    .feature-item {
        gap: 10px;
        margin-bottom: 15px;
    }

    .feature-icon {
        font-size: 1.2rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 15px;
        margin-top: 25px;
    }

    .cta-button {
        padding: 11px 20px;
        font-size: 0.95rem;
    }

    .secondary-cta {
        padding: 9px 18px;
        font-size: 0.9rem;
    }
}
