/* Base Styles */
:root {
    --bg-primary: #050718;
    --bg-secondary: #0a0e2a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-primary: #8a85ff;
    --accent-secondary: #6a67ce;
    --gradient-primary: linear-gradient(135deg, #8a85ff, #6a67ce);
    --gradient-cosmic: linear-gradient(135deg, #2b1055, #7597de);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Cosmic Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(2px 2px at 50px 160px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(3px 3px at 90px 40px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(3px 3px at 160px 120px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(2px 2px at 200px 20px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(3px 3px at 240px 70px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(2px 2px at 280px 130px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(3px 3px at 320px 40px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(2px 2px at 360px 90px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(3px 3px at 400px 140px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(2px 2px at 440px 60px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
                radial-gradient(3px 3px at 480px 120px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0));
    background-size: 300px 300px;
    background-repeat: repeat;
    animation: stars-animation 200s linear infinite;
}

.twinkling {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(4px 4px at 60px 50px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
                radial-gradient(4px 4px at 120px 100px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
                radial-gradient(4px 4px at 180px 30px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
                radial-gradient(4px 4px at 240px 80px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
                radial-gradient(4px 4px at 300px 120px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
                radial-gradient(4px 4px at 360px 40px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
                radial-gradient(4px 4px at 420px 90px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0));
    background-size: 300px 300px;
    background-repeat: repeat;
    animation: twinkling-animation 100s linear infinite;
}

.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0.3;
    animation: clouds-animation 150s linear infinite;
}

@keyframes stars-animation {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

@keyframes twinkling-animation {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes clouds-animation {
    from { background-position: 0 0; }
    to { background-position: 1000px 0; }
}

/* Header Styles */
header {
    padding: 2rem 0;
    text-align: center;
}

.logo-container {
    display: inline-block;
    position: relative;
    margin-top: 3rem;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(138, 133, 255, 0.5));
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0% { filter: drop-shadow(0 0 10px rgba(138, 133, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(138, 133, 255, 0.7)); }
    100% { filter: drop-shadow(0 0 10px rgba(138, 133, 255, 0.3)); }
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
}

.title {
    font-family: 'Zhi Mang Xing', cursive;
    font-size: 6rem;
    margin-bottom: 1rem;
    background: linear-gradient(#CEC5F5, #AACAEE, #DA7CC5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(165, 163, 228, 0.2);
    font-weight: normal;
    letter-spacing: 0.05em;
    position: relative;
}

.tagline {
    font-family: 'Lexend';
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    right: 15%;
    top: 48%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: opacity 0.5s ease, transform 0.3s ease;
    z-index: 10;
    opacity: 1;
}

.scroll-arrow svg {
    width: 30px;
    height: 40px;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 3px rgba(138, 133, 255, 0.3));
    animation: float-arrow 2s ease-in-out infinite;
}

@keyframes float-arrow {
    0% { transform: translateY(0); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0); }
}

.scroll-arrow:hover svg {
    color: var(--text-primary);
    filter: drop-shadow(0 0 12px rgba(138, 133, 255, 0.6));
}

/* App Preview */
.app-preview {
    position: relative;
    margin: 2rem 0 4rem;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(45deg, #333, #111);
    border-radius: 36px;
    margin: 0 auto;
    padding: 12px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-15px); }
    100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-cosmic);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 24px;
    background-color: #111;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.app-interface {
    padding: 60px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-logo {
    width: 80px;
    height: 80px;
    background-image: url('./Storage/Src/Images/Logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 40px;
}

.app-content {
    width: 100%;
}

.content-line {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.content-line:nth-child(2) {
    width: 80%;
    animation-delay: 0.5s;
}

.content-line:nth-child(3) {
    width: 60%;
    animation-delay: 1s;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.5; }
    100% { opacity: 0.3; }
}

/* CTA Section */
.cta {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming-soon {
    font-family: 'Lexend';
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    text-align: center;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    flex-direction: row;
    align-items: center;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.099);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(138, 133, 255, 0.5);
}

.badge svg {
    width: 26px;
    height: 26px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.badge span {
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 0;
    text-align: center;
}

/* Specific styling for Apple badge */
.badge.apple svg {
    width: 24px;
    height: 24px;
}

/* Specific styling for Android badge */
.badge.android svg {
    width: 24px;
    height: 24px;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-primary);
    /*border-radius: 50% 50% 0 0 / 100% 100% 0 0;*/
}

.newsletter h2 {
    font-family: 'Lexend';
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.01em;
}

.newsletter p {
    font-family: 'Lexend';
    font-weight: 400;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 0 15px rgba(138, 133, 255, 0.5);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    min-height: 24px;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* Honeypot field for bot detection */
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--bg-primary);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-email {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-email a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .store-badges {
        flex-direction: column;
        align-items: center;
        max-width: 200px;
    }
    
    .badge {
        width: 180px;
        margin-bottom: 0.8rem;
    }
    
    .scroll-arrow {
        right: 10%;
        top: 45%;
    }
    
    .scroll-arrow svg {
        width: 35px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 3rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .form-group {
        flex-direction: column;
        border-radius: 15px;
        padding: 0.5rem;
    }
    
    .form-group input {
        padding: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        padding: 1rem;
    }

    .newsletter h2 {
        font-size: 1.8rem;
    }

    .newsletter p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .scroll-arrow {
        right: 5%;
        top: 40%;
    }
    
    .scroll-arrow svg {
        width: 40px;
        height: 60px;
    }

    .store-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .badge {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 360px) {
    .title {
        font-size: 2rem;
    }
    
    .phone-frame {
        width: 180px;
        height: 360px;
    }
    
    .newsletter h2 {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .scroll-arrow {
        right: 8%;
    }
} 