/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffeef8 0%, #fff0f5 50%, #ffe4e6 100%);
    transition: all 0.3s ease;
}

/* Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2d 50%, #1a0d1a 100%);
    color: #e0e0e0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.dark-mode .navbar {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 20px rgba(255, 20, 147, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #e91e63;
    transition: all 0.3s ease;
}

.dark-mode .nav-logo a {
    color: #ff69b4;
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.dark-mode .nav-link {
    color: #e0e0e0;
}

.nav-link:hover,
.nav-link.active {
    color: #e91e63;
}

.dark-mode .nav-link:hover,
.dark-mode .nav-link.active {
    color: #ff69b4;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e91e63;
    transition: width 0.3s ease;
}

.dark-mode .nav-link::after {
    background: #ff69b4;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    margin-left: 2rem;
}

.theme-btn {
    background: none;
    border: 2px solid #e91e63;
    color: #e91e63;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode .theme-btn {
    border-color: #ff69b4;
    color: #ff69b4;
}

.theme-btn:hover {
    background: #e91e63;
    color: white;
    transform: scale(1.1);
}

.dark-mode .theme-btn:hover {
    background: #ff69b4;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e91e63;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.dark-mode .bar {
    background: #ff69b4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffeef8" stop-opacity="0.8"/><stop offset="100%" stop-color="%23ffe4e6" stop-opacity="0.3"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
}

.dark-mode .hero::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ff69b4" stop-opacity="0.3"/><stop offset="100%" stop-color="%23e91e63" stop-opacity="0.1"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #e91e63, #ff69b4, #ff1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.dark-mode .hero-title {
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff20b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #666;
    animation: fadeInUp 1s ease 0.2s both;
}

.dark-mode .hero-subtitle {
    color: #b0b0b0;
}

.cta-button {
    background: linear-gradient(45deg, #e91e63, #ff69b4);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.dark-mode .cta-button {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.dark-mode .cta-button:hover {
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

/* Tool Section */
.tool-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.dark-mode .tool-section {
    background: rgba(26, 26, 26, 0.8);
}

.tool-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.dark-mode .tool-card {
    background: #2d1b2d;
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.2);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dark-mode .tool-card:hover {
    box-shadow: 0 25px 50px rgba(255, 20, 147, 0.3);
}

.tool-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #e91e63;
}

.dark-mode .tool-title {
    color: #ff69b4;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-field {
    text-align: left;
}

.input-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.dark-mode .input-field label {
    color: #e0e0e0;
}

.input-field input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.dark-mode .input-field input {
    background: #1a1a1a;
    border-color: #444;
    color: #e0e0e0;
}

.input-field input:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.dark-mode .input-field input:focus {
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.calculate-btn {
    background: linear-gradient(45deg, #e91e63, #ff69b4);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.calculate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.heart-pulse {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    animation: heartPulse 1s infinite;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.result-container {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffeef8, #fff0f5);
    border-radius: 15px;
    border: 2px solid #ffb3d1;
    animation: fadeInUp 0.5s ease;
}

.dark-mode .result-container {
    background: linear-gradient(135deg, #2d1b2d, #1a0d1a);
    border-color: #ff69b4;
}

.result-title {
    font-size: 2rem;
    color: #e91e63;
    margin-bottom: 1rem;
}

.dark-mode .result-title {
    color: #ff69b4;
}

.result-message {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

.dark-mode .result-message {
    color: #b0b0b0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.6);
}

.dark-mode .faq-section {
    background: rgba(26, 26, 26, 0.6);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e91e63;
}

.dark-mode .section-title {
    color: #ff69b4;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark-mode .faq-item {
    background: #2d1b2d;
    box-shadow: 0 2px 10px rgba(255, 20, 147, 0.2);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.dark-mode .faq-item:hover {
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #ffeef8;
}

.dark-mode .faq-question:hover {
    background: #1a0d1a;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.dark-mode .faq-question h3 {
    color: #e0e0e0;
}

.faq-question i {
    color: #e91e63;
    transition: transform 0.3s ease;
}

.dark-mode .faq-question i {
    color: #ff69b4;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.dark-mode .faq-answer p {
    color: #b0b0b0;
}

/* Page Styles */
.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #e91e63;
    font-weight: 700;
}

.dark-mode .page-title {
    color: #ff69b4;
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.dark-mode .last-updated {
    color: #b0b0b0;
}

/* About Page */
.about-section,
.contact-section,
.privacy-section,
.disclaimer-section {
    padding: 120px 0 100px;
    min-height: 100vh;
}

.about-content,
.contact-content,
.privacy-content,
.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-card,
.contact-card,
.privacy-card,
.disclaimer-card {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark-mode .about-card,
.dark-mode .contact-card,
.dark-mode .privacy-card,
.dark-mode .disclaimer-card {
    background: #2d1b2d;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.2);
}

.about-card:hover,
.contact-card:hover,
.privacy-card:hover,
.disclaimer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .about-card:hover,
.dark-mode .contact-card:hover,
.dark-mode .privacy-card:hover,
.dark-mode .disclaimer-card:hover {
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

.about-card h2,
.contact-card h2,
.privacy-card h2,
.disclaimer-card h2 {
    color: #e91e63;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.dark-mode .about-card h2,
.dark-mode .contact-card h2,
.dark-mode .privacy-card h2,
.dark-mode .disclaimer-card h2 {
    color: #ff69b4;
}

.about-card h3,
.privacy-card h3,
.disclaimer-card h3 {
    color: #e91e63;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.dark-mode .about-card h3,
.dark-mode .privacy-card h3,
.dark-mode .disclaimer-card h3 {
    color: #ff69b4;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list i {
    color: #e91e63;
    width: 20px;
}

.dark-mode .feature-list i {
    color: #ff69b4;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e91e63;
    width: 30px;
}

.dark-mode .contact-item i {
    color: #ff69b4;
}

.contact-item h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.dark-mode .contact-item h4 {
    color: #e0e0e0;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.dark-mode .contact-item p {
    color: #b0b0b0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.dark-mode .form-group label {
    color: #e0e0e0;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.dark-mode .form-group input,
.dark-mode .form-group select,
.dark-mode .form-group textarea {
    background: #1a1a1a;
    border-color: #444;
    color: #e0e0e0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.dark-mode .form-group input:focus,
.dark-mode .form-group select:focus,
.dark-mode .form-group textarea:focus {
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.submit-btn {
    background: linear-gradient(45deg, #e91e63, #ff69b4);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.contact-faq {
    margin-top: 4rem;
}

.contact-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #e91e63;
}

.dark-mode .contact-faq h2 {
    color: #ff69b4;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-grid .faq-item {
    margin-bottom: 0;
}

.faq-grid h4 {
    color: #e91e63;
    margin-bottom: 0.5rem;
}

.dark-mode .faq-grid h4 {
    color: #ff69b4;
}

/* Privacy & Disclaimer Pages */
.privacy-card ul,
.disclaimer-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-card li,
.disclaimer-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-card.highlight,
.disclaimer-card.highlight {
    background: linear-gradient(135deg, #ffeef8, #fff0f5);
    border: 2px solid #ffb3d1;
}

.dark-mode .privacy-card.highlight,
.dark-mode .disclaimer-card.highlight {
    background: linear-gradient(135deg, #2d1b2d, #1a0d1a);
    border-color: #ff69b4;
}

.privacy-card.warning,
.disclaimer-card.warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
}

.dark-mode .privacy-card.warning,
.dark-mode .disclaimer-card.warning {
    background: linear-gradient(135deg, #2d2b1a, #1a1a0d);
    border-color: #ffc107;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.dark-mode .footer {
    background: #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e91e63;
}

.dark-mode .footer-section h3,
.dark-mode .footer-section h4 {
    color: #ff69b4;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e91e63;
}

.dark-mode .footer-section a:hover {
    color: #ff69b4;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dark-mode .social-link {
    background: #ff69b4;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.dark-mode .social-link:hover {
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

.dark-mode .footer-bottom {
    border-color: #444;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .dark-mode .nav-menu {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .input-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .about-card,
    .contact-card,
    .privacy-card,
    .disclaimer-card {
        padding: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .tool-card {
        padding: 1.5rem 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .about-card,
    .contact-card,
    .privacy-card,
    .disclaimer-card {
        padding: 1rem;
    }
}
