* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    min-height: calc(100vh - 200px); /* Adjust 200px based on header + footer height */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #2d1b3d 25%, #4a1e5c 50%, #6b2c7a 75%, #8b3a99 100%);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

header {
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(45deg, #e6ccff, #b794f6, #9f7aea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(183, 148, 246, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #e6ccff;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #e6ccff, #b794f6);
    transition: width 0.3s ease;
}

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

.language-selector {
    position: relative;
}

.language-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(26, 0, 51, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.language-option.active {
    background: rgba(183, 148, 246, 0.2);
    color: #e6ccff;
}

.screenshots {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.screenshots h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 48px);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e6ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 80px;
}

.screenshots-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.screenshot-composition {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 800px;
}

.screenshot {
    position: absolute;
    transition: all 0.8s ease;
}

.phone-frame {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-frame.small {
    transform: scale(0.8);
}

.screen-content {
    background: linear-gradient(135deg, #1a0033 0%, #2d1b3d 100%);
    border-radius: 20px;
    padding: 20px 15px;
    height: 400px;
    width: 200px;
    overflow: hidden;
    position: relative;
}

.main-screenshot {

    z-index: 3;
}

.main-screenshot img {
    width: 300px;
}

.main-screenshot .screen-content {
    height: 500px;
    width: 250px;
}

.left-screenshot {
    top: 20%;
    left: 40%;
    transform: rotate(-5deg);
    z-index: 2;
    scale: 1.2;
}

.right-screenshot {
    top: 10%;
    right: 20%;
    transform: rotate(5deg);
    z-index: 2;
}

.app-header {
    margin-bottom: 20px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.app-header h3 {
    font-size: 18px;
    color: #e6ccff;
    text-align: center;
}

.chart-preview {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.natal-chart {
    position: relative;
}

.chart-circle {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(183, 148, 246, 0.5);
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, rgba(183, 148, 246, 0.1) 0%, transparent 70%);
}

.planet-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 16px;
    color: #e6ccff;
    animation: orbit 10s linear infinite;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateY(-40px) rotate(0deg); }
    to { transform: rotate(360deg) translateY(-40px) rotate(-360deg); }
}

.reading-preview {
    margin-top: 20px;
}

.reading-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.reading-card h4 {
    color: #e6ccff;
    margin-bottom: 8px;
    font-size: 14px;
}

.reading-card p {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.4;
}

.chart-full {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.detailed-chart {
    position: relative;
    width: 150px;
    height: 150px;
}

.houses {
    position: absolute;
    width: 100%;
    height: 100%;
}

.house {
    position: absolute;
    top: 10px;
    left: 50%;
    font-size: 12px;
    color: rgba(183, 148, 246, 0.7);
    transform-origin: 0 65px;
}

.aspects {
    position: absolute;
    width: 100%;
    height: 100%;
}

.aspect-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b794f6, transparent);
    transform-origin: 0 0;
    opacity: 0.6;
}

.transits-list {
    padding: 20px 0;
}

.transit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.transit-icon {
    font-size: 20px;
    color: #e6ccff;
}

.transit-info {
    flex: 1;
}

.transit-title {
    font-size: 12px;
    color: white;
    margin-bottom: 2px;
}

.transit-date {
    font-size: 10px;
    opacity: 0.6;
}

.floating-element {
    position: absolute;
    font-size: 24px;
    opacity: 0.6;
    animation: float-gentle 6s ease-in-out infinite;
}

.star-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.star-2 {
    top: 15%;
    right: 25%;
    animation-delay: 2s;
}

.star-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.constellation {
    bottom: 15%;
    right: 20%;
    animation-delay: 1s;
    font-size: 30px;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 0.9; }
}

/* Screenshot hover effects */
.screenshot:hover {
    transform: translate(-50%, -50%) scale(1.05);
    z-index: 10;
}

.left-screenshot:hover {
    transform: rotate(-5deg) scale(1.1);
}

.right-screenshot:hover {
    transform: rotate(5deg) scale(1.1);
}

.hero {
    text-align: center;
    padding: 100px 0 150px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(183, 148, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.hero h1 {
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e6ccff 50%, #b794f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 50px;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.back-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: #e6ccff;
    transform: translateX(-5px);
}


.page-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.page-header h1 {
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e6ccff 50%, #b794f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    text-align: center;
    margin-bottom: 60px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.last-updated strong {
    color: #e6ccff;
}

.policy-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 25px;
    padding: 60px 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b3a99, #b794f6, #e6ccff);
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #e6ccff;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #b794f6, #e6ccff);
    border-radius: 2px;
}

.policy-section h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #e6ccff;
    font-weight: 600;
}

.policy-section p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 16px;
}

.policy-section ul, .policy-section ol {
    margin: 20px 0 20px 20px;
    opacity: 0.9;
}

.policy-section li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.policy-section ul li::marker {
    color: #b794f6;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(183, 148, 246, 0.15), rgba(183, 148, 246, 0.05));
    border: 1px solid rgba(183, 148, 246, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.highlight-box h4 {
    color: #e6ccff;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}


.contact-info {
    background: linear-gradient(135deg, rgba(139, 58, 153, 0.2), rgba(183, 148, 246, 0.1));
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.contact-info h3 {
    color: #e6ccff;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #b794f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e6ccff;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.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;
}

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

.btn-primary {
    background: linear-gradient(45deg, #8b3a99, #b794f6, #e6ccff);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 58, 153, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 58, 153, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.features {
    padding: 100px 0;
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 48px);
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #e6ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 0 0 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon-chart {
    background-color: #000;
    margin-bottom: 10px;
}

.feature-icon-chart img {
    max-height: 250px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b3a99, #b794f6, #e6ccff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 58, 153, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #e6ccff;
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.6;
    padding: 0 20px;
}

.app-store {
    background: linear-gradient(135deg, rgba(139, 58, 153, 0.2), rgba(183, 148, 246, 0.1));
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-store h2 {
    font-size: clamp(32px, 5vw, 42px);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e6ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-store p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.9);
}

.store-icon {
    font-size: 24px;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text small {
    font-size: 12px;
    opacity: 0.7;
}

.store-text span {
    font-size: 16px;
    font-weight: 600;
}

footer {
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 100px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e6ccff;
}

.copyright {
    opacity: 0.5;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .language-selector {
        margin-left: auto;
    }

    .hero {
        padding: 60px 0 100px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .screenshots {
        padding: 80px 0;
    }

    .screenshot-composition {
        height: 400px;
        padding: 0 20px;
    }

    .main-screenshot .screen-content {
        height: 350px;
        width: 180px;
    }

    .left-screenshot, .right-screenshot {
        display: none;
    }

    .floating-element {
        font-size: 18px;
    }

    .features {
        padding: 60px 0;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}