/* Global Styles */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --accent-color: #f8b5d3;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    --gradient-secondary: linear-gradient(135deg, #f8b5d3 0%, #ff6b9d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.brand-text {
    font-family: 'Dancing Script', cursive;
    margin-left: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Page System */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
    background-color:#f8b5d3;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.hero-section::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 100 100"><defs><pattern id="hearts" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,6 Q10,0 15,6 Q20,0 20,6 Q20,10 10,16 Q0,10 0,6 Q0,0 5,6 Q10,0 10,6" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(45deg, #fff, #f8b5d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.start-btn {
    background: var(--bg-white);
    color: var(--primary-color);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-white);
    color: var(--secondary-color);
}

/* Floating Hearts Animation */
.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-hearts {
    position: relative;
    width: 200px;
    height: 200px;
}

.floating-hearts i {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.heart-1 {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.heart-2 {
    top: 80px;
    right: 30px;
    animation-delay: 1s;
}

.heart-3 {
    bottom: 40px;
    left: 80px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.status-card, .length-card, .improvement-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.status-card:hover, .length-card:hover, .improvement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-icon, .length-icon, .improvement-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.status-card:hover .card-icon,
.length-card:hover .length-icon,
.improvement-card:hover .improvement-icon {
    transform: scale(1.1);
}

.status-card h3, .length-card h4, .improvement-card h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.status-card p, .length-card p, .improvement-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.card-hover {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.status-card:hover .card-hover {
    right: 20px;
    opacity: 1;
}

/* Activity Cards */
.activity-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.activity-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.activity-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.activity-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.activity-title {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.activity-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.activity-steps {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.activity-steps h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.activity-steps ol {
    margin: 0;
    padding-left: 1.2rem;
}

.activity-steps li {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.activity-tips {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 10px;
    padding: 1rem;
    border-left: 4px solid #ffc107;
}

.activity-tips h6 {
    color: #856404;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.activity-tips p {
    color: #856404;
    margin: 0;
    font-size: 0.9rem;
}

/* About Page */
.about-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 2rem 0;
    
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline-secondary:hover {
    background: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-hearts {
        width: 150px;
        height: 150px;
    }
    
    .floating-hearts i {
        font-size: 2rem;
    }
    
    .status-card, .length-card, .improvement-card {
        padding: 1.5rem;
    }
    
    .card-icon, .length-icon, .improvement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 40px 0;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Transitions */
.page {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Styles */
.blog-categories {
    margin-bottom: 3rem;
}

.category-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.featured-card {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
    position: relative;
}

.featured-card::before {
    content: "FEATURED";
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 1;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
}

.blog-image {
    height: 150px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-content {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.article-content h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.article-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-content ul, .article-content ol {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-dark);
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 0 10px 10px 0;
}

.article-content .highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin: 1.5rem 0;
}

.article-content .highlight h4 {
    color: #856404;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.article-content .highlight p {
    color: #856404;
    margin: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.checklist-item {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* Desire Control Blog Styles */
.desire-questions {
    margin: 2rem 0;
}

.question-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.question-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.question-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.desire-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.desire-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.task-reward-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.task-reward-list {
    max-height: 400px;
    overflow-y: auto;
}

.task-reward-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.task-reward-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.task-reward-content {
    flex: 1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
} 