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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
    gap: 20px;
    position: relative;
}

.nav-logo a {
    font-size: 26px;
    font-weight: 800;
    color: #4a4a4a;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-logo a::before {
    content: '✦';
    font-size: 20px;
    margin-right: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.8; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #4a4a4a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:white;stop-opacity:0.1"/><stop offset="100%" style="stop-color:white;stop-opacity:0"/></radialGradient></defs><circle cx="100" cy="100" r="3" fill="url(%23a)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/></circle><circle cx="900" cy="200" r="2" fill="url(%23a)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite" begin="1s"/></circle><circle cx="300" cy="800" r="2.5" fill="url(%23a)"><animate attributeName="opacity" values="0;1;0" dur="5s" repeatCount="indefinite" begin="2s"/></circle><circle cx="700" cy="600" r="2" fill="url(%23a)"><animate attributeName="opacity" values="0;1;0" dur="3.5s" repeatCount="indefinite" begin="0.5s"/></circle><circle cx="500" cy="300" r="1.5" fill="url(%23a)"><animate attributeName="opacity" values="0;1;0" dur="4.5s" repeatCount="indefinite" begin="1.5s"/></circle></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 18px 36px;
    border: none;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.create-map-btn:hover {
    background: rgba(255,255,255,1) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,255,255,0.4);
    color: #5a67d8 !important;
}

.hero-visual {
    position: relative;
}

.interactive-map-preview {
    width: 100%;
    height: 450px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.interactive-map-preview::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1), rgba(255,255,255,0.4));
    border-radius: 25px;
    z-index: -1;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 25px 80px rgba(102, 126, 234, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Advanced Calculator Section */
.calculator {
    padding: 120px 0;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

.calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.calculator h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.calculator-container {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.birth-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.birth-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.birth-form h3 {
    margin-bottom: 30px;
    color: #4a4a4a;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a4a4a;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.form-group small {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    display: block;
}

.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

/* Advanced Options Styling */
.advanced-options {
    margin: 30px 0;
}

.toggle-advanced {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.toggle-advanced:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.toggle-advanced.active .toggle-icon {
    transform: rotate(180deg);
}

.advanced-content {
    margin-top: 20px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Planet Checkboxes */
.planet-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(102, 126, 234, 0.3);
}

.checkbox-label input {
    margin-right: 8px;
    width: auto !important;
}

.planet-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Location Suggestions */
.location-suggestions {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 100;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.suggestion-item {
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
}

.suggestion-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-city {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 3px;
}

.suggestion-country {
    color: #6c757d;
    font-size: 12px;
}

.suggestion-coordinates {
    color: #999;
    font-size: 11px;
    margin-top: 3px;
}

/* Selected Location Display */
.selected-location {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    margin-top: 8px;
    position: relative;
}

.selected-location-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-location-text {
    flex: 1;
}

.selected-city {
    font-weight: 600;
    color: #667eea;
    font-size: 14px;
}

.selected-country {
    color: #6c757d;
    font-size: 12px;
    margin-top: 2px;
}

.selected-coordinates {
    color: #999;
    font-size: 11px;
    margin-top: 2px;
}

.clear-location {
    background: transparent;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-location:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

.astrocartography-map {
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.control-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #667eea;
}

.control-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.layer-panel {
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 180px;
}

.layer-panel h4 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
}

.layer-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: #4a4a4a;
    cursor: pointer;
}

.layer-option input {
    margin-right: 8px;
}

.location-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: 20px;
    margin-top: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.energy-reading {
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

/* Content Section */
.content {
    padding: 100px 0;
    background: white;
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.main-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4a4a4a;
    text-align: center;
}

.main-content h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #4a4a4a;
}

.main-content p {
    margin-bottom: 20px;
    color: #5a5a5a;
    text-align: justify;
}

.main-content ul {
    margin: 20px 0 20px 30px;
}

.main-content li {
    margin-bottom: 10px;
    color: #5a5a5a;
}

.main-content strong {
    color: #4a4a4a;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

/* Social Share Buttons */
.social-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-share-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-share-btn.facebook {
    background: #1877f2;
}

.social-share-btn.facebook:hover {
    background: #166fe5;
}

.social-share-btn.twitter {
    background: #000000;
}

.social-share-btn.twitter:hover {
    background: #333333;
}

.social-share-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-share-btn.instagram:hover {
    background: linear-gradient(45deg, #e6883c 0%, #d85a35 25%, #cf1f3c 50%, #bf1f5f 75%, #af1081 100%);
}

.social-share-btn.pinterest {
    background: #bd081c;
}

.social-share-btn.pinterest:hover {
    background: #a5071a;
}

.social-share-btn.linkedin {
    background: #0077b5;
}

.social-share-btn.linkedin:hover {
    background: #006ea1;
}

.social-share-btn.copy-link {
    background: #667eea;
}

.social-share-btn.copy-link:hover {
    background: #5a6fd8;
}

.social-share-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-buttons {
        justify-content: center;
    }
    
    .social-share-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-share-btn svg {
        width: 18px;
        height: 18px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    color: #bdc3c7;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .calculator {
        padding: 60px 0;
    }
    
    .calculator h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .content {
        padding: 60px 0;
    }
    
    .main-content h2 {
        font-size: 2rem;
    }
    
    .main-content h3 {
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .birth-form {
        padding: 30px 20px;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

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

/* Map Styles */
.leaflet-container {
    border-radius: 20px;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Advanced Popup Styles */
.advanced-popup {
    min-width: 280px;
    font-family: inherit;
}

.advanced-popup h4 {
    margin-bottom: 12px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
}

.energy-bar {
    background: #f1f1f1;
    border-radius: 10px;
    height: 8px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

.energy-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
    position: relative;
}

.energy-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.energy-label {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.line-description {
    font-size: 13px;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 12px 0;
}

.line-themes {
    margin: 10px 0;
}

.theme-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin: 2px 3px 2px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.birth-info {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.birth-info small {
    color: #999;
    font-size: 11px;
}

/* Crossing Popup Styles */
.crossing-popup {
    min-width: 260px;
}

.crossing-popup h4 {
    color: #ff6b6b;
    margin-bottom: 10px;
    font-size: 15px;
}

.crossing-lines {
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.4;
}

/* Birth Location Popup */
.birth-popup {
    min-width: 240px;
}

.birth-popup h4 {
    color: #27ae60;
    margin-bottom: 10px;
}

/* Location Analysis Styles */
.influence-strength {
    margin: 15px 0;
}

.strength-label {
    font-size: 12px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 5px;
    display: block;
}

.strength-bar {
    background: #f1f1f1;
    border-radius: 8px;
    height: 6px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 0.6s ease;
}

.influence-description {
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0;
    color: #4a4a4a;
}

.influence-themes {
    margin: 12px 0;
}

.influence-themes strong {
    font-size: 12px;
    color: #1a1a1a;
    display: block;
    margin-bottom: 5px;
}

.additional-influences {
    margin: 10px 0;
    font-size: 12px;
    color: #666;
}

.additional-influences strong {
    color: #4a4a4a;
}

.location-advice {
    background: rgba(102, 126, 234, 0.05);
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    margin: 12px 0;
    font-size: 12px;
    line-height: 1.5;
}

.location-advice strong {
    color: #667eea;
}

/* Custom Icon Styles */
.custom-icon {
    background: none;
    border: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Personalized Recommendations Section */
.recommendations {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.recommendations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.recommendations h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.recommendation-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.recommendation-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 15px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.recommendation-content {
    margin: 40px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.recommendation-header {
    text-align: center;
    margin-bottom: 40px;
}

.recommendation-header h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

.recommendation-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.location-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.location-card:hover::before {
    transform: translateX(0);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.location-flag {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.location-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.location-country {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-description {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.location-energy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.energy-level {
    flex: 1;
    height: 6px;
    background: #f1f1f1;
    border-radius: 3px;
    overflow: hidden;
}

.energy-level-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #f093fb 100%);
    border-radius: 3px;
    transition: width 1s ease;
}

.energy-text {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
}

.location-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.line-badge {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommendation-footer {
    background: rgba(102, 126, 234, 0.05);
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
}

.recommendation-note {
    margin-bottom: 30px;
}

.recommendation-note h4 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

.recommendation-note ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    color: #4a4a4a;
    line-height: 1.8;
}

.recommendation-note li {
    margin-bottom: 8px;
}

.recommendation-note li strong {
    color: #667eea;
}

/* Responsive Design for Recommendations */
@media screen and (max-width: 768px) {
    .recommendations {
        padding: 80px 0;
    }
    
    .recommendations h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .recommendation-container {
        padding: 30px 20px;
    }
    
    .recommendation-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .location-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .location-card {
        padding: 25px 20px;
    }
    
    .recommendation-footer {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .recommendation-header h3 {
        font-size: 1.6rem;
    }
    
    .recommendation-header p {
        font-size: 1rem;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* Save Chart Option Styles */
.save-chart-option {
    text-align: center;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    border: 1px dashed rgba(102, 126, 234, 0.3);
}

.save-chart-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.save-chart-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Location Suggestions Styles */
.location-suggestions {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 100;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-city {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.suggestion-country {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 2px;
}

.suggestion-coordinates {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 3px;
    font-family: 'Courier New', monospace;
}

/* Selected Location Display */
.selected-location {
    margin-top: 10px;
    padding: 12px 16px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-location-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.selected-location-text {
    flex: 1;
}

.selected-city {
    font-weight: 600;
    color: #667eea;
    font-size: 0.95rem;
}

.selected-country {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 2px;
}

.selected-coordinates {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 3px;
    font-family: 'Courier New', monospace;
}

.clear-location {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.clear-location:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: scale(1.1);
}

/* Navigation Auth Section */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.nav-auth-btn {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sign-in-btn {
    color: #667eea;
    border: 2px solid #667eea;
    background: transparent;
}

.sign-in-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.sign-in-btn.active {
    background: #667eea;
    color: white;
}

.sign-up-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.sign-up-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.dashboard-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: 2px solid transparent;
}

.dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.logout-btn {
    color: #e74c3c;
    border: 2px solid #e74c3c;
    background: transparent;
}

.logout-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Update nav-menu positioning */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-10%);
}

/* Remove old auth navigation styles */
.auth-nav-item .nav-link {
    background: none;
    color: inherit;
    padding: inherit;
    border-radius: inherit;
    font-weight: inherit;
}

.auth-nav-item .nav-link:hover {
    transform: none;
    box-shadow: none;
}

/* Mobile Navigation Updates */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        flex-wrap: nowrap;
        height: 70px;
        padding: 0 20px;
    }

    .nav-menu {
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
        display: none;
        gap: 0;
        transform: none;
        left: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-item {
        margin-bottom: 15px;
    }

    .nav-auth {
        gap: 8px;
        margin-left: 0;
    }

    .nav-auth-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}