/* Optimize Font Loading */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

/* Reset and Base Styles */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Inter', 'Poppins', sans-serif;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    min-height: 100vh;

    color: #333;

    line-height: 1.6;

    overflow-x: hidden;

}







/* Navigation Bar */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    background: rgba(44, 62, 80, 0.98);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    z-index: 1000;

    padding: 1rem 0;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

}



.nav-container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.nav-logo {

    display: flex;

    align-items: center;

    font-size: 1.5rem;

    font-weight: 700;

    color: #ffd700;

}



.nav-logo i {

    margin-right: 10px;

    font-size: 1.8rem;

}



.nav-menu {

    display: flex;

    align-items: center;

    gap: 2rem;

}



.nav-link {

    text-decoration: none;

    color: white;

    font-weight: 500;

    transition: color 0.3s ease;

}



.nav-link:hover {

    color: #ffd700;

}



/* Dropdown Navigation Styles */

.nav-dropdown {

    position: relative;

    display: inline-block;

}



.dropdown-toggle {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.dropdown-toggle i {

    font-size: 0.8rem;

    transition: transform 0.3s ease;

}



.nav-dropdown:hover .dropdown-toggle i {

    transform: rotate(180deg);

}



.dropdown-menu {

    position: absolute;

    top: 100%;

    left: 0;

    background: rgba(44, 62, 80, 0.98);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 8px;

    min-width: 200px;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-10px);

    transition: all 0.3s ease;

    z-index: 1001;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

}



.nav-dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}



.dropdown-item {

    display: block;

    padding: 0.75rem 1rem;

    color: white;

    text-decoration: none;

    font-weight: 500;

    transition: all 0.3s ease;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

}



.dropdown-item:last-child {

    border-bottom: none;

}



.dropdown-item:hover {

    background: rgba(255, 255, 255, 0.1);

    color: #ffd700;

    transform: translateX(4px);

}



.nav-btn {

    padding: 0.5rem 1rem;

    border: none;

    border-radius: 8px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;

}







.nav-toggle {

    display: none;

    flex-direction: column;

    cursor: pointer;

}



.nav-toggle span {

    width: 25px;

    height: 3px;

    background: white;

    margin: 3px 0;

    transition: all 0.3s ease;

    display: block;

}

/* Hamburger → X animation when menu is open */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile dropdown — expand with max-height transition */
.nav-dropdown.active > .dropdown-menu {
    max-height: 400px !important;
    padding-bottom: 0.5rem;
}



/* Hero Section */

.hero-section {
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.hero-content {
    width: 100%;
    max-width: 100%;
}



.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: white;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}



.gradient-text {

    background: linear-gradient(45deg, #ffd700, #ffed4e);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    display: block;
}

.hero-subtitle-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1.2;
}



.hero-subtitle-title {

    font-size: 2rem;

    font-weight: 600;

    color: white;

    margin-bottom: 1rem;

    line-height: 1.3;

}



.hero-subtitle {
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 3rem;
    line-height: 1.6;
    max-width: 1000px;
}



.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}



.stat-item {

    text-align: center;

}



.stat-number {

    display: block;

    font-size: 2rem;

    font-weight: 700;

    color: #ffd700;

}



.stat-label {

    font-size: 0.9rem;

    color: white;
}



.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}



.hero-btn {

    padding: 1rem 2rem;

    border: none;

    border-radius: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}







.hero-btn.primary {

    background: linear-gradient(45deg, #ffd700, #ffed4e);

    color: #333;

}



.hero-btn.primary:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);

}



.hero-btn.secondary {

    background: rgba(255, 255, 255, 0.2);

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.3);

}



.hero-btn.secondary:hover {

    background: rgba(255, 255, 255, 0.3);

    transform: translateY(-2px);

}



.hero-visual {

    display: flex;

    justify-content: center;

    align-items: center;

}



.hero-matrix {

    position: relative;

    width: 300px;

    height: 300px;

}



.matrix-preview {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    width: 100%;

    height: 100%;

}



.matrix-cell {

    background: rgba(255, 255, 255, 0.1);

    border: 2px solid rgba(255, 255, 255, 0.3);

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    font-weight: 700;

    color: white;

    transition: all 0.3s ease;

}







.matrix-cell.active {

    background: linear-gradient(45deg, #ffd700, #ffed4e);

    color: #333;

    transform: scale(1.1);

    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);

}



/* Hero Section Animations */

.hero-content {

    animation: slideInLeft 0.8s ease forwards;

}



.hero-visual {

    animation: slideInRight 0.8s ease forwards;

}



@keyframes slideInLeft {

    from {

        opacity: 0;

        transform: translateX(-30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



/* Enhanced Animations */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.feature-card,

.learn-card {

    animation: fadeInUp 0.6s ease forwards;

}







.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 20px;

    padding-top: 10px;
}



/* Section Styles */

.section-header {

    text-align: center;

    margin-bottom: 4rem;

}



.section-title {

    font-size: 2.5rem;

    font-weight: 700;

    margin-bottom: 1rem;

    color: white;

    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);

}



.section-subtitle {

    font-size: 1.1rem;

    color: white;
    max-width: 600px;

    margin: 0 auto;

}



/* Features Section */

.features-section {

    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);

    margin: 40px 20px;
    border-radius: 20px;

}



.features-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}



.feature-card {

    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;

    border-radius: 16px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.4);
}



.feature-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

}



.feature-icon {

    width: 80px;

    height: 80px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 1.5rem;

}



.feature-icon i {

    font-size: 2rem;

    color: white;

}



.feature-card h3 {

    font-size: 1.3rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: white;
}



.feature-card p {

    color: white;
    line-height: 1.6;

}



/* Calculator Section */

.calculator-section {

    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    margin: 40px 20px;
    border-radius: 20px;
}



/* Compatibility Section */

.compatibility-section {

    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: relative;

    overflow: hidden;

    margin: 40px 20px;
    border-radius: 20px;

}



.compatibility-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.5C8.5,5 6.5,5 5,6.5C3.5,8 3.5,10 5,11.5L10,16.5L15,11.5C16.5,10 16.5,8 15,6.5C13.5,5 11.5,5 10,6.5Z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');

    animation: float 20s ease-in-out infinite;

}



.compatibility-section::after {

    content: '';

    position: absolute;

    top: -50%;

    left: -50%;

    width: 200%;

    height: 200%;

    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);

    animation: pulse 4s ease-in-out infinite;

}



.compatibility-calculator {

    max-width: 900px;

    margin: 0 auto;

    background: rgba(255, 255, 255, 0.95);

    padding: 3rem;

    border-radius: 25px;

    box-shadow: 0 25px 50px rgba(0,0,0,0.15);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    position: relative;

    z-index: 1;

    transform: translateY(0);

    transition: all 0.3s ease;

    /* Add flexbox layout to center content vertically */
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 400px;

}



.compatibility-calculator:hover {

    transform: translateY(-5px);

    box-shadow: 0 30px 60px rgba(0,0,0,0.2);

}



.compatibility-form {

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    gap: 2.5rem;

    align-items: center;

    margin-bottom: 2.5rem;

    position: relative;

}



.compatibility-form::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 2px;

    height: 80%;

    background: linear-gradient(to bottom, transparent, #ff6b6b, transparent);

    animation: pulse 2s ease-in-out infinite;

}



.person-input h3 {

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 1.5rem;

    color: #333;

    text-align: center;

    position: relative;

    padding-bottom: 0.5rem;

}



.person-input h3::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 50px;

    height: 3px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 2px;

}



.person-input input {

    width: 100%;

    padding: 1.2rem;

    border: 2px solid #e1e5e9;

    border-radius: 15px;

    font-size: 1.1rem;

    margin-bottom: 1.2rem;

    transition: all 0.3s ease;

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);

    position: relative;

}



.person-input input:focus {

    outline: none;

    border-color: #667eea;

    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);

    transform: translateY(-2px);

    background: white;

}



.person-input input:hover {

    border-color: #764ba2;

    transform: translateY(-1px);

}



.compatibility-icon {

    font-size: 3rem;

    color: #ff6b6b;

    text-align: center;

    animation: heartbeat 1.5s ease-in-out infinite;

    position: relative;

    z-index: 2;

}



.compatibility-icon::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 80px;

    height: 80px;

    background: radial-gradient(circle, rgba(255, 107, 107, 0.2), transparent);

    border-radius: 50%;

    animation: pulse 2s ease-in-out infinite;

    z-index: -1;

}



.compatibility-btn {

    width: 100%;

    padding: 1.2rem 2rem;

    background: linear-gradient(45deg, #667eea, #764ba2);

    color: white;

    border: none;

    border-radius: 15px;

    font-size: 1.2rem;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.8rem;

    position: relative;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);

}



.compatibility-btn::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);

    transition: left 0.5s ease;

}



.compatibility-btn:hover::before {

    left: 100%;

}



.compatibility-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);

    background: linear-gradient(45deg, #5a6fd8, #6a4c93);

}



.compatibility-btn:active {

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);

}

/* New Calculation Button Styles */
.new-calculation-btn {
    background: linear-gradient(45deg, #dc3545, #c82333) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin: 1rem auto !important;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
    text-decoration: none !important;
}

.new-calculation-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.4) !important;
    background: linear-gradient(45deg, #c82333, #bd2130) !important;
}

.new-calculation-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3) !important;
}



.compatibility-results {

    margin: 0 auto !important;

    padding: 2rem !important;

    background: rgba(255, 255, 255, 0.95) !important;

    border-radius: 20px !important;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;

    backdrop-filter: blur(15px) !important;

    border: 1px solid rgba(255, 255, 255, 0.3) !important;

    width: 100% !important;

    box-sizing: border-box !important;

    max-width: 900px !important;

    opacity: 0;

    transform: translateY(20px);

    animation: slideInUp 0.6s ease-out forwards;

    display: none;

    /* Ensure results stay centered */
    align-self: center;

    justify-self: center;

}

/* Force compatibility results to be visible when displayed */
.compatibility-results[style*="display: block"] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 900px !important;
    display: block !important;
    text-align: center !important;
}



/* Debug styles - force visibility for testing */
.compatibility-results.debug {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: red !important;
    color: white !important;
    padding: 20px !important;
    margin: 20px !important;
    border: 3px solid yellow !important;
    z-index: 9999 !important;
    position: relative !important;
}

/* Force all compatibility elements to be visible for debugging */
.compatibility-calculator.debug .compatibility-form {
    display: grid !important;
    background: blue !important;
    color: white !important;
    padding: 20px !important;
}

.compatibility-calculator.debug .compatibility-btn {
    display: flex !important;
    background: green !important;
    color: white !important;
    padding: 20px !important;
}



@keyframes slideInUp {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.compatibility-score-display {

    text-align: center;

    margin-bottom: 1rem;

    position: relative;

}



.compatibility-score-circle {

    width: 150px;

    height: 150px;

    border-radius: 50%;

    margin: 0 auto 1.5rem;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 2.5rem;

    font-weight: 800;

    color: white;

    position: relative;

    background: conic-gradient(from 0deg, #ff6b6b 0deg, #ffd700 120deg, #32cd32 240deg, #ff6b6b 360deg);

    animation: rotate 3s linear infinite;

}



.compatibility-score-circle::before {

    content: '';

    position: absolute;

    inset: 6px;

    border-radius: 50%;

    background: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.8rem;

    font-weight: 800;

    color: #333;

    z-index: 2;

    position: relative;

}

/* Force percentage visibility */
.compatibility-score-circle::after {
    content: attr(data-percentage);
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    z-index: 3;
}



.compatibility-details {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 1rem;

    margin-top: 1rem;

}



.compatibility-detail-card {

    background: rgba(255, 255, 255, 0.8);

    padding: 1rem;

    border-radius: 15px;

    border-left: 4px solid #667eea;

    transition: all 0.3s ease;

    position: relative;

    overflow: hidden;

}



.compatibility-detail-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);

    transition: left 0.5s ease;

}



.compatibility-detail-card:hover::before {

    left: 100%;

}



.compatibility-detail-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

}



.compatibility-detail-card h4 {

    color: #333;

    margin-bottom: 0.8rem;

    font-size: 1.2rem;

    font-weight: 600;

}



.compatibility-detail-card p {

    color: #666;

    line-height: 1.6;

    margin: 0;

}



.compatibility-progress {

    margin: 1rem 0;

}



.progress-bar-compatibility {

    width: 100%;

    height: 8px;

    background: rgba(102, 126, 234, 0.2);

    border-radius: 4px;

    overflow: hidden;

    position: relative;

}



.progress-fill-compatibility {

    height: 100%;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 4px;

    transition: width 1s ease-out;

    position: relative;

}



.progress-fill-compatibility::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);

    animation: shimmer 2s ease-in-out infinite;

}



@keyframes shimmer {

    0% { transform: translateX(-100%); }

    100% { transform: translateX(100%); }

}



.compatibility-insights {

    margin-top: 1rem;

    padding: 1.5rem;

    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.8));

    border-radius: 15px;

    border: 1px solid rgba(255, 215, 0, 0.3);

}



.compatibility-insights h3 {

    color: #333;

    margin-bottom: 0.8rem;

    font-size: 1.3rem;

    font-weight: 600;

}



.compatibility-insights ul {

    list-style: none;

    padding: 0;

    margin: 0;

}



.compatibility-insights li {

    padding: 0.6rem 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    position: relative;

    padding-left: 1.5rem;

}



.compatibility-insights li::before {

    content: '??';

    position: absolute;

    left: 0;

    top: 0.6rem;

    font-size: 1rem;

}



.compatibility-insights li:last-child {

    border-bottom: none;

}



/* Learn Section */

.learn-section {

    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    margin: 40px 20px;
    border-radius: 20px;
}



.learn-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}



.learn-card {

    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;

    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.4);
}



.learn-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

}



.learn-icon {

    width: 60px;

    height: 60px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1.5rem;

}



.learn-icon i {

    font-size: 1.5rem;

    color: white;

}



.learn-card h3 {

    font-size: 1.2rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: white;
}



.learn-card p {

    color: white;
    line-height: 1.6;

    margin-bottom: 1.5rem;

}



.learn-link {

    color: #667eea;

    text-decoration: none;

    font-weight: 500;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    transition: gap 0.3s ease;

}



.learn-link:hover {

    gap: 1rem;

}



/* About Section */

.about-section {

    padding: 80px 0;

}



.about-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.about-text h2 {

    font-size: 2.5rem;

    font-weight: 700;

    margin-bottom: 1.5rem;

    color: white;

}



.about-text p {

    font-size: 1.1rem;

    color: white;
    line-height: 1.6;

    margin-bottom: 1.5rem;

}



.about-stats {

    display: flex;

    gap: 2rem;

    margin-top: 2rem;

}



.about-stat {

    text-align: center;

}



.about-stat .stat-number {

    display: block;

    font-size: 2rem;

    font-weight: 700;

    color: #ffd700;

}



.about-stat .stat-label {

    font-size: 0.9rem;

    color: white;
}



.about-image {

    display: flex;

    justify-content: center;

}



.about-visual {

    width: 200px;

    height: 200px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 4rem;

    color: white;

}



/* Summary Card */

.summary-card {

    background: white;

    border-radius: 20px;

    padding: 2rem;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

    margin-bottom: 2rem;

}



.summary-card h2 {

    color: #333;

    margin-bottom: 1.5rem;

    font-size: 1.8rem;

    font-weight: 600;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.summary-card h2 i {

    color: #667eea;

}



.summary-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 1rem;

}



.summary-item {

    text-align: center;

    padding: 1rem;

    background: #f8f9fa;

    border-radius: 12px;

}



.summary-item h4 {

    font-size: 0.9rem;

    color: #666;

    margin-bottom: 0.5rem;

}



.summary-item .summary-value {

    font-size: 1.5rem;

    font-weight: 700;

    color: #667eea;

}



/* Header Styles */

.header {

    text-align: center;

    margin-bottom: 40px;

    color: white;

}



.header h1 {

    font-size: 2.5rem;

    font-weight: 700;

    margin-bottom: 10px;

    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);

}



.header h1 i {

    color: #ffd700;

    margin-right: 15px;

}



.header p {

    font-size: 1.1rem;

    opacity: 0.9;

    margin-bottom: 20px;

}



.header-badges {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

}



.badge {

    background: rgba(255, 255, 255, 0.2);

    padding: 8px 16px;

    border-radius: 20px;

    font-size: 0.9rem;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.3);

}



.badge i {

    margin-right: 5px;

    color: #ffd700;

}



/* Main Content */

.main-content {

    display: flex;

    flex-direction: column;

    gap: 30px;

}



/* Input Section */

.input-section {

    display: flex;

    justify-content: center;

}



.input-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

    width: 100%;

    max-width: 600px;

    text-align: center;

}



.input-card h2 {

    color: #333;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

}



.input-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.birth-form {

    display: flex;

    flex-direction: column;

    gap: 25px;

}



.form-group {

    text-align: left;

}



.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}



.form-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 500;

    color: #555;

}



.form-group input {

    width: 100%;

    padding: 15px;

    border: 2px solid #e1e5e9;

    border-radius: 10px;

    font-size: 16px;

    transition: all 0.3s ease;

}



.form-group input:focus {

    outline: none;

    border-color: #667eea;

    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);

}



.form-help {

    display: block;

    margin-top: 5px;

    font-size: 0.85rem;

    color: #666;

    font-style: italic;

}



.form-options {

    display: flex;

    flex-direction: column;

    gap: 15px;

    text-align: left;

}



.checkbox-label {

    display: flex;

    align-items: center;

    cursor: pointer;

    font-weight: 500;

    color: #555;

}



.checkbox-label input[type="checkbox"] {

    display: none;

}



.checkmark {

    width: 20px;

    height: 20px;

    border: 2px solid #e1e5e9;

    border-radius: 4px;

    margin-right: 10px;

    position: relative;

    transition: all 0.3s ease;

}



.checkbox-label input[type="checkbox"]:checked + .checkmark {

    background: #667eea;

    border-color: #667eea;

}



.checkbox-label input[type="checkbox"]:checked + .checkmark::after {

    content: '?';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    color: white;

    font-size: 12px;

    font-weight: bold;

}



.calculate-btn {

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: white;

    border: none;

    padding: 15px 30px;

    border-radius: 10px;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    margin-top: 10px;

}



.calculate-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(0,0,0,0.2);

}



.calculate-btn i {

    margin-right: 10px;

}



/* Progress Bar */

.progress-container {

    background: white;

    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

    margin-bottom: 30px;

}



.progress-bar {

    width: 100%;

    height: 8px;

    background: #e1e5e9;

    border-radius: 4px;

    overflow: hidden;

    margin-bottom: 15px;

}



.progress-fill {

    height: 100%;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    width: 0%;

    transition: width 0.5s ease;

    border-radius: 4px;

}



.progress-text {

    text-align: center;

    font-weight: 500;

    color: #555;

}



/* Results Section */

.results-section {

    display: flex;

    flex-direction: column;

    gap: 30px;

}



/* Core Numbers Card */

.numbers-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}



.numbers-card h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

    color: #333;

}



.numbers-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.core-numbers {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}



.number-item {

    text-align: center;

    padding: 20px;

    border-radius: 15px;

    background: #f8f9fa;

    transition: all 0.3s ease;

}



.number-item:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

}



.number-circle {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 15px;

    font-size: 2rem;

    font-weight: 700;

    color: white;

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

}



.number-circle.life-path {

    background: linear-gradient(135deg, #ff6b6b, #ee5a24);

}



.number-circle.destiny {

    background: linear-gradient(135deg, #4ecdc4, #44a08d);

}



.number-circle.soul {

    background: linear-gradient(135deg, #45b7d1, #96c93d);

}



.number-circle.personality {

    background: linear-gradient(135deg, #f093fb, #f5576c);

}



.number-circle.expression {

    background: linear-gradient(135deg, #667eea, #764ba2);

}



.number-circle.maturity {

    background: linear-gradient(135deg, #f093fb, #f5576c);

}



.number-circle.balance {

    background: linear-gradient(135deg, #4ecdc4, #44a08d);

}



.number-circle.rational {

    background: linear-gradient(135deg, #45b7d1, #96c93d);

}



.number-item h3 {

    margin-bottom: 10px;

    font-weight: 600;

    color: #333;

}



.number-item p {

    color: #666;

    font-size: 0.9rem;

    margin-bottom: 10px;

}



.number-details {

    font-size: 0.8rem;

    color: #888;

    font-style: italic;

}



/* Advanced Numbers Card */

.advanced-numbers-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}



.advanced-numbers-card h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

    color: #333;

}



.advanced-numbers-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.advanced-numbers {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 25px;

}



/* Matrix Card */

.matrix-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}



.matrix-card h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

    color: #333;

}



.matrix-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.matrix-container {

    display: flex;

    justify-content: center;

    gap: 40px;

    align-items: flex-start;

}



.matrix-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    max-width: 400px;

}



.matrix-cell {

    aspect-ratio: 1;

    border: 2px solid #e1e5e9;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    font-weight: 700;

    background: #f8f9fa;

    transition: all 0.3s ease;

    cursor: pointer;

}



.matrix-cell:hover {

    background: #e9ecef;

    transform: scale(1.05);

}



.matrix-cell.highlighted {

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: white;

    border-color: #667eea;

}



.matrix-cell.karmic {

    background: linear-gradient(135deg, #ff6b6b, #ee5a24);

    color: white;

    border-color: #ff6b6b;

}



.matrix-cell.personal {

    background: linear-gradient(135deg, #4ecdc4, #44a08d);

    color: white;

    border-color: #4ecdc4;

}



.matrix-legend {

    background: #f8f9fa;

    padding: 20px;

    border-radius: 15px;

    min-width: 200px;

}



.matrix-legend h4 {

    margin-bottom: 15px;

    color: #333;

    font-weight: 600;

}



.legend-items {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.legend-item {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 0.9rem;

    color: #555;

}



.legend-color {

    width: 20px;

    height: 20px;

    border-radius: 4px;

}



.legend-color.highlighted {

    background: linear-gradient(135deg, #667eea, #764ba2);

}



.legend-color.karmic {

    background: linear-gradient(135deg, #ff6b6b, #ee5a24);

}



.legend-color.personal {

    background: linear-gradient(135deg, #4ecdc4, #44a08d);

}



/* Timing Analysis Card */

.timing-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}



.timing-card h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

    color: #333;

}



.timing-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.timing-content {

    display: flex;

    flex-direction: column;

    gap: 30px;

}



.timing-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 25px;

}



.timing-item {

    text-align: center;

    padding: 25px;

    background: #f8f9fa;

    border-radius: 15px;

    transition: all 0.3s ease;

}



.timing-item:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

}



.timing-item h4 {

    margin-bottom: 15px;

    color: #333;

    font-weight: 600;

}



.timing-number {

    font-size: 2.5rem;

    font-weight: 700;

    color: #667eea;

    margin-bottom: 10px;

}



.timing-item p {

    color: #666;

    font-size: 0.9rem;

}



.timing-forecast {

    background: #f8f9fa;

    padding: 25px;

    border-radius: 15px;

}



.timing-forecast h4 {

    margin-bottom: 15px;

    color: #333;

    font-weight: 600;

}



.forecast-content {

    line-height: 1.8;

    color: #555;

}



/* Analysis Card */

.analysis-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}



.analysis-card h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

    color: #333;

}



.analysis-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.analysis-tabs {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-bottom: 30px;

    flex-wrap: wrap;

}



.tab-btn {

    padding: 12px 24px;

    border: 2px solid #e1e5e9;

    background: white;

    border-radius: 25px;

    cursor: pointer;

    font-weight: 500;

    transition: all 0.3s ease;

}



.tab-btn:hover {

    border-color: #667eea;

    color: #667eea;

}



.tab-btn.active {

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: white;

    border-color: #667eea;

}



.tab-content {

    position: relative;

}



.tab-pane {

    display: none;

    animation: fadeIn 0.5s ease;

}



.tab-pane.active {

    display: block;

}



@keyframes fadeIn {

    from { opacity: 0; transform: translateY(10px); }

    to { opacity: 1; transform: translateY(0); }

}



.tab-pane h3 {

    margin-bottom: 20px;

    font-size: 1.5rem;

    font-weight: 600;

    color: #333;

}



.tab-pane h3 span {

    color: #667eea;

    font-weight: 700;

}



.analysis-text {

    line-height: 1.8;

    color: #555;

}



.analysis-text h4 {

    color: #333;

    margin: 20px 0 10px;

    font-weight: 600;

}



.analysis-text ul {

    margin-left: 20px;

    margin-top: 10px;

}



.analysis-text li {

    margin-bottom: 8px;

}



/* Compatibility Card */

.compatibility-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}



.compatibility-card h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

    color: #333;

}



.compatibility-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.compatibility-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 20px;

}



.compatibility-item {

    text-align: center;

    padding: 20px;

    border-radius: 15px;

    background: #f8f9fa;

    transition: all 0.3s ease;

}



.compatibility-item:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

}



.compatibility-item h4 {

    margin-bottom: 10px;

    font-weight: 600;

    color: #333;

}



.compatibility-item .compatibility-score {

    font-size: 1.2rem;

    font-weight: 700;

    margin-bottom: 10px;

}



.compatibility-item .score-high {

    color: #28a745;

}



.compatibility-item .score-medium {

    color: #ffc107;

}



.compatibility-item .score-low {

    color: #dc3545;

}



/* Karmic Card */

.karmic-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}



.karmic-card h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 1.8rem;

    font-weight: 600;

    color: #333;

}



.karmic-card h2 i {

    color: #667eea;

    margin-right: 10px;

}



.karmic-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

}



.karmic-lessons, .karmic-challenges {

    background: #f8f9fa;

    padding: 25px;

    border-radius: 15px;

}



.karmic-lessons h4, .karmic-challenges h4 {

    margin-bottom: 15px;

    color: #333;

    font-weight: 600;

}



.karmic-lessons ul, .karmic-challenges ul {

    list-style: none;

    padding: 0;

}



.karmic-lessons li, .karmic-challenges li {

    padding: 10px 0;

    border-bottom: 1px solid #e1e5e9;

    color: #555;

}



.karmic-lessons li:last-child, .karmic-challenges li:last-child {

    border-bottom: none;

}



/* Action Buttons */

.action-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

}



.action-btn {

    padding: 12px 24px;

    border: none;

    border-radius: 25px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 8px;

}



.action-btn.primary {

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: white;

}



.action-btn.secondary {

    background: white;

    color: #667eea;

    border: 2px solid #667eea;

}



.action-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(0,0,0,0.1);

}



/* Footer */

.footer {

    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);

    color: #e2e8f0;

    padding: 50px 0 20px;

    margin-top: 80px;

    position: relative;

    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}



.footer::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);

}



.footer-content {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    flex-wrap: wrap;

    gap: 40px;

    justify-content: space-between;

}



.footer-section {

    flex: 1;

    min-width: 250px;

    max-width: 300px;

}



.footer-section h4 {

    color: #f7fafc;

    font-size: 1.2rem;

    font-weight: 700;

    margin-bottom: 20px;

    position: relative;

    padding-bottom: 10px;

}



.footer-section h4::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 40px;

    height: 3px;

    background: linear-gradient(90deg, #667eea, #764ba2);

    border-radius: 2px;

}



.footer-section p {

    color: #cbd5e0;

    line-height: 1.6;

    font-size: 0.95rem;

}



.footer-section ul {

    list-style: none;

    padding: 0;

}



.footer-section ul li {

    margin-bottom: 12px;

    color: #cbd5e0;

    font-size: 0.95rem;

    display: flex;

    align-items: center;

    gap: 10px;

}



.footer-section ul li a {

    color: #cbd5e0;

    text-decoration: none;

    transition: color 0.3s ease;

}



.footer-section ul li a:hover {

    color: #667eea;

}



/* Security Icons */

.security-icon {

    color: #fbbf24;

    font-size: 1rem;

    width: 20px;

    text-align: center;

}



/* Social Links */

.social-links {

    display: flex;

    gap: 15px;

    margin-top: 15px;

}



.social-link {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 45px;

    height: 45px;

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: white;

    border-radius: 50%;

    text-decoration: none;

    transition: all 0.3s ease;

    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);

}



.social-link:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);

    color: white;

}



.social-link.facebook:hover {

    background: linear-gradient(135deg, #1877f2, #0d6efd);

}



.social-link.twitter:hover {

    background: linear-gradient(135deg, #1da1f2, #0ea5e9);

}



.social-link.instagram:hover {

    background: linear-gradient(135deg, #e4405f, #dc2626);

}



.social-link.youtube:hover {

    background: linear-gradient(135deg, #ff0000, #dc2626);

}



/* Footer Divider */

.footer-divider {

    height: 1px;

    background: linear-gradient(90deg, transparent, #a0aec0, transparent);

    margin: 40px 0 20px;

}



/* Footer Bottom */

.footer-bottom {

    text-align: center;

    padding: 20px 0;

    border-top: 1px solid #4a5568;

}



.footer-bottom p {

    color: #a0aec0;

    font-size: 0.9rem;

    margin: 0;

}



/* Tablet Responsive Design */

@media (min-width: 769px) and (max-width: 1024px) {

    .hero-section {

        gap: 3rem;

        padding: 20px 0 70px;
    }

    

    .hero-title {

        font-size: 3rem;

    }

    

    .hero-subtitle {

        font-size: 1.1rem;

    }

    

    .features-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 1.5rem;

    }

    

    .container {

        padding: 20px;

        padding-top: 20px;
    }

    

    .section-title {

        font-size: 2.2rem;

    }

}



/* Responsive Footer */

@media (max-width: 768px) {

    .footer-content {

        flex-direction: column;

        gap: 30px;

        padding: 0 15px;

    }

    

    .footer-section {

        min-width: 100%;

        max-width: 100%;

    }

    

    .footer-section h4 {

        font-size: 1.1rem;

    }

    

    .social-links {

        justify-content: center;

    }

    

    .social-link {

        width: 40px;

        height: 40px;

    }

}



@media (max-width: 480px) {

    /* Footer Mobile Small */

    .footer {

        padding: 40px 0 15px;

    }

    

    .footer-content {

        gap: 25px;

        padding: 0 10px;

    }

    

    .footer-section h4 {

        font-size: 1rem;

    }

    

    .footer-section p,

    .footer-section ul li {

        font-size: 0.9rem;

    }

    

    .social-link {

        width: 35px;

        height: 35px;

    }

    

    .footer-bottom p {

        font-size: 0.8rem;

    }

    

    /* Hero Section Small Mobile */

    .hero-section {

        padding: 10px 0 40px;
        gap: 1.5rem;

    }

    

    .hero-title {

        font-size: 2rem;

        line-height: 1.4;

    }

    

    .hero-subtitle {

        font-size: 0.9rem;

    }

    

    .hero-stats {

        gap: 1rem;

    }

    

    .stat-number {

        font-size: 1.3rem;

    }

    

    .stat-label {

        font-size: 0.8rem;

    }

    

    .hero-btn {

        padding: 0.8rem 1.5rem;

        font-size: 0.9rem;

    }

    

    .hero-matrix {

        width: 200px;

        height: 200px;

    }

    

    .matrix-cell {

        font-size: 1.2rem;

    }

    

    /* Features Small Mobile */

    .features-section {

        padding: 40px 0;

        margin: 20px 0;

    }

    

    .section-title {

        font-size: 1.8rem;

    }

    

    .feature-card {

        padding: 1.2rem;

    }

    

    /* Calculator Small Mobile */

    .input-card,

    .numbers-card,

    .advanced-numbers-card,

    .matrix-card,

    .timing-card,

    .analysis-card,

    .compatibility-card,

    .karmic-card {

        padding: 20px;

    }

    

    .form-group input,

    .form-group select {

        padding: 0.8rem;

        font-size: 0.9rem;

    }

    

    .calculate-btn {

        padding: 1rem 1.5rem;

        font-size: 0.9rem;

    }

    

    .number-circle {

        width: 60px;

        height: 60px;

        font-size: 1.5rem;

    }

    

    .action-btn {

        padding: 0.8rem 1.2rem;

        font-size: 0.9rem;

    }

    

    /* Container Small Mobile */

    .container {

        padding: 10px;

        padding-top: 50px;

    }

}







/* Modal */

.modal {

    display: none;

    position: fixed;

    z-index: 1000;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0,0,0,0.5);

    backdrop-filter: blur(5px);

}



.modal-content {

    background-color: white;

    margin: 5% auto;

    padding: 40px;

    border-radius: 20px;

    width: 90%;

    max-width: 600px;

    position: relative;

    animation: modalSlideIn 0.3s ease;

}



@keyframes modalSlideIn {

    from { transform: translateY(-50px); opacity: 0; }

    to { transform: translateY(0); opacity: 1; }

}



.close {

    position: absolute;

    right: 20px;

    top: 20px;

    font-size: 28px;

    font-weight: bold;

    color: #aaa;

    cursor: pointer;

    transition: color 0.3s ease;

}



.close:hover {

    color: #2c3e50;

}



.modal-content h2 {

    margin-bottom: 20px;

    color: #333;

    font-weight: 600;

}



.faq-content {

    display: flex;

    flex-direction: column;

    gap: 20px;

}



.faq-item h3 {

    margin-bottom: 10px;

    color: white;

    font-weight: 600;

}



.faq-item p {

    color: white;

    line-height: 1.6;

}



/* Personal Year Calculator Page Styles */

.personal-year-calculator-page {

    min-height: 100vh;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

}



.personal-year-calculator-page .container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



.personal-year-calculator-page .page-header {

    text-align: center;

    margin-bottom: 3rem;

    color: white;

}



.personal-year-calculator-page .page-header h1 {

    font-size: 3rem;

    font-weight: 700;

    margin-bottom: 1rem;

    color: #ffd700;

}



.personal-year-calculator-page .page-header p {

    font-size: 1.2rem;

    opacity: 0.9;

    max-width: 600px;

    margin: 0 auto;

}



.personal-year-calculator-page .calculator-form {

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(20px);

    border-radius: 20px;

    padding: 2rem;

    margin-bottom: 2rem;

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.personal-year-calculator-page .year-form {

    display: grid;

    grid-template-columns: 1fr 1fr auto;

    gap: 1.5rem;

    align-items: end;

}



.personal-year-calculator-page .form-group {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.personal-year-calculator-page .form-group label {

    color: white;

    font-weight: 600;

    font-size: 0.9rem;

}



.personal-year-calculator-page .form-group input {

    padding: 0.75rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.1);

    color: white;

    font-size: 1rem;

    transition: all 0.3s ease;

}



.personal-year-calculator-page .form-group input:focus {

    outline: none;

    border-color: #ffd700;

    background: rgba(255, 255, 255, 0.2);

}



.personal-year-calculator-page .calculate-btn {

    padding: 0.75rem 2rem;

    background: linear-gradient(45deg, #ffd700, #ffed4e);

    border: none;

    border-radius: 10px;

    color: #333;

    font-weight: 600;

    font-size: 1rem;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.personal-year-calculator-page .calculate-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);

}



.personal-year-calculator-page .results-section {

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(20px);

    border-radius: 20px;

    padding: 2rem;

    margin-bottom: 2rem;

    border: 1px solid rgba(255, 255, 255, 0.2);

    text-align: center;

    color: white;

}



.personal-year-calculator-page .result-card h2 {

    color: #ffd700;

    font-size: 1.5rem;

    margin-bottom: 1rem;

}



.personal-year-calculator-page .year-number {

    font-size: 4rem;

    font-weight: 700;

    color: #ffd700;

    margin-bottom: 1rem;

}



.personal-year-calculator-page .year-description {

    font-size: 1.1rem;

    line-height: 1.6;

    margin-bottom: 1rem;

    opacity: 0.9;

}



.personal-year-calculator-page .year-forecast h4 {

    color: #ffd700;

    font-size: 1.3rem;

    margin-bottom: 0.5rem;

}



.personal-year-calculator-page .year-forecast p {

    font-size: 1rem;

    line-height: 1.6;

    opacity: 0.9;

}



.personal-year-calculator-page .year-guide {

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(20px);

    border-radius: 20px;

    padding: 2rem;

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: white;

}



.personal-year-calculator-page .year-guide h2 {

    color: #ffd700;

    font-size: 1.8rem;

    margin-bottom: 1rem;

}



.personal-year-calculator-page .year-guide p {

    font-size: 1rem;

    line-height: 1.6;

    margin-bottom: 1.5rem;

    opacity: 0.9;

}



.personal-year-calculator-page .year-cycles h3 {

    color: #ffd700;

    font-size: 1.3rem;

    margin-bottom: 0.5rem;

}



.personal-year-calculator-page .year-cycles p {

    font-size: 1rem;

    line-height: 1.6;

    opacity: 0.9;

}



/* Responsive styles for Personal Year Calculator */

@media (max-width: 768px) {

    .personal-year-calculator-page .page-header h1 {

        font-size: 2rem;

    }

    

    .personal-year-calculator-page .year-form {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    .personal-year-calculator-page .year-number {

        font-size: 3rem;

    }

}



/* Hero Section */

.calculator-hero {

    position: relative;

    padding: 120px 0 80px;

    overflow: hidden;

}



.hero-background {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    z-index: 1;

}



.hero-pattern {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background-image: 

        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),

        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),

        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);

    animation: float 20s ease-in-out infinite;

}



.hero-glow {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 600px;

    height: 600px;

    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);

    border-radius: 50%;

    animation: pulse 4s ease-in-out infinite;

}



@keyframes float {

    0%, 100% { transform: translateY(0px); }

    50% { transform: translateY(-20px); }

}



@keyframes pulse {

    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }

    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }

}







.hero-text {

    color: white;

}



.breadcrumb {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    margin-bottom: 2rem;

    font-size: 0.9rem;

    opacity: 0.8;

}



.breadcrumb a {

    color: #ffd700;

    text-decoration: none;

    transition: color 0.3s ease;

}



.breadcrumb a:hover {

    color: white;

}



.breadcrumb .separator {

    color: white;
}



.hero-title {

    font-size: 3.5rem;

    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 1.5rem;

    display: flex;

    align-items: center;

    gap: 1rem;

}



.title-icon {

    font-size: 3rem;

    animation: bounce 2s ease-in-out infinite;

}



@keyframes bounce {

    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }

    40% { transform: translateY(-10px); }

    60% { transform: translateY(-5px); }

}



.hero-subtitle {

    font-size: 1.2rem;

    line-height: 1.6;

    margin-bottom: 2rem;

    opacity: 0.9;

}



.hero-features {

    display: flex;

    gap: 2rem;

    flex-wrap: wrap;

}



.feature-item {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    background: rgba(255, 255, 255, 0.1);

    padding: 0.8rem 1.2rem;

    border-radius: 25px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.feature-item i {

    color: #ffd700;

    font-size: 1.1rem;

}



.hero-visual {

    display: flex;

    justify-content: center;

    align-items: center;

}



.year-cycle-animation {

    position: relative;

    width: 400px;

    height: 400px;

}



.cycle-circle {

    position: relative;

    width: 100%;

    height: 100%;

    border: 3px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    animation: rotate 30s linear infinite;

}



.cycle-number {

    position: absolute;

    width: 60px;

    height: 60px;

    background: rgba(255, 255, 255, 0.1);

    border: 2px solid rgba(255, 255, 255, 0.3);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    font-weight: 700;

    color: white;

    backdrop-filter: blur(10px);

    transition: all 0.3s ease;

}



.cycle-number.active {

    background: linear-gradient(45deg, #ffd700, #ffed4e);

    color: #333;

    transform: scale(1.2);

    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);

}



.cycle-number:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }

.cycle-number:nth-child(2) { top: 10%; right: 10%; }

.cycle-number:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }

.cycle-number:nth-child(4) { bottom: 10%; right: 10%; }

.cycle-number:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }

.cycle-number:nth-child(6) { bottom: 10%; left: 10%; }

.cycle-number:nth-child(7) { top: 50%; left: 0; transform: translateY(-50%); }

.cycle-number:nth-child(8) { top: 10%; left: 10%; }

.cycle-number:nth-child(9) { top: 50%; left: 50%; transform: translate(-50%, -50%); }



@keyframes rotate {

    from { transform: rotate(0deg); }

    to { transform: rotate(360deg); }

}



/* Calculator Section */

.calculator-section {

    padding: 80px 0;

    background: rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(20px);

}



.calculator-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 3rem;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



.calculator-card, .results-card {

    background: white;

    border-radius: 20px;

    padding: 2.5rem;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.card-header {

    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 2rem;

}



.header-icon {

    width: 60px;

    height: 60px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 1.5rem;

}



.header-content h2 {

    font-size: 1.8rem;

    font-weight: 700;

    color: #333;

    margin-bottom: 0.5rem;

}



.header-content p {

    color: #666;

    font-size: 1rem;

}



/* Form Styles */

.year-form {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}



.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1.5rem;

}



.form-group {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.form-group label {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    font-weight: 600;

    color: #333;

    font-size: 0.95rem;

}



.form-group label i {

    color: #667eea;

}



.input-wrapper {

    position: relative;

}



.input-wrapper input {

    width: 100%;

    padding: 1rem 1rem 1rem 3rem;

    border: 2px solid #e1e5e9;

    border-radius: 12px;

    font-size: 1rem;

    transition: all 0.3s ease;

    background: #f8f9fa;

}



.input-wrapper input:focus {

    outline: none;

    border-color: #667eea;

    background: white;

    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);

}



.input-icon {

    position: absolute;

    left: 1rem;

    top: 50%;

    transform: translateY(-50%);

    color: #667eea;

    font-size: 1.1rem;

}



.form-help {

    font-size: 0.85rem;

    color: #666;

    margin-top: 0.25rem;

}



/* Calculate Button */

.calculate-btn {

    position: relative;

    padding: 1.2rem 2rem;

    background: linear-gradient(45deg, #667eea, #764ba2);

    color: white;

    border: none;

    border-radius: 12px;

    font-size: 1.1rem;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    overflow: hidden;

}



.calculate-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);

}



.calculate-btn .btn-content {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

}



.calculate-btn .btn-loading {

    display: none;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

}



.calculate-btn.loading .btn-content {

    display: none;

}



.calculate-btn.loading .btn-loading {

    display: flex;

}



/* Results Section */

.results-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 2rem;

    padding-bottom: 1rem;

    border-bottom: 2px solid #f1f3f4;

}



.results-header h2 {

    font-size: 1.8rem;

    font-weight: 700;

    color: #333;

}



.year-badge {

    background: linear-gradient(45deg, #667eea, #764ba2);

    color: white;

    padding: 0.8rem 1.5rem;

    border-radius: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}



.year-label {

    font-size: 0.8rem;

    opacity: 0.8;

    margin-bottom: 0.2rem;

}



.year-value {

    font-size: 1.2rem;

    font-weight: 700;

}



.year-number-display {

    text-align: center;

    margin-bottom: 2rem;

}



.number-circle {

    width: 120px;

    height: 120px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 1rem;

    font-size: 3rem;

    font-weight: 700;

    color: white;

    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);

}



.number-label {

    font-size: 1rem;

    color: #666;

    font-weight: 500;

}



.year-details {

    display: flex;

    flex-direction: column;

    gap: 2rem;

    margin-bottom: 2rem;

}



.detail-section h3 {

    font-size: 1.2rem;

    font-weight: 600;

    color: #333;

    margin-bottom: 1rem;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.energy-bar {

    width: 100%;

    height: 8px;

    background: #e1e5e9;

    border-radius: 4px;

    overflow: hidden;

    margin-bottom: 1rem;

}



.energy-fill {

    height: 100%;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 4px;

    transition: width 1s ease;

}



.year-description {

    color: #555;

    line-height: 1.6;

    font-size: 1rem;

}



.forecast-content h4 {

    color: #667eea;

    font-weight: 600;

    margin-bottom: 0.5rem;

}



.themes-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    gap: 1rem;

}



.theme-item {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    background: #f8f9fa;

    padding: 0.8rem 1rem;

    border-radius: 8px;

    border-left: 3px solid #667eea;

}



.theme-item i {

    color: #667eea;

    font-size: 0.9rem;

}



.action-buttons {

    display: flex;

    gap: 1rem;

    justify-content: center;

    flex-wrap: wrap;

}



.action-btn {

    padding: 0.8rem 1.5rem;

    border: none;

    border-radius: 8px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    text-decoration: none;

}



.action-btn.primary {

    background: linear-gradient(45deg, #667eea, #764ba2);

    color: white;

}



.action-btn.secondary {

    background: #f8f9fa;

    color: #333;

    border: 1px solid #e1e5e9;

}



.action-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

}



/* Educational Section */

.educational-section {

    padding: 80px 0;

    background: white;

}



.education-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 2rem;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



.education-card {

    background: #f8f9fa;

    border-radius: 15px;

    padding: 2rem;

    border: 1px solid #e1e5e9;

    transition: all 0.3s ease;

}



.education-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}



.education-card .card-header {

    margin-bottom: 1.5rem;

}



.education-card .header-icon {

    width: 50px;

    height: 50px;

    font-size: 1.2rem;

}



.education-card h3 {

    font-size: 1.3rem;

    font-weight: 600;

    color: #333;

}



.card-content p {

    color: #555;

    line-height: 1.6;

    margin-bottom: 1rem;

}



.cycle-explanation {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    margin-top: 1rem;

}



.cycle-item {

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1rem;

    background: white;

    border-radius: 8px;

    border-left: 4px solid #667eea;

}



.cycle-number {

    background: #667eea;

    color: white;

    padding: 0.5rem 1rem;

    border-radius: 20px;

    font-weight: 600;

    font-size: 0.9rem;

}



.cycle-desc {

    font-weight: 500;

    color: #333;

}



.usage-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.usage-list li {

    padding: 0.8rem 0;

    border-bottom: 1px solid #e1e5e9;

    color: #555;

    position: relative;

    padding-left: 1.5rem;

}



.usage-list li:before {

    content: '?';

    position: absolute;

    left: 0;

    color: #667eea;

    font-weight: 600;

}



.usage-list li:last-child {

    border-bottom: none;

}



/* Meanings Section */

.meanings-section {

    padding: 80px 0;

    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

}



.section-header {

    text-align: center;

    margin-bottom: 3rem;

}



.section-header h2 {

    font-size: 2.5rem;

    font-weight: 700;

    color: white;

    margin-bottom: 1rem;

}



.section-header p {

    font-size: 1.1rem;

    color: white;

    max-width: 600px;

    margin: 0 auto;

}



.meanings-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



.meaning-card {

    background: white;

    border-radius: 15px;

    padding: 2rem;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    border-left: 4px solid;

    transition: all 0.3s ease;

}



.meaning-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

}



.meaning-header {

    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.5rem;

}



.meaning-number {

    width: 50px;

    height: 50px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    font-weight: 700;

}



.meaning-card h3 {

    font-size: 1.3rem;

    font-weight: 600;

    color: #333;

    margin: 0;

}



.meaning-card p {

    color: #555;

    line-height: 1.6;

    margin-bottom: 1.5rem;

}



.meaning-themes {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

}



.theme-tag {

    background: #f8f9fa;

    color: #333;

    padding: 0.4rem 0.8rem;

    border-radius: 15px;

    font-size: 0.85rem;

    font-weight: 500;

    border: 1px solid #e1e5e9;

}



/* Personal Year Calculator Responsive Design */

@media (max-width: 1024px) {

    

    .hero-title {

        font-size: 3rem;

        justify-content: center;

    }

    

    .year-cycle-animation {

        width: 300px;

        height: 300px;

    }

    

    .cycle-number {

        width: 50px;

        height: 50px;

        font-size: 1.2rem;

    }

    

    .calculator-grid {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    

    .education-grid {

        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    }

    

    .meanings-grid {

        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    }

}



@media (max-width: 768px) {

    .hero-section {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 2rem;

    }



    .hero-title {

        font-size: 2.5rem;

    }



    .hero-stats {

        justify-content: center;

    }



    .hero-buttons {

        justify-content: center;

        flex-wrap: wrap;

    }



    .calculator-hero {

        padding: 80px 0 60px;

    }

    

    .hero-title {

        font-size: 2.5rem;

        flex-direction: column;

        gap: 0.5rem;

    }

    

    .title-icon {

        font-size: 2.5rem;

    }

    

    .hero-subtitle {

        font-size: 1.1rem;

    }

    

    .hero-features {

        justify-content: center;

        gap: 1rem;

    }

    

    .feature-item {

        padding: 0.6rem 1rem;

        font-size: 0.9rem;

    }

    

    .year-cycle-animation {

        width: 250px;

        height: 250px;

    }

    

    .cycle-number {

        width: 40px;

        height: 40px;

        font-size: 1rem;

    }

    

    .calculator-section {

        padding: 60px 0;

    }

    

    .calculator-card, .results-card {

        padding: 2rem;

    }

    

    .form-row {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    .card-header {

        flex-direction: column;

        text-align: center;

        gap: 1rem;

    }

    

    .header-icon {

        width: 50px;

        height: 50px;

        font-size: 1.2rem;

    }

    

    .results-header {

        flex-direction: column;

        gap: 1rem;

        text-align: center;

    }

    

    .year-badge {

        align-self: center;

    }

    

    .action-buttons {

        flex-direction: column;

        align-items: center;

    }

    

    .action-btn {

        width: 100%;

        max-width: 300px;

        justify-content: center;

    }

    

    .educational-section {

        padding: 60px 0;

    }

    

    .education-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    

    .meanings-section {

        padding: 60px 0;

    }

    

    .section-header h2 {

        font-size: 2rem;

    }

    

    .meanings-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    

    .themes-grid {

        grid-template-columns: 1fr;

    }

}



@media (max-width: 480px) {

    .calculator-hero {

        padding: 60px 0 40px;

    }

    

    .hero-title {

        font-size: 2rem;

    }

    

    .title-icon {

        font-size: 2rem;

    }

    

    .hero-subtitle {

        font-size: 1rem;

    }

    

    .hero-features {

        flex-direction: column;

        align-items: center;

    }

    

    .feature-item {

        width: 100%;

        max-width: 250px;

        justify-content: center;

    }

    

    .year-cycle-animation {

        width: 200px;

        height: 200px;

    }

    

    .cycle-number {

        width: 35px;

        height: 35px;

        font-size: 0.9rem;

    }

    

    .calculator-section {

        padding: 40px 0;

    }

    

    .calculator-card, .results-card {

        padding: 1.5rem;

        margin: 0 10px;

    }

    

    .number-circle {

        width: 100px;

        height: 100px;

        font-size: 2.5rem;

    }

    

    .educational-section {

        padding: 40px 0;

    }

    

    .education-card {

        padding: 1.5rem;

    }

    

    .meanings-section {

        padding: 40px 0;

    }

    

    .section-header h2 {

        font-size: 1.8rem;

    }

    

    .meaning-card {

        padding: 1.5rem;

    }

    

    .meaning-number {

        width: 40px;

        height: 40px;

        font-size: 1.2rem;

    }

    

    .theme-tag {

        font-size: 0.8rem;

        padding: 0.3rem 0.6rem;

    }

}



/* Responsive Design */

@media (max-width: 768px) {

    /* Container and general layout */

    .container {

        padding: 15px;

        padding-top: 60px;

    }

    

    /* Hero Section Mobile */

    .hero-section {

        grid-template-columns: 1fr;

        gap: 2rem;

        padding: 60px 0 60px;
        text-align: center;

    }

    

    .hero-title {

        font-size: 2.5rem;

        line-height: 1.3;

    }

    

    .hero-subtitle {

        font-size: 1rem;

    }

    

    .hero-stats {

        justify-content: center;

        gap: 1.5rem;

    }

    

    .stat-number {

        font-size: 1.5rem;

    }

    

    .hero-buttons {

        flex-direction: column;

        align-items: center;

        gap: 1rem;

    }

    

    .hero-btn {

        width: 100%;

        max-width: 280px;

        justify-content: center;

    }

    

    .hero-matrix {

        width: 250px;

        height: 250px;

    }

    

    /* Features Section Mobile */

    .features-section {

        padding: 60px 15px;
        margin: 30px 15px;
    }

    

    .section-title {

        font-size: 2rem;

    }

    

    .features-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    

    .feature-card {

        padding: 1.5rem;

    }

    

    /* Calculator Section Mobile */

    .input-card,

    .numbers-card,

    .advanced-numbers-card,

    .matrix-card,

    .timing-card,

    .analysis-card,

    .compatibility-card,

    .karmic-card {

        padding: 25px;

        margin: 15px;
    }

    

    .form-row {

        grid-template-columns: 1fr;

    }

    

    .core-numbers,

    .advanced-numbers {

        grid-template-columns: 1fr;

        gap: 20px;

    }

    

    .analysis-tabs {

        flex-direction: column;

        align-items: center;

    }

    

    .tab-btn {

        width: 100%;

        max-width: 200px;

    }

    

    .matrix-container {

        flex-direction: column;

        align-items: center;

    }

    

    .matrix-grid {

        max-width: 300px;

    }

    

    .matrix-cell {

        font-size: 1.2rem;

    }

    

    .timing-grid {

        grid-template-columns: 1fr;

    }

    

    .karmic-content {

        grid-template-columns: 1fr;

    }

    

    .action-buttons {

        flex-direction: column;

        align-items: center;

    }

    

    .action-btn {

        width: 100%;

        max-width: 250px;

        justify-content: center;

    }

    

    /* Navigation Mobile */

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        z-index: 100;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }



    .nav-dropdown {

        width: 100%;

    }



    .dropdown-menu {

        position: static;

        background: rgba(255, 255, 255, 0.1);

        border: none;

        border-radius: 8px;

        margin-top: 0.5rem;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        max-height: 0;

        overflow: hidden;

        transition: max-height 0.3s ease;

    }

    

    .nav-toggle {

        display: flex;

    }

    

    /* Additional mobile improvements */

    .hero-visual {

        order: -1;

    }

    

    .matrix-preview {

        gap: 8px;

    }

    

    .matrix-cell {

        font-size: 1.2rem;

        border-radius: 8px;

    }

    

    /* Improve touch targets */

    .nav-link,

    .dropdown-item,

    .hero-btn,

    .action-btn {

        min-height: 44px;

        display: flex;

        align-items: center;

        justify-content: center;

    }

    

    /* Better spacing for mobile */

    .section-header {

        margin-bottom: 2rem;

    }

    

    .features-section {

        border-radius: 15px;

        margin: 20px 10px;

    }

}



@media (max-width: 480px) {

    .header h1 {

        font-size: 1.5rem;

    }

    

    .header p {

        font-size: 1rem;

    }

    

    .input-card h2,

    .numbers-card h2,

    .advanced-numbers-card h2,

    .matrix-card h2,

    .timing-card h2,

    .analysis-card h2,

    .compatibility-card h2,

    .karmic-card h2 {

        font-size: 1.5rem;

    }

    

    .number-circle {

        width: 60px;

        height: 60px;

        font-size: 1.5rem;

    }

    

    .timing-number {

        font-size: 2rem;

    }

    

    .modal-content {

        margin: 10% auto;

        padding: 25px;

    }

}



/* Loading Animation */

.loading {

    display: inline-block;

    width: 20px;

    height: 20px;

    border: 3px solid rgba(255,255,255,.3);

    border-radius: 50%;

    border-top-color: #fff;

    animation: spin 1s ease-in-out infinite;

}



@keyframes spin {

    to { transform: rotate(360deg); }

}



/* Success Animation */

.success-animation {

    animation: successPulse 0.6s ease;

}



@keyframes successPulse {

    0% { transform: scale(1); }

    50% { transform: scale(1.05); }

    100% { transform: scale(1); }

}



/* Print Styles */

@media print {

    body {

        background: white;

        color: black;

    }

    

    .header,

    .input-section,

    .action-buttons,

    .footer {

        display: none;

    }

    

    .results-section {

        display: block !important;

    }

    

    .numbers-card,

    .advanced-numbers-card,

    .matrix-card,

    .timing-card,

    .analysis-card,

    .compatibility-card,

    .karmic-card {

        box-shadow: none;

        border: 1px solid #ddd;

        page-break-inside: avoid;

    }

} 



/* Health Chart (Chakra Table) */

.health-chart-card {

    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);

    margin-bottom: 30px;

}

.health-chart-card h2 {

    text-align: center;

    margin-bottom: 25px;

    font-size: 1.5rem;

    color: #d72660;

}

.health-chart-table-container {

    overflow-x: auto;

}

.health-chart-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 1rem;

    background: #fff;

}

.health-chart-table th, .health-chart-table td {

    padding: 12px 18px;

    text-align: center;

    border-bottom: 1px solid #f0f0f0;

}

.health-chart-table th {

    background: #f8f9fa;

    color: #333;

    font-weight: 600;

}

.health-chart-table tr:last-child td {

    border-bottom: none;

}

.health-chart-result-row {

    font-weight: bold;

    background: #f8f9fa;

    color: #d72660;

}

/* Chakra row colors */

.chakra-crown { color: #6a5acd; }

.chakra-third-eye { color: #4169e1; }

.chakra-throat { color: #00bfff; }

.chakra-heart { color: #32cd32; }

.chakra-solar { color: #ffd700; }

.chakra-sacral { color: #ff8c00; }

.chakra-root { color: #ff4500; }



/* Enhanced Matrix Diagram Styles */

.matrix-diagram-card {

    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);

    border-radius: 25px;

    padding: 50px;

    box-shadow: 0 25px 50px rgba(0,0,0,0.08), 0 10px 20px rgba(0,0,0,0.04);

    margin-bottom: 40px;

    border: 1px solid rgba(102, 126, 234, 0.1);

    position: relative;

    overflow: hidden;

}



.matrix-diagram-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);

    border-radius: 25px 25px 0 0;

}



.matrix-diagram-card h2 {

    text-align: center;

    margin-bottom: 35px;

    font-size: 1.8rem;

    color: #2c3e50;

    font-weight: 700;

    position: relative;

}



.matrix-diagram-card h2::after {

    content: '';

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 60px;

    height: 3px;

    background: linear-gradient(90deg, #667eea, #764ba2);

    border-radius: 2px;

}



.matrix-diagram-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 20px;

    width: 100%;

    max-width: 700px;

    margin: 0 auto;

    position: relative;

}

/* Ensure SVG scales fluidly on all screens */
#destinyMatrixSVG {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}

/* Prevent horizontal overflow on small screens */
.matrix-diagram-card,
.matrix-diagram-container {
    overflow-x: hidden;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .matrix-diagram-card { padding: 40px 24px; }
    .matrix-diagram-container { max-width: 100%; }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .matrix-diagram-card { padding: 28px 16px; }
    .matrix-diagram-container { max-width: 100%; }
}



/* Floating legend for matrix */

.matrix-legend-floating {

    position: absolute;

    top: 0px;

    right: -72px;

    background: rgba(255,255,255,0.9);

    border: 1px solid rgba(0,0,0,0.08);

    box-shadow: 0 8px 24px rgba(0,0,0,0.12);

    border-radius: 12px;

    padding: 10px 12px;

    display: grid;

    gap: 6px;

    z-index: 2;

    font-size: 0.85rem;

}

.matrix-legend-floating .legend-group { display: flex; align-items: center; gap: 8px; }

.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.legend-swatch { width: 16px; height: 8px; border-radius: 4px; display: inline-block; }

.legend-karmic { background: #e74c3c; }

.legend-master { background: #2ecc71; }

.legend-cycle1 { background: #74c69d; opacity: 0.5; }

.legend-cycle2 { background: #4dabf7; opacity: 0.5; }

.legend-cycle3 { background: #f59f00; opacity: 0.5; }

.matrix-legend-floating .legend-note { color: #6c757d; font-size: 0.8rem; margin-top: 4px; }



@media (max-width: 1024px) {

    .matrix-legend-floating {

        /* On tablets, dock above the SVG instead of overlaying */
        position: static;

        top: auto;

        right: auto;

        margin: 0 0 12px auto; /* align to the right, add spacing below */

        z-index: 1;

    }

}



/* Tooltip and overlay enhancements */

.digit-frequency-ring .digit-slice:hover { opacity: 0.3; cursor: pointer; }

.karmic-master-badge { paint-order: stroke; stroke: #ffffff; stroke-width: 3px; }

.quadrant-label { font-size: 0.8rem; font-weight: 600; }

.life-cycle-marker { filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2)); }



/* Octagram and 22-energy styles */

.octagram-shape { filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05)); }

.octagram-spoke { opacity: 0.4; }

.energy-22-ring .energy-dot { fill: #fff; }

.pinnacles-group .pinnacle-node { filter: drop-shadow(0 2px 6px rgba(245,159,0,0.25)); }



.matrix-svg-responsive {

    width: 100%;

    height: auto;

    display: block;

    font-family: 'Inter', 'Poppins', 'Segoe UI', Arial, sans-serif;

    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));

}



#destinyMatrixSVG {

    background: transparent;

    display: block;

    margin: 0 auto;

    border-radius: 20px;

    overflow: visible;

}



/* Enhanced Node Styles */

.matrix-node {

    cursor: pointer;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



.matrix-node .node-circle { pointer-events: all; }

.matrix-node text { pointer-events: none; }

/* Matrix Symbol Styles */
.heart-symbol, .cross-symbol, .diamond-symbol, .star-symbol, .infinity-symbol {
    font-family: 'Arial Unicode MS', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif !important;
    font-weight: bold !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) !important;
}



.matrix-node:hover {

    transform: scale(1.05);

}



.node-circle {

    transition: all 0.3s ease;

    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));

}



.node-circle:hover {

    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.25));

}



.node-glow {

    animation: pulse 2s infinite;

}



.node-value {

    font-family: 'Inter', sans-serif;

    font-weight: 700;

    text-shadow: 0 2px 4px rgba(0,0,0,0.3);

    transition: all 0.3s ease;

}



.matrix-node-label {

    font-size: 0.9rem;

    fill: #2c3e50;

    text-anchor: middle;

    font-family: 'Inter', 'Poppins', sans-serif;

    font-weight: 600;

    letter-spacing: 0.02em;

    transition: all 0.3s ease;

}



.matrix-node-desc {

    font-size: 0.75rem;

    fill: #6c757d;

    text-anchor: middle;

    font-family: 'Inter', sans-serif;

    font-weight: 400;

    letter-spacing: 0.01em;

    opacity: 0.8;

    transition: all 0.3s ease;

}



/* Enhanced Highlight Styles */

.matrix-node-highlight {

    stroke: #d72660 !important;

    stroke-width: 8 !important;

    filter: drop-shadow(0 0 20px #d72660) !important;

    animation: highlightPulse 1.5s infinite;

}



/* Enhanced Age Marker Styles */

.matrix-age-label-bg {

    fill: #fff;

    opacity: 0.95;

    rx: 12;

    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));

    transition: all 0.3s ease;

}



.matrix-age-label {

    font-size: 0.85rem;

    fill: #495057;

    font-family: 'Inter', sans-serif;

    font-weight: 600;

    text-anchor: middle;

    transition: all 0.3s ease;

}



.matrix-age-label.current {

    fill: #fff;

    font-weight: 700;

    text-shadow: 0 1px 2px rgba(0,0,0,0.1);

}



.matrix-age-label-bg.current {

    fill: #d72660;

    filter: drop-shadow(0 4px 12px rgba(215, 38, 96, 0.3));

}



/* Enhanced Tooltip Styles - COMPLETELY REWRITTEN */

.matrix-tooltip {

    position: fixed !important;

    pointer-events: none;

    background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(52, 73, 94, 0.98) 100%);

    color: #fff;

    padding: 16px 20px;

    border-radius: 12px;

    font-size: 0.9rem;

    z-index: 999999 !important; /* Maximum z-index */

    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);

    min-width: 200px;

    max-width: 300px;

    text-align: left;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    opacity: 0;

    transform: translateY(10px);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

    display: none;

    visibility: hidden;

}



/* When tooltip is shown */

.matrix-tooltip.show {

    opacity: 1 !important;

    transform: translateY(0) !important;

    visibility: visible !important;

    display: block !important;

}



/* Force visibility when display is set to block */

.matrix-tooltip[style*="display: block"] {

    opacity: 1 !important;

    transform: translateY(0) !important;

    visibility: visible !important;

    pointer-events: auto !important;

    display: block !important;

}



/* Additional force rules */

.matrix-tooltip[style*="display: block"],

.matrix-tooltip.show {

    opacity: 1 !important;

    transform: translateY(0) !important;

    visibility: visible !important;

    pointer-events: auto !important;

    display: block !important;

    z-index: 999999 !important;

}



.enhanced-tooltip {

    font-family: 'Inter', sans-serif;

}



.tooltip-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 8px;

    padding-bottom: 8px;

    border-bottom: 1px solid rgba(255,255,255,0.2);

}



.tooltip-header strong {

    color: #fff;

    font-weight: 600;

    font-size: 1rem;

}



.tooltip-value {

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: #fff;

    padding: 4px 8px;

    border-radius: 6px;

    font-weight: 700;

    font-size: 0.9rem;

    min-width: 30px;

    text-align: center;

}



.tooltip-body p {

    margin: 6px 0;

    line-height: 1.4;

    color: #ecf0f1;

}



.tooltip-body strong {

    color: #3498db;

    font-weight: 600;

}



/* Particle Effects */

.floating-particle {

    animation: float 15s infinite linear;

}



.particle-effects {

    pointer-events: none;

}



/* Connection Line Styles */

.outer-ring {

    stroke: #e9ecef;

    stroke-width: 3;

    opacity: 0.8;

    transition: all 0.3s ease;

}



.star-connection {

    stroke: #dee2e6;

    stroke-width: 2;

    stroke-dasharray: 4 4;

    opacity: 0.6;

    transition: all 0.3s ease;

}



.radial-connection {

    stroke: #ced4da;

    stroke-width: 2.5;

    opacity: 0.7;

    transition: all 0.3s ease;

}



.inner-cross {

    stroke: #adb5bd;

    stroke-width: 2;

    opacity: 0.8;

    transition: all 0.3s ease;

}



.inner-mesh {

    stroke: #e9ecef;

    stroke-width: 1.5;

    stroke-dasharray: 2 2;

    opacity: 0.5;

    transition: all 0.3s ease;

}



/* Symbol Styles */

.heart-symbol, .money-symbol, .star-symbol, .infinity-symbol {

    opacity: 0;

    transform: scale(0.5);

    transition: all 0.6s ease;

    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));

}



.heart-symbol {

    animation: heartbeat 2s infinite;

}



.money-symbol {

    animation: shimmer 3s infinite;

}



.star-symbol {

    animation: twinkle 2.5s infinite;

}



.infinity-symbol {

    animation: rotate 4s infinite linear;

}



/* Age Indicator Styles */

.matrix-age-indicator {

    margin-top: 20px;

    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

    color: #2c3e50;

    font-weight: 700;

    border-radius: 25px;

    padding: 12px 30px;

    font-size: 1.1rem;

    letter-spacing: 1px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);

    border: 2px solid rgba(102, 126, 234, 0.1);

    position: relative;

    overflow: hidden;

}



.matrix-age-indicator::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);

    animation: shimmer 3s infinite;

}



#currentAge {

    color: #667eea;

    font-weight: 800;

    text-shadow: 0 1px 2px rgba(0,0,0,0.1);

}



/* Enhanced Animations */

@keyframes pulse {

    0%, 100% { opacity: 0.3; transform: scale(1); }

    50% { opacity: 0.6; transform: scale(1.05); }

}



@keyframes highlightPulse {

    0%, 100% { 

        stroke-width: 8;

        filter: drop-shadow(0 0 20px #d72660);

    }

    50% { 

        stroke-width: 10;

        filter: drop-shadow(0 0 30px #d72660);

    }

}



@keyframes float {

    0% { transform: translateY(0px) rotate(0deg); }

    50% { transform: translateY(-20px) rotate(180deg); }

    100% { transform: translateY(0px) rotate(360deg); }

}



@keyframes heartbeat {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.1); }

}



@keyframes shimmer {

    0% { opacity: 0.8; }

    50% { opacity: 1; }

    100% { opacity: 0.8; }

}



@keyframes twinkle {

    0%, 100% { opacity: 0.8; transform: scale(1); }

    50% { opacity: 1; transform: scale(1.1); }

}



@keyframes rotate {

    from { transform: rotate(0deg); }

    to { transform: rotate(360deg); }

}



/* Node Details Modal Styles */

.node-details-modal {

    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);

    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

    border: 1px solid rgba(102, 126, 234, 0.1);

    max-width: 400px;

}


/* Modal Overlay Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}


.node-details-header {

    text-align: center;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 2px solid #e9ecef;

}



.node-details-header h3 {

    color: #2c3e50;

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 10px;

}



.node-value-display {

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: #fff;

    padding: 8px 16px;

    border-radius: 12px;

    font-size: 1.2rem;

    font-weight: 700;

    display: inline-block;

    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);

}



.node-details-content {

    color: #495057;

    line-height: 1.6;

}



.node-description {

    font-size: 0.95rem;

    margin-bottom: 15px;

    color: #6c757d;

    font-style: italic;

}



.node-analysis h4, .node-significance h4 {

    color: #2c3e50;

    font-size: 1rem;

    font-weight: 600;

    margin-bottom: 8px;

}



.significance-bar {

    background: #e9ecef;

    height: 8px;

    border-radius: 4px;

    overflow: hidden;

    margin-bottom: 8px;

}



.significance-fill {

    height: 100%;

    background: linear-gradient(90deg, #667eea, #764ba2);

    border-radius: 4px;

    transition: width 0.8s ease;

}



.significance-text {

    font-size: 0.85rem;

    font-weight: 600;

    color: #667eea;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



/* Responsive Enhancements */

@media (max-width: 768px) {
    /* Mobile: keep legend as a block above the diagram */
    .matrix-legend-floating {
        position: static;
        top: auto;
        right: auto;
        margin: 0 0 12px auto;
        transform: none;
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    /* Compatibility Calculator Mobile Styles */
    .compatibility-calculator {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

    .compatibility-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .compatibility-form::before {
        display: none;
    }

    .compatibility-results {
        margin: 0 auto !important;
        padding: 1.5rem !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .compatibility-score-circle {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }

    .compatibility-score-circle::before {
        font-size: 1.5rem;
    }

    .compatibility-details {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .compatibility-detail-card {
        padding: 0.8rem;
    }

    .compatibility-detail-card h4 {
        font-size: 1.1rem;
    }

    /* Matrix Diagram Mobile Styles */
    .matrix-diagram-card {

        padding: 30px 20px;

        border-radius: 20px;

    }

    

    .matrix-diagram-card h2 {

        font-size: 1.5rem;

        margin-bottom: 25px;

    }

    

    .matrix-diagram-container {

        max-width: 100%;

        gap: 15px;

    }

    

    .matrix-svg-responsive {

        max-width: 100%;

    }

    

    .matrix-node-label {

        font-size: 0.8rem;

    }

    

    .matrix-node-desc {

        font-size: 0.65rem;

    }

    

    .matrix-age-label {

        font-size: 0.75rem;

    }

    

    .matrix-tooltip {

        min-width: 180px;

        max-width: 250px;

        padding: 12px 16px;

        font-size: 0.85rem;

    }

    

    .matrix-age-indicator {

        padding: 10px 20px;

        font-size: 1rem;

    }

}



@media (max-width: 480px) {

    /* Compatibility Calculator Small Mobile Styles */
    .compatibility-calculator {
        padding: 1.5rem 1rem;
        margin: 0 5px;
        border-radius: 20px;
    }

    .compatibility-form {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .person-input h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .person-input input {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .compatibility-icon {
        font-size: 2.5rem;
    }

    .compatibility-btn {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .compatibility-results {
        margin: 0 auto !important;
        padding: 1rem !important;
        text-align: center !important;
    }

    .compatibility-score-circle {
        width: 100px;
        height: 100px;
    }

    .compatibility-score-circle::before {
        font-size: 1.3rem;
    }

    .compatibility-detail-card {
        padding: 0.6rem;
    }

    .compatibility-detail-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .compatibility-detail-card p {
        font-size: 0.9rem;
    }

    /* Matrix Diagram Small Mobile Styles */
    .matrix-diagram-card {

        padding: 20px 15px;

    }

    

    .matrix-diagram-card h2 {

        font-size: 1.3rem;

    }

    

    .matrix-node-label {

        font-size: 0.7rem;

    }

    

    .matrix-node-desc {

        font-size: 0.6rem;

    }

    

    .matrix-age-label {

        font-size: 0.7rem;

    }

    

    .matrix-tooltip {

        min-width: 160px;

        max-width: 220px;

        padding: 10px 14px;

        font-size: 0.8rem;

    }

    

    .matrix-age-indicator {

        padding: 8px 16px;

        font-size: 0.9rem;

    }

}



/* Print Styles */

@media print {

    .matrix-diagram-card {

        box-shadow: none;

        border: 2px solid #dee2e6;

        page-break-inside: avoid;

    }

    

    .matrix-tooltip,

    .floating-particle,

    .particle-effects {

        display: none !important;

    }

    

    .matrix-node {

        cursor: default;

    }

    

    .matrix-node:hover {

        transform: none;

    }

}



/* Enhanced Footer Styles */

.social-links {

    display: flex;

    gap: 1rem;

    margin-top: 1rem;

}



.social-link {

    width: 40px;

    height: 40px;

    background: linear-gradient(45deg, #667eea, #764ba2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    text-decoration: none;

    transition: all 0.3s ease;

}



.social-link:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);

}



/* Auth Forms */





/* Enhanced Mobile Responsiveness */

@media (max-width: 768px) {

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        z-index: 100;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }



    .nav-dropdown {

        width: 100%;

    }



    .dropdown-menu {

        position: static;

        background: rgba(255, 255, 255, 0.1);

        border: none;

        border-radius: 8px;

        margin-top: 0.5rem;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        max-height: 0;

        overflow: hidden;

        transition: max-height 0.3s ease;

    }



    .nav-dropdown.active .dropdown-menu {

        max-height: 300px;

    }



    .dropdown-toggle {

        justify-content: space-between;

        width: 100%;

    }



    .dropdown-item {

        padding: 0.5rem 1rem;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        font-size: 0.9rem;

    }



    .nav-toggle {

        display: flex;

    }



    .hero-section {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 2rem;

    }



    .hero-title {

        font-size: 2.5rem;

    }



    .hero-stats {

        justify-content: center;

    }



    .hero-buttons {

        justify-content: center;

        flex-wrap: wrap;

    }



    .compatibility-form {

        grid-template-columns: 1fr;

        gap: 1rem;

    }



    .compatibility-icon {

        order: -1;

    }



    .about-content {

        grid-template-columns: 1fr;

        text-align: center;

    }



    .features-grid,

    .learn-grid,

    .pricing-grid {

        grid-template-columns: 1fr;

    }



    .pricing-card.featured {

        transform: none;

    }

}



@media (max-width: 480px) {

    .hero-title {

        font-size: 2rem;

    }



    .hero-subtitle {

        font-size: 1rem;

    }



    .hero-stats {

        flex-direction: column;

        gap: 1rem;

    }



    .section-title {

        font-size: 2rem;

    }



    .feature-card,

    .learn-card {

        padding: 1.5rem;

    }



    .compatibility-calculator {

        padding: 2rem 1.5rem;

    }

}



/* Enhanced Animations */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes slideInLeft {

    from {

        opacity: 0;

        transform: translateX(-30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



.feature-card,

.learn-card {

    animation: fadeInUp 0.6s ease forwards;

}



.hero-content {

    animation: slideInLeft 0.8s ease forwards;

}



.hero-visual {

    animation: slideInRight 0.8s ease forwards;

}



/* Enhanced Loading States */

.loading-spinner {

    width: 40px;

    height: 40px;

    border: 4px solid #f3f3f3;

    border-top: 4px solid #667eea;

    border-radius: 50%;

    animation: spin 1s linear infinite;

    margin: 0 auto;

}



/* Enhanced Tooltips */

.tooltip {

    position: relative;

    cursor: help;

}



.tooltip::after {

    content: attr(data-tooltip);

    position: absolute;

    bottom: 100%;

    left: 50%;

    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.8);

    color: white;

    padding: 0.5rem 1rem;

    border-radius: 8px;

    font-size: 0.9rem;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 1000;

}



.tooltip:hover::after {

    opacity: 1;

    visibility: visible;

    transform: translateX(-50%) translateY(-5px);

} 



/* Zoom Controls */

.matrix-zoom-controls {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;

    padding: 15px;

    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);

    border: 1px solid rgba(102, 126, 234, 0.1);

}



.zoom-control {

    display: flex;

    align-items: center;

    gap: 10px;

}



.zoom-btn {

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: #fff;

    border: none;

    border-radius: 8px;

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);

}



.zoom-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);

}



.zoom-btn:active {

    transform: translateY(0);

}



.zoom-slider {

    width: 120px;

    height: 6px;

    border-radius: 3px;

    background: #e9ecef;

    outline: none;

    -webkit-appearance: none;

    appearance: none;

}



.zoom-slider::-webkit-slider-thumb {

    -webkit-appearance: none;

    appearance: none;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: linear-gradient(135deg, #667eea, #764ba2);

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);

    transition: all 0.3s ease;

}



.zoom-slider::-webkit-slider-thumb:hover {

    transform: scale(1.1);

    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);

}



.zoom-slider::-moz-range-thumb {

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: linear-gradient(135deg, #667eea, #764ba2);

    cursor: pointer;

    border: none;

    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);

    transition: all 0.3s ease;

}



.zoom-slider::-moz-range-thumb:hover {

    transform: scale(1.1);

    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);

}



.zoom-value {

    font-size: 0.9rem;

    font-weight: 600;

    color: #2c3e50;

    min-width: 45px;

    text-align: center;

}



.zoom-reset-btn {

    background: linear-gradient(135deg, #6c757d, #495057);

    color: #fff;

    border: none;

    border-radius: 8px;

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);

}



.zoom-reset-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);

}



.zoom-reset-btn:active {

    transform: translateY(0);

}



/* Keyboard Navigation Styles */

.keyboard-selected .node-circle {

    stroke: #f39c12 !important;

    stroke-width: 6 !important;

    filter: drop-shadow(0 0 15px #f39c12) !important;

    animation: keyboardPulse 1s infinite;

}



@keyframes keyboardPulse {

    0%, 100% { 

        stroke-width: 6;

        filter: drop-shadow(0 0 15px #f39c12);

    }

    50% { 

        stroke-width: 8;

        filter: drop-shadow(0 0 25px #f39c12);

    }

}



/* Enhanced SVG Container */

#destinyMatrixSVG {

    transition: transform 0.3s ease;

    cursor: grab;

}



#destinyMatrixSVG:active {

    cursor: grabbing;

}



/* Accessibility Improvements */

.matrix-node:focus {

    outline: 2px solid #667eea;

    outline-offset: 2px;

}



.matrix-node:focus .node-circle {

    stroke: #667eea !important;

    stroke-width: 6 !important;

}



/* Enhanced Mobile Responsiveness for Zoom Controls */

@media (max-width: 768px) {

    .matrix-zoom-controls {

        flex-direction: column;

        gap: 10px;

        padding: 12px;

    }

    

    .zoom-control {

        gap: 8px;

    }

    

    .zoom-btn, .zoom-reset-btn {

        width: 32px;

        height: 32px;

    }

    

    .zoom-slider {

        width: 100px;

    }

    

    .zoom-value {

        font-size: 0.8rem;

        min-width: 40px;

    }

}



@media (max-width: 480px) {

    .matrix-zoom-controls {

        padding: 10px;

        gap: 8px;

    }

    

    .zoom-control {

        gap: 6px;

    }

    

    .zoom-btn, .zoom-reset-btn {

        width: 28px;

        height: 28px;

    }

    

    .zoom-slider {

        width: 80px;

    }

    

    .zoom-value {

        font-size: 0.75rem;

        min-width: 35px;

    }

}



/* Print Styles for Zoom Controls */

@media print {

    .matrix-zoom-controls {

        display: none !important;

    }

    

    #destinyMatrixSVG {

        transform: none !important;

        cursor: default;

    }

} 



/* Complete Plan Styles */

.pricing-card.complete {

    border: 3px solid #ffd700;

    background: linear-gradient(135deg, #fff 0%, #fff8e1 100%);

    position: relative;

    transform: scale(1.05);

    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);

}



.pricing-card.complete::before {

    content: '';

    position: absolute;

    top: -2px;

    left: -2px;

    right: -2px;

    bottom: -2px;

    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);

    border-radius: 20px;

    z-index: -1;

    animation: completeGlow 3s ease-in-out infinite;

}



.complete-badge {

    background: linear-gradient(135deg, #ffd700, #ffed4e);

    color: #2c3e50;

    font-weight: 700;

    font-size: 0.9rem;

    padding: 8px 16px;

    border-radius: 20px;

    position: absolute;

    top: -15px;

    left: 50%;

    transform: translateX(-50%);

    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);

}



.complete-btn {

    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;

    color: #2c3e50 !important;

    font-weight: 700 !important;

    border: none !important;

    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;

}



.complete-btn:hover {

    transform: translateY(-3px) !important;

    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6) !important;

}



@keyframes completeGlow {

    0%, 100% { opacity: 0.7; }

    50% { opacity: 1; }

}



/* Plan Comparison Table */

.plan-comparison {

    margin-top: 60px;

    padding: 40px;

    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

}



.plan-comparison h3 {

    text-align: center;

    color: #2c3e50;

    font-size: 1.8rem;

    font-weight: 700;

    margin-bottom: 30px;

}



.comparison-table {

    overflow-x: auto;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.1);

}



.comparison-table table {

    width: 100%;

    border-collapse: collapse;

    background: white;

    border-radius: 15px;

    overflow: hidden;

}



.comparison-table th {

    background: linear-gradient(135deg, #667eea, #764ba2);

    color: white;

    padding: 20px 15px;

    text-align: center;

    font-weight: 600;

    font-size: 0.9rem;

}



.comparison-table th:first-child {

    text-align: left;

    background: linear-gradient(135deg, #2c3e50, #34495e);

}



.comparison-table td {

    padding: 15px;

    text-align: center;

    border-bottom: 1px solid #e9ecef;

    font-size: 0.9rem;

}



.comparison-table td:first-child {

    text-align: left;

    font-weight: 600;

    color: #2c3e50;

}



.comparison-table td i.fa-check {

    color: #27ae60;

    font-size: 1.1rem;

}



.comparison-table td i.fa-times {

    color: #e74c3c;

    font-size: 1.1rem;

}



.comparison-table tr:hover {

    background: #f8f9fa;

}







/* Modal Close Button - Fixed */

.modal .close {

    position: absolute;

    top: 15px;

    right: 20px;

    font-size: 28px;

    font-weight: bold;

    color: #aaa;

    cursor: pointer;

    transition: color 0.3s ease;

    z-index: 1000;

    background: none;

    border: none;

    padding: 0;

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.modal .close:hover {

    color: #2c3e50;

}



/* Plan Badge Styles */



/* Article Page Styles */

.article-header {

    text-align: center;

    margin-bottom: 3rem;

    padding: 3rem 0;

    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));

    border-radius: 16px;

    border: 1px solid rgba(102, 126, 234, 0.2);

    margin-top: 2rem;

}



.breadcrumb {

    margin-bottom: 1.5rem;

    font-size: 1rem;

    color: white;
    font-weight: 500;

}



.breadcrumb a {

    color: #ffd700;

    text-decoration: none;

    transition: color 0.3s ease;

    font-weight: 600;

}



.breadcrumb a:hover {

    color: #fff;

    text-decoration: underline;

}



.breadcrumb span {

    color: white;
    font-weight: 400;

}



.article-title {

    font-size: 2.8rem;

    font-weight: 800;

    color: white;

    margin-bottom: 1.5rem;

    line-height: 1.2;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

}



.article-meta {

    display: flex;

    justify-content: center;

    gap: 2rem;

    color: white;
    font-size: 1rem;

    font-weight: 500;

}



.article-content {

    max-width: 800px;

    margin: 0 auto;

    line-height: 1.7;

}



.article-intro {

    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));

    padding: 2.5rem;

    border-radius: 20px;

    margin-bottom: 3rem;

    border: 2px solid rgba(102, 126, 234, 0.3);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(15px);

}



.article-intro p {

    font-size: 1.1rem;

    color: white;
    margin: 0;

}



.article-section {

    margin-bottom: 3rem;

}



.article-section h2 {

    font-size: 2rem;

    font-weight: 700;

    color: white;

    margin-bottom: 1.5rem;

    border-bottom: 3px solid #ffd700;

    padding-bottom: 0.8rem;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

}



.article-section h3 {

    font-size: 1.6rem;

    font-weight: 600;

    color: #ffd700;

    margin-bottom: 1.2rem;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

}



.article-section h4 {

    font-size: 1.3rem;

    font-weight: 600;

    color: #ffd700;

    margin-bottom: 1rem;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

}



.article-section p {

    color: white;
    margin-bottom: 1rem;

}



.article-section ul, .article-section ol {

    color: white;
    margin-bottom: 1rem;

    padding-left: 1.5rem;

}



.article-section li {

    margin-bottom: 0.5rem;

}



.article-section strong {

    color: #ffd700;

}



.calculation-example, .letter-chart, .calculation-steps, .master-numbers, .karmic-explanation, .compatibility-methods, .digital-benefits, .core-numbers-overview, .number-meaning, .master-number-meaning, .destiny-number-overview, .soul-number-insights, .personality-number-impact, .karmic-lessons, .personal-year-meanings, .integration-insights, .compatibility-principles, .compatibility-matrix, .compatibility-pair, .soul-compatibility, .soul-pair, .destiny-compatibility, .destiny-patterns, .personality-compatibility, .personality-patterns, .master-compatibility, .master-pair, .karmic-relationships, .karmic-pattern, .personal-year-compatibility, .year-patterns, .analysis-methods, .method, .improvement-strategies, .strategy, .relationship-types, .type-analysis {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    margin-bottom: 2rem;

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.letter-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 1rem;

    margin-top: 1rem;

}



.letter-group {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.letter-group span {

    color: white;
    font-family: 'Courier New', monospace;

}



.master-numbers, .karmic-lessons {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 1.5rem;

}



.master-number, .karmic-number {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    border-left: 4px solid #667eea;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.compatibility-matrix {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}



.compatibility-pair {

    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    border-left: 4px solid #ffd700;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.soul-compatibility, .destiny-compatibility, .personality-compatibility {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 1.5rem;

}



.soul-pair, .destiny-patterns, .personality-patterns {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.master-compatibility {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}



.master-pair {

    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    border-left: 4px solid #9b59b6;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.karmic-relationships {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 1.5rem;

}



.karmic-pattern {

    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    border-left: 4px solid #e74c3c;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.personal-year-compatibility {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 1.5rem;

}



.year-patterns {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.analysis-methods {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 1.5rem;

}



.method {

    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    border-left: 4px solid #27ae60;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.improvement-strategies {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 1.5rem;

}



.strategy {

    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    border-left: 4px solid #f39c12;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.relationship-types {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 1.5rem;

}



.type-analysis {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2rem;

    border-radius: 16px;

    text-align: center;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.article-conclusion {

    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));

    padding: 3rem;

    border-radius: 20px;

    margin-top: 3rem;

    border: 2px solid rgba(102, 126, 234, 0.3);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(15px);

}



.article-conclusion h2 {

    color: #ffd700;

    margin-bottom: 1rem;

}



.related-articles {

    margin-top: 4rem;

    padding-top: 3rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.related-articles h3 {

    text-align: center;

    font-size: 1.8rem;

    color: white;

    margin-bottom: 2rem;

}



.related-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

}



.related-card {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    padding: 2.5rem;

    border-radius: 20px;

    text-decoration: none;

    color: inherit;

    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(10px);

}



.related-card:hover {

    transform: translateY(-5px);

    background: rgba(255, 255, 255, 0.08);

    border-color: #667eea;

}



.related-card i {

    font-size: 2rem;

    color: #667eea;

    margin-bottom: 1rem;

    display: block;

}



.related-card h4 {

    color: #ffd700;

    margin-bottom: 0.8rem;

    font-size: 1.2rem;

}



.related-card p {

    color: white;
    font-size: 0.9rem;

    margin: 0;

}



.cta-section {

    margin-top: 4rem;

    text-align: center;

    padding: 3rem;

    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));

    border-radius: 16px;

    border: 1px solid rgba(102, 126, 234, 0.2);

}



.cta-content h3 {

    font-size: 2rem;

    color: white;

    margin-bottom: 1rem;

}



.cta-content p {

    color: white;
    margin-bottom: 2rem;

    font-size: 1.1rem;

}



.cta-btn {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    background: linear-gradient(45deg, #ffd700, #ffed4e);

    color: #333;

    padding: 1rem 2rem;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    font-size: 1.1rem;

    transition: all 0.3s ease;

    border: none;

    cursor: pointer;

}



.cta-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);

}



.cta-btn i {

    font-size: 1.2rem;

}



/* Responsive Design for Articles */

@media (max-width: 768px) {

    .article-title {

        font-size: 2rem;

    }



    .article-meta {

        flex-direction: column;

        gap: 0.5rem;

    }



    .article-section h2 {

        font-size: 1.5rem;

    }



    .article-section h3 {

        font-size: 1.3rem;

    }



    .master-numbers, .karmic-lessons, .soul-compatibility, .destiny-compatibility, .personality-compatibility, .karmic-relationships, .personal-year-compatibility, .analysis-methods, .improvement-strategies, .relationship-types {

        grid-template-columns: 1fr;

    }



    .related-grid {

        grid-template-columns: 1fr;

    }



    .cta-content h3 {

        font-size: 1.5rem;

    }

}



@media (max-width: 480px) {

    .article-title {

        font-size: 1.8rem;

    }



    .article-intro, .article-conclusion {

        padding: 1.5rem;

    }



    .calculation-example, .letter-chart, .calculation-steps, .master-numbers, .karmic-explanation, .compatibility-methods, .digital-benefits, .core-numbers-overview, .number-meaning, .master-number-meaning, .destiny-number-overview, .soul-number-insights, .personality-number-impact, .karmic-lessons, .personal-year-meanings, .integration-insights, .compatibility-principles, .compatibility-matrix, .compatibility-pair, .soul-compatibility, .soul-pair, .destiny-compatibility, .destiny-patterns, .personality-compatibility, .personality-patterns, .master-compatibility, .master-pair, .karmic-relationships, .karmic-pattern, .personal-year-compatibility, .year-patterns, .analysis-methods, .method, .improvement-strategies, .strategy, .relationship-types, .type-analysis {

        padding: 1rem;

    }



    .cta-section {

        padding: 2rem 1rem;

    }

}



/* Tools Section Styles */

.tools-section {

    padding: 4rem 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    margin: 40px 20px;
    border-radius: 20px;
}



.tools-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}



.tool-card {

    background: rgba(0, 0, 0, 0.7);
    border-radius: 16px;

    padding: 2rem;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;

    overflow: hidden;

}



.tool-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, #667eea, #764ba2);

    transform: scaleX(0);

    transition: transform 0.3s ease;

}



.tool-card:hover::before {

    transform: scaleX(1);

}



.tool-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);

}



.tool-icon {

    width: 60px;

    height: 60px;

    background: linear-gradient(135deg, #667eea, #764ba2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1.5rem;

    position: relative;

}



.tool-icon::before {

    content: '';

    position: absolute;

    top: -2px;

    left: -2px;

    right: -2px;

    bottom: -2px;

    background: linear-gradient(135deg, #667eea, #764ba2);

    border-radius: 50%;

    z-index: -1;

    opacity: 0.3;

    transition: opacity 0.3s ease;

}



.tool-card:hover .tool-icon::before {

    opacity: 0.6;

}



.tool-icon i {

    font-size: 1.8rem;

    color: white;

}



.tool-card h3 {

    font-size: 1.4rem;

    font-weight: 600;

    color: white;
    margin-bottom: 1rem;

}



.tool-card p {

    color: white;
    line-height: 1.6;

    margin-bottom: 1.5rem;

}



.tool-link {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    color: #667eea;

    text-decoration: none;

    font-weight: 500;

    transition: all 0.3s ease;

}



.tool-link:hover {

    color: #764ba2;

    transform: translateX(4px);

}



/* Life Purpose Section Styles */

.life-purpose-section {

    padding: 4rem 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    margin: 40px 20px;
    border-radius: 20px;
    color: white;

}



.purpose-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}



.purpose-card {

    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);

    border-radius: 16px;

    padding: 2rem;

    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;

    position: relative;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}



.purpose-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    opacity: 0;

    transition: opacity 0.3s ease;

}



.purpose-card:hover::before {

    opacity: 1;

}



.purpose-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);

}



.purpose-icon {

    width: 60px;

    height: 60px;

    background: rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1.5rem;

    position: relative;

}



.purpose-icon i {

    font-size: 1.8rem;

    color: #ffd700;

}



.purpose-card h3 {

    font-size: 1.4rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: white;

}



.purpose-card p {

    color: white;
    line-height: 1.6;

    margin-bottom: 1.5rem;

}



.purpose-link {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    color: #ffd700;

    text-decoration: none;

    font-weight: 500;

    transition: all 0.3s ease;

}



.purpose-link:hover {

    color: white;

    transform: translateX(4px);

}



/* Responsive Design for New Sections */

@media (max-width: 768px) {

    .tools-grid,

    .purpose-grid,
    .learn-grid {
        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    

    .tool-card,

    .purpose-card,
    .learn-card {
        padding: 1.5rem;

        margin: 10px;
    }

    

    .tool-card h3,

    .purpose-card h3,
    .learn-card h3 {
        font-size: 1.2rem;

    }

    
    .learn-section {
        padding: 60px 15px;
        margin: 30px 15px;
    }
    
    .calculator-section {
        padding: 60px 15px;
        margin: 30px 15px;
    }
    
    .tools-section {
        padding: 60px 15px;
        margin: 30px 15px;
    }
    
    .features-section {
        padding: 60px 15px;
        margin: 30px 15px;
    }
    
    .life-purpose-section {
        padding: 60px 15px;
        margin: 30px 15px;
    }
    
    .compatibility-section {
        padding: 60px 15px;
        margin: 30px 15px;
    }
}



@media (max-width: 480px) {

    .tools-section,

    .life-purpose-section,
    .learn-section,
    .calculator-section,
    .features-section,
    .compatibility-section {
        padding: 2rem 15px;
        margin: 20px 15px;
    }

    

    .tool-card,

    .purpose-card,
    .learn-card,
    .feature-card {
        padding: 1rem;

        margin: 10px;
    }

    

    .tool-icon,

    .purpose-icon {

        width: 50px;

        height: 50px;

    }

    

    .tool-icon i,

    .purpose-icon i {

        font-size: 1.5rem;

    }

}



/* Professional Matrix Structure Section */
.matrix-structure {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.matrix-structure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
}

.matrix-structure h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.matrix-structure p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Matrix Positions Section */
.matrix-positions {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.matrix-positions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
}

.matrix-positions h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.matrix-positions p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Interactive Features Section */
.interactive-features {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.interactive-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
}

.interactive-features h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.interactive-features p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-item p {
    color: #b8c5d6;
    line-height: 1.7;
    text-align: left;
}

/* Professional Interpretation Guide Section */
.interpretation-guide {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.interpretation-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
}

.interpretation-guide h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.interpretation-guide p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.interpretation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-item:hover::before {
    opacity: 1;
}

.step-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-item p {
    color: #b8c5d6;
    line-height: 1.7;
    text-align: left;
}

/* Professional Practical Applications Section */
.practical-applications {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.practical-applications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
}

.practical-applications h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.practical-applications p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Year Cycle Explanation */
.year-cycle-explanation {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

.year-cycle-explanation h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.year-cycle-explanation p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cycle-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stage-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stage-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.3);
}

.stage-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #667eea;
}

.stage-item p {
    color: #b8c5d6;
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
}

/* Professional Year Meanings Section */
.year-meanings {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.year-meanings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
}

.year-meanings h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.year-meanings p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Enhanced Matrix Cell Interactions */
.matrix-cell {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.matrix-cell::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.matrix-cell:hover::after {
    width: 120%;
    height: 120%;
}

.matrix-cell:active {
    transform: scale(0.95);
}

/* Professional Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Professional Tooltips */
.matrix-tooltip {
    position: absolute;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 250px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.matrix-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Professional Progress Indicators */
.progress-container {
    background: rgba(15, 15, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    animation: progressPulse 2s infinite;
}

@keyframes progressPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.progress-text {
    color: #b8c5d6;
    font-size: 1rem;
    font-weight: 500;
}

/* Professional Enhanced Buttons */
.calculate-btn,
.cta-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #ffffff;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.calculate-btn::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.calculate-btn:hover::before,
.cta-button:hover::before {
    left: 100%;
}

.calculate-btn:hover,
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.calculate-btn:active,
.cta-button:active {
    transform: translateY(-1px);
}

.calculate-btn:disabled,
.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Professional Form Enhancements */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.form-group input:invalid {
    border-color: rgba(255, 107, 107, 0.5);
}

.form-group input:valid {
    border-color: rgba(76, 175, 80, 0.5);
}

/* Professional Success States */
.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-color: rgba(76, 175, 80, 0.3);
}

.success h3,
.success h4 {
    color: #4caf50;
}

/* Professional Error States */
.error {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-color: rgba(255, 107, 107, 0.3);
}

.error h3,
.error h4 {
    color: #ff6b6b;
}

/* Professional Focus States */
.focus {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Professional Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Professional Glow Effects */
.glow {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.glow:hover {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

/* Professional Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional Border Gradients */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: padding-box;
    position: relative;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: inherit;
    z-index: -1;
    margin: -2px;
}

/* Save Reading Button Styles */
.save-reading-btn {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin: 1rem auto !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
    text-decoration: none !important;
}

.save-reading-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4) !important;
    background: linear-gradient(45deg, #20c997, #17a2b8) !important;
}

.save-reading-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3) !important;
}

/* Compatibility Calculator Styles (Restored) */
.calc-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.input-group label {
    color: white;
    font-weight: 500;
}

.input-group input {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    width: 100%;
}

.heart-divider {
    font-size: 2rem;
    color: #ffd700;
    animation: heartbeat 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.calc-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .hero-section {
        padding: 110px 20px 60px; /* Reduced slightly from 140px to move title up */
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle-text {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto; /* Ensure centered positioning */
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

.results-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


