:root {
    --primary-color: #ff2d75;  /* Brighter pink/red for hearts */
    --secondary-color: #ff6b9e;  /* Softer pink for secondary elements */
    --accent-color: #ff99c2;  /* Light pink for accents */
    --text-color: #4a2c3d;  /* Dark purple for text */
    --bg-color: #fff5f9;  /* Very light pink background */
    --card-bg: #ffffff;  /* White cards with subtle shadow */
    --shadow: 0 4px 20px rgba(255, 45, 117, 0.15);  /* Pink-tinted shadow */
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #ff2d75, #ff6b9e);  /* Gradient for buttons */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/* Navigation */
.main-nav {
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

/* Page Layout */
.page-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-section h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    background: rgba(255, 45, 117, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 45, 117, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 45, 117, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature h3 {
    color: var(--primary-color);
    margin: 0.5rem 0;
}

/* Footer */
.page-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 45, 117, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 1.5rem;
    }
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.calculator {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid rgba(255, 45, 117, 0.1);
    position: relative;
    overflow: hidden;
}

.calculator:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,45,117,0.1) 0%, rgba(255,45,117,0) 70%);
    border-radius: 50%;
    transform: translate(50px, -50px);
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

input[type="text"] {
    padding: 14px 22px;
    border: 2px solid #ffd6e7;
    border-radius: 12px;
    font-size: 1rem;
    width: 100%;
    max-width: 220px;
    transition: var(--transition);
    background-color: rgba(255, 245, 249, 0.8);
    color: var(--text-color);
}

input[type="text"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 45, 117, 0.15);
    background-color: white;
}

.heart-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
    text-shadow: 0 0 10px rgba(255, 45, 117, 0.4);
    position: relative;
    z-index: 1;
}

.heart-icon:before, .heart-icon:after {
    content: '❤';
    position: absolute;
    opacity: 0.3;
    z-index: -1;
}

.heart-icon:before {
    animation: float 6s ease-in-out infinite;
    left: -5px;
    top: -2px;
}

.heart-icon:after {
    animation: float 4s ease-in-out infinite;
    right: -5px;
    bottom: -2px;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    margin: 10px 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 45, 117, 0.4);
}

.btn:hover:before {
    width: 100%;
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-share {
    background-color: #25D366;
    margin: 5px;
}

#facebookShare {
    background-color: #4267B2;
}

.result {
    margin-top: 30px;
    display: none;
}

.progress-container {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.3);
}

.percentage {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.message {
    font-size: 1.2rem;
    margin-top: 15px;
    color: var(--text-color);
}

.faq {
    margin: 40px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--text-color);
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 10px;
}

.theme-toggle {
    text-align: center;
    margin: 20px 0;
}

/* Theme button removed - dark mode disabled */
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        align-items: center;
    }
    
    .heart-icon {
        margin: 15px 0;
        transform: rotate(90deg);
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .share-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-share {
        width: 100%;
        max-width: 200px;
    }
}