/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Cosmic Theme */
    --primary-color: #2D1B69;
    --secondary-color: #744C9E;
    --accent-color: #FFD700;
    --accent-secondary: #9B59B6;
    --background-dark: #1A0F3A;
    --background-light: #F8F9FF;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --text-gray: #6C757D;
    --border-color: #E8E9F3;
    --shadow-light: rgba(45, 27, 105, 0.1);
    --shadow-medium: rgba(45, 27, 105, 0.2);
    --shadow-dark: rgba(45, 27, 105, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    --gradient-cosmic: linear-gradient(135deg, #2D1B69 0%, #744C9E 50%, #9B59B6 100%);
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-light);
    transition: var(--transition-smooth);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-cosmic);
    color: var(--text-light);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.hero-stars {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: twinkle 6s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

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

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Section */
.services {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition-smooth);
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 80px;
    height: 80px;
    filter: hue-rotate(270deg) brightness(1.2);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.service-card li:before {
    content: '✨';
    margin-right: 0.5rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--background-dark), var(--primary-color));
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--text-light);
}

.about-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    background: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--accent-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.testimonial-author strong {
    color: var(--primary-color);
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-date {
    color: var(--text-gray);
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-content h3 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Form Styles */
.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-light);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    min-width: 18px;
    height: 18px;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-dark);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 -5px 20px var(--shadow-dark);
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.cookie-text p {
    margin: 0;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cookie-modal-header {
    padding: 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-modal-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.cookie-category {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-toggle {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-toggle label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    min-width: 50px;
}

.cookie-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    transition: var(--transition-smooth);
    position: relative;
}

.slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: var(--transition-smooth);
}

.cookie-toggle input[type="checkbox"]:checked + .slider {
    background: var(--primary-color);
}

.cookie-toggle input[type="checkbox"]:checked + .slider::before {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    background: var(--background-light);
    text-align: center;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background: var(--background-light);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.legal-content h1 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-box {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    margin: 1.5rem 0;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Cookie Policy Specific */
.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--primary-color);
}

.cookie-settings-link {
    text-align: center;
    margin: 2rem 0;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background: var(--gradient-cosmic);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-image {
    width: 120px;
    height: 120px;
    filter: brightness(0) invert(1);
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.thank-you-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    text-align: left;
    backdrop-filter: blur(10px);
}

.thank-you-list {
    list-style: none;
    margin-top: 1rem;
}

.thank-you-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.social-share {
    margin-top: 3rem;
}

.social-share h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Blog Article Styles */
.blog-article {
    padding: 120px 0 80px;
    background: var(--background-light);
}

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

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    width: 150px;
    height: 150px;
    filter: hue-rotate(270deg) brightness(1.2);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    line-height: 1.8;
}

.article-intro {
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
    margin-bottom: 3rem;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.highlight-box h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.highlight-box ul {
    margin-left: 1rem;
}

.highlight-box ul li {
    margin-bottom: 0.5rem;
}

/* Zodiac Predictions */
.zodiac-predictions {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.zodiac-sign {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.zodiac-sign h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.zodiac-icon {
    display: inline-block;
}

.zodiac-icon img {
    width: 30px;
    height: 30px;
    filter: hue-rotate(270deg) brightness(1.2);
}

.zodiac-sign p {
    margin-bottom: 1rem;
}

/* Monthly Highlights */
.monthly-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.month-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    border-top: 3px solid var(--accent-color);
}

.month-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Compatibility Styles */
.compatibility-matches, .challenging-matches {
    margin: 2rem 0;
}

.match-group {
    margin-bottom: 3rem;
}

.match-group h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.match-pair, .challenge-pair {
    background: var(--background-light);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.match-pair h4, .challenge-pair h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.challenge-pair strong {
    color: var(--secondary-color);
}

/* Compatibility Matrix */
.compatibility-matrix {
    margin: 2rem 0;
    overflow-x: auto;
}

.compatibility-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.compatibility-table th,
.compatibility-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.compatibility-table th {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

.compatibility-table tbody tr:nth-child(even) {
    background: var(--background-light);
}

.compatibility-table strong {
    color: var(--primary-color);
}

/* Additional Factors */
.additional-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.factor {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    border-top: 3px solid var(--accent-secondary);
}

.factor h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Relationship Tips */
.relationship-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-category {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.tip-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tip-category ul {
    margin-left: 1rem;
}

.tip-category ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Myth Busting */
.myth-busting {
    margin: 2rem 0;
}

.myth {
    background: var(--background-light);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-secondary);
}

.myth h4 {
    margin-bottom: 0.5rem;
}

.myth h4:first-child {
    color: #e74c3c;
}

.myth p {
    margin: 0;
    color: #27ae60;
    font-weight: 500;
}

/* Moon Calendar Styles */
.moon-phases-guide {
    margin: 3rem 0;
}

.moon-phase {
    background: white;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-light);
    overflow: hidden;
}

.phase-header {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phase-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.phase-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.phase-content {
    padding: 2rem;
}

.phase-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.phase-content ul {
    margin-left: 1rem;
}

.phase-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.practical-tip {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border-left: 4px solid var(--accent-color);
}

.practical-tip strong {
    color: var(--primary-color);
}

/* Life Areas */
.life-areas {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.life-area {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    border-top: 3px solid var(--accent-color);
}

.life-area h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.moon-activity {
    margin-bottom: 1.5rem;
}

.moon-activity h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.moon-activity ul {
    margin-left: 1rem;
}

.moon-activity ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Monthly Planner */
.monthly-planner {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.monthly-planner h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.planning-step {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.planning-step h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Science Section */
.science-section {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.science-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.science-section ul {
    margin-left: 1rem;
}

.science-section ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.science-section strong {
    color: var(--secondary-color);
}

/* Business Astrology Styles */
.planetary-business {
    margin: 3rem 0;
}

.planet-influence {
    background: white;
    margin-bottom: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    overflow: hidden;
}

.planet-influence h3 {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1.5rem;
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
}

.planet-content {
    padding: 0 2rem 2rem 2rem;
}

.planet-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.planet-content ul {
    margin-left: 1rem;
}

.planet-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Business Calendar */
.business-calendar {
    margin: 3rem 0;
}

.business-calendar h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.season-planning {
    background: white;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    overflow: hidden;
}

.season-planning h4 {
    background: var(--gradient-cosmic);
    color: var(--text-light);
    padding: 1.5rem;
    margin: 0;
    font-size: 1.2rem;
}

.season-activities {
    padding: 2rem;
}

.season-activities p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.season-activities h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.season-activities ul {
    margin-left: 1rem;
}

.season-activities ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Team Management */
.team-management {
    margin: 3rem 0;
}

.zodiac-roles {
    margin-bottom: 3rem;
}

.zodiac-roles h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.zodiac-group {
    display: grid;
    gap: 1.5rem;
}

.zodiac-group h4 {
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
}

.zodiac-group ul {
    margin-left: 1rem;
    margin-bottom: 1.5rem;
}

.zodiac-group ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.zodiac-group strong {
    color: var(--secondary-color);
}

/* Case Studies */
.case-studies {
    margin: 3rem 0;
}

.case-study {
    background: var(--background-light);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.case-study h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.case-study p:last-child {
    font-style: italic;
    color: var(--text-gray);
    margin-top: 1rem;
}

.case-study strong {
    color: var(--secondary-color);
}

/* Beginner Tips */
.beginner-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tip-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    border-top: 3px solid var(--accent-secondary);
}

.tip-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.tip-section ul {
    margin-left: 1rem;
}

.tip-section ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Article Footer */
.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-share {
    margin-bottom: 2rem;
}

.article-share h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.linkedin {
    background: #0A66C2;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Article CTA */
.article-cta {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.article-cta .btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
}

.article-cta .btn-primary:hover {
    background: white;
    transform: translateY(-3px);
}

/* Conclusion */
.conclusion {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    border-left: 4px solid var(--accent-color);
}

.conclusion h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.conclusion p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px var(--shadow-medium);
        transform: translateY(-100vh);
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cookie-buttons {
        justify-content: center;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .monthly-highlights {
        grid-template-columns: 1fr;
    }

    .additional-factors {
        grid-template-columns: 1fr;
    }

    .relationship-tips {
        grid-template-columns: 1fr;
    }

    .life-areas {
        grid-template-columns: 1fr;
    }

    .beginner-tips {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        flex-direction: column;
    }

    .compatibility-matrix {
        font-size: 0.8rem;
    }

    .compatibility-table th,
    .compatibility-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .legal-content {
        padding: 2rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .phase-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .phase-content {
        padding: 1.5rem;
    }

    .season-activities {
        padding: 1.5rem;
    }

    .tip-section {
        padding: 1.5rem;
    }

    .article-cta {
        padding: 2rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .article-cta,
    .article-share,
    .social-links,
    .hamburger {
        display: none !important;
    }

    .blog-article {
        padding: 0;
    }

    .article-content {
        box-shadow: none;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
    h4 { font-size: 13pt; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-stars {
        animation: none;
    }

    .scroll-arrow {
        animation: none;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #4B0082;
        --text-dark: #000000;
        --text-gray: #333333;
        --border-color: #000000;
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.5);
        --shadow-dark: rgba(0, 0, 0, 0.7);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #1a1a2e;
        --background-dark: #16213e;
        --text-dark: #ffffff;
        --text-light: #ffffff;
        --text-gray: #b0b0b0;
        --border-color: #3a3a5c;
        --primary-color: #6c5ce7;
        --secondary-color: #a29bfe;
    }

    .service-card,
    .testimonial-card,
    .blog-card,
    .form-container,
    .article-content,
    .legal-content {
        background: var(--background-dark);
        color: var(--text-dark);
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Smooth Scroll Offset for Fixed Header */
html {
    scroll-padding-top: 80px;
}

/* Loading State Styles */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
