:root {
    --primary-color: #6200EA;
    --primary-light: #9D46FF;
    --primary-dark: #0A00B6;
    --accent-color: #FFD700;
    --bg-light: #F8F9FA;
    --surface-light: #ffffff;
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --white: #ffffff;
    --black: #000000;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Header & Navigation */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo-container img {
    height: 50px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 0, 234, 0.4);
}

/* Hero Section */
.hero {
    padding: 100px 5% 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    background: radial-gradient(circle at top right, rgba(157, 70, 255, 0.1), transparent);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Features Grid */
.section-title {
    text-align: center;
    margin: 80px 0 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.features-grid, .horoscope-grid, .astrologers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 5% 80px;
}

.feature-card, .horoscope-card, .astro-card {
    background: var(--surface-light);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out, box-shadow 0.3s;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.active, .horoscope-card.active, .astro-card.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover, .horoscope-card:hover, .astro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(98, 0, 234, 0.1);
}

.feature-icon, .zodiac-icon {
    width: 70px;
    height: 70px;
    background: rgba(98, 0, 234, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.btn-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

/* Horoscope Specific */
.horoscope-header, .chat-hero, .kundali-hero {
    text-align: center;
    padding: 80px 5% 40px;
    background: linear-gradient(to bottom, rgba(98, 0, 234, 0.05), transparent);
}

.horoscope-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface-light);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-row { display: flex; gap: 1.5rem; }
.form-row .form-group { flex: 1; }

label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
input, select {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fdfdfd;
    font-size: 1rem;
}

/* Astro Cards Specific */
.astro-card { text-align: left; padding: 1.5rem; }
.astro-header { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.astro-img-container { position: relative; }
.astro-img-container img {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--primary-light);
}
.status-badge {
    position: absolute; bottom: 5px; right: 5px; width: 15px; height: 15px;
    border-radius: 50%; border: 2px solid white;
}
.status-badge.online { background: #4CAF50; }
.status-badge.offline { background: #9E9E9E; }
.astro-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #eee; padding-top: 1.2rem;
}
.cost { font-weight: 700; color: var(--primary-dark); font-size: 1.2rem; }

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 5% 20px;
}

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

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.8rem; }
.footer-section ul li a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-bottom {
    text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    nav { display: none; }
    .form-row { flex-direction: column; gap: 0; }
}
