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

:root {
    --primary-purple: #c8b3e6;
    --primary-pink: #ec4899;
    --dark-purple: #a78bca;
    --light-cream: #fef7f3;
    --text-dark: #2d2d2d;
    --text-gray: #5a5a5a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(180deg, #d4c5f9 0%, #c8b3e6 50%, #b8a4d9 100%);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Hearts Animation */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 24px;
    animation: floatHeart 15s infinite ease-in-out;
    opacity: 0.3;
}

.heart::before {
    content: '💗';
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Header */
.header {
    padding: 16px 32px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ec4899 0%, #d946a6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ec4899;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 24px 96px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(44px, 6.2vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.hero-title .highlight {
    color: #ec4899;
}

.hero-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--text-gray);
    margin-bottom: 32px;
    font-weight: 500;
}

.heart-icon {
    font-size: 40px;
    margin-bottom: 24px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.cta-button {
    background: linear-gradient(135deg, #ec4899 0%, #d946a6 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
    font-family: 'Inter', sans-serif;
}

/* Larger primary CTA in hero without affecting card CTAs */
.main-cta {
    padding: 16px 36px;
    font-size: 18px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.5);
}

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

/* Companions Section */
.companions {
    padding: 56px 24px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(34px, 4.2vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-title .highlight {
    color: #a855f7;
}

.section-subtitle {
    font-size: clamp(16px, 1.6vw, 20px);
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.companions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.companion-card {
    background: var(--light-cream);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.companion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.companion-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
}

.companion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.companion-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.companion-age {
    font-weight: 400;
    font-size: 15px;
    color: var(--text-gray);
}

.companion-info {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.companion-description {
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
    margin: 16px 0 20px;
    line-height: 1.5;
}

.companion-card .cta-button {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
}

/* Features Section */
.features {
    padding: 56px 24px 88px;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.feature-card {
    background: var(--light-cream);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ec4899 0%, #d946a6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 32px 24px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-link {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.footer-link:hover {
    color: #ec4899;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.modal-close:hover {
    background: #f5f5f5;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    line-height: 1.7;
    color: var(--text-gray);
    font-size: 14px;
}

.modal-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .companions-grid,
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 20px;
    }

    .hero {
        padding: 32px 16px 48px;
    }

    .hero-title {
        font-size: 28px;
    }

    .companions,
    .features {
        padding: 32px 16px;
    }

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

