/* 
   Astralia - Fresh Modern Design
   Theme: Deep Midnight Blue & Vibrant Violet
*/

:root {
    /* Colors */
    --bg-main: #0F172A;
    --bg-secondary: #1E293B;
    --primary: #8B5CF6;
    --primary-hover: #7C3AED;
    --accent: #06B6D4;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-bg: radial-gradient(circle at top right, #1E1B4B, #0F172A);
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 100px;
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

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

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

.align-center {
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 600;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94A3B8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.phone-frame {
    background: #000;
    border-radius: 40px;
    padding: 12px;
    border: 4px solid #333;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.chat-screen {
    background: #111b21;
    border-radius: 30px;
    height: 550px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.msg {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.msg.bot {
    background: #202c33;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.msg.user {
    background: #005c4b;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 0.75rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-img img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.feature-list h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Zodiac Section */
.zodiac {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-main));
}

.zodiac-wheel-container {
    margin-top: 3rem;
    position: relative;
    display: inline-block;
}

.wheel-img {
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.stars {
    color: #F59E0B;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-main);
}

.author {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.step {
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-card .btn-primary {
    background: white;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 4rem;
    color: var(--text-muted);
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        transform: translateX(0);
        display: flex;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    /* Mobile Header Adjustments */
    :root {
        --header-height: 70px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

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

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}