/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: #be185d;
}

/* Navigation */
.nav-link {
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ec4899;
}

.nav-link.active {
    color: #ec4899;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: white;
    color: #ec4899;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #ec4899;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ec4899;
    color: white;
    transform: translateY(-2px);
}

/* Tool Cards */
.tool-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.2);
    border-color: #fce7f3;
}

.tool-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: white;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-link {
    display: inline-flex;
    align-items: center;
    color: #ec4899;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-link:hover {
    color: #8b5cf6;
    gap: 8px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer-link {
    color: #6b7280;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ec4899;
}

/* Calculator Styles */
.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.calculate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    font-weight: 600;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

.result-container {
    margin-top: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #fce7f3, #f3e8ff);
    border-radius: 20px;
    border: 2px solid #fbcfe8;
}

.result-title {
    font-size: 24px;
    font-weight: 700;
    color: #be185d;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.result-label {
    font-weight: 500;
    color: #6b7280;
}

.result-value {
    font-weight: 700;
    font-size: 20px;
    color: #ec4899;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .calculator-container {
        padding: 24px;
    }
    
    .tool-card {
        padding: 24px;
    }
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.content-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #be185d;
    margin-bottom: 24px;
}

.content-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #be185d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-page h3 {
    font-size: 1.5rem;
    color: #ec4899;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-page p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-page ul, .content-page ol {
    margin-left: 24px;
    margin-bottom: 16px;
    color: #4b5563;
}

.content-page li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-page a {
    color: #ec4899;
    text-decoration: underline;
}

.content-page a:hover {
    color: #8b5cf6;
}

@media (max-width: 768px) {
    .content-page {
        padding: 24px;
    }
    
    .content-page h1 {
        font-size: 2rem;
    }
    
    .content-page h2 {
        font-size: 1.5rem;
    }
}

