:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #45B7D1;
    --background-dark: #0F172A;
    --background-darker: #0B1121;
    --card-background: #1E293B;
    --text-color: #F1F5F9;
    --text-muted: #94A3B8;
    --light-text: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #FF6B6B, #FF8E53);
    --gradient-2: linear-gradient(135deg, #4ECDC4, #45B7D1);
    --card-border: 1px solid rgba(255, 255, 255, 0.1);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.logo::before {
    content: '★';
    position: absolute;
    font-size: 1rem;
    left: -5px;
    top: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.logo::after {
    content: '★';
    position: absolute;
    font-size: 1rem;
    right: -5px;
    bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.logo:hover::before,
.logo:hover::after {
    animation: twinkle 1s ease-in-out infinite alternate;
}

@keyframes twinkle {
    from {
        opacity: 0.4;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-dark);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(78, 205, 196, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(255, 107, 107, 0.1), transparent);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 500px;
}

.app-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-badges a {
    padding: 1rem 2rem;
    border-radius: 15px;
    background: var(--gradient-1);
    border: none;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-badges a:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

.app-badges a::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: 0.5s;
}

.app-badges a:hover::before {
    left: 100%;
}

.app-badges .play-store-badge {
    background: var(--gradient-2);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.app-badges .play-store-badge:hover {
    box-shadow: 0 15px 30px rgba(78, 205, 196, 0.4);
}

.app-badges i {
    font-size: 1.5rem;
}

/* Hero Image Styles */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin-left: auto;
    perspective: 1000px;
}

.floating-phone {
    position: relative;
    width: 200px;
    height: 400px;
    transform-style: preserve-3d;
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: rotateY(15deg) rotateX(-5deg) translateY(-20px);
    }
    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }
}

.floating-phone .fa-mobile-alt {
    font-size: 15rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(78, 205, 196, 0.3));
    animation: glowPhone 3s ease-in-out infinite alternate;
}

@keyframes glowPhone {
    0% {
        filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.2));
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(78, 205, 196, 0.4));
    }
}

.phone-screen {
    background: var(--card-background);
    border-radius: 15px;
    padding: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    height: 60%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: screenShine 8s linear infinite;
}

@keyframes screenShine {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

.phone-screen i {
    position: relative;
    font-size: 1.8rem;
    z-index: 1;
}

.phone-screen i:nth-child(1) {
    animation: iconAnimation 4s ease-in-out infinite;
    color: var(--primary-color);
}

.phone-screen i:nth-child(2) {
    animation: iconAnimation 4s ease-in-out infinite 1s;
    color: var(--secondary-color);
}

.phone-screen i:nth-child(3) {
    animation: iconAnimation 4s ease-in-out infinite 2s;
    color: var(--accent-color);
}

@keyframes iconAnimation {
    0% {
        transform: translateY(0) scale(1) rotate(0);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-15px) scale(1.2) rotate(10deg);
        opacity: 1;
    }
    50% {
        transform: translateY(0) scale(1) rotate(0);
        opacity: 0.5;
    }
    75% {
        transform: translateY(15px) scale(0.8) rotate(-10deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) scale(1) rotate(0);
        opacity: 0.5;
    }
}

.phone-screen i::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: currentColor;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

/* Stats Section */
.stats {
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(78, 205, 196, 0.1), transparent);
    pointer-events: none;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: var(--card-background);
    border-radius: 16px;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.stat-item p {
    color: var(--text-muted);
}

/* Features Section */
.features {
    background: var(--background-dark);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(255, 107, 107, 0.1), transparent);
    pointer-events: none;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card p {
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 2rem;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    background: var(--card-background);
    border-radius: 20px;
    padding: 3rem;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.testimonial-card p {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 1rem;
}

.user-rating {
    color: gold;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.slider-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.prev-btn,
.next-btn {
    background: var(--gradient-1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0.7;
}

.prev-btn:hover,
.next-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-card p {
        font-size: 1rem;
    }

    .prev-btn,
    .next-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: var(--background-darker);
    color: var(--light-text);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin: 0 auto;
    }

    .app-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        margin: 3rem auto 0;
        transform: scale(0.9);
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h1::after {
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-image {
        transform: scale(0.8);
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }

    .app-badges a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .app-badges a {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .app-badges i {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Tarot Card Styles */
.tarot-card {
    position: relative;
    width: 50px;
    height: 80px;
    perspective: 1000px;
    cursor: pointer;
    z-index: 10;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
    animation: cardFloat 4s ease-in-out infinite;
}

.tarot-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(69, 183, 209, 0.3);
}

.card-front {
    background: linear-gradient(135deg, #2a1f3d, #1a1528);
    border: 2px solid rgba(69, 183, 209, 0.3);
}

.card-front i {
    font-size: 2rem !important;
    color: var(--accent-color) !important;
    filter: drop-shadow(0 0 8px var(--accent-color));
    animation: none !important;
}

.card-back {
    background: linear-gradient(45deg, #1a1528, #2a1f3d);
    transform: rotateY(180deg);
    border: 2px solid rgba(69, 183, 209, 0.3);
    overflow: hidden;
}

.card-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(69, 183, 209, 0.2) 0px,
        rgba(69, 183, 209, 0.2) 2px,
        transparent 2px,
        transparent 4px
    );
    animation: patternShift 20s linear infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0);
    }
    50% {
        transform: translateY(-8px) rotateX(5deg);
    }
}

@keyframes patternShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* Phone screen layout update */
.phone-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.phone-screen > i {
    font-size: 2rem;
}

.phone-screen i:first-child {
    animation: iconFloat 4s ease-in-out infinite;
}

.phone-screen i:last-child {
    animation: iconFloat 4s ease-in-out infinite 2s;
} 