/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #e6f1ff;
    background-color: #0a192f;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(22, 22, 26, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-scrolled {
    background-color: rgba(10, 25, 47, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    color: #64ffda;
    text-transform: none;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding: 0.2rem 0;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #64ffda, transparent);
    opacity: 0.5;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #64ffda;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #64ffda;
}

/* App Privacy Section */
.app-privacy {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(17, 34, 64, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.app-privacy h3 {
    color: #64ffda;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.app-privacy h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #64ffda;
    opacity: 0.6;
}

.app-privacy p {
    color: #a8b2d1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.app-privacy p:last-child {
    margin-bottom: 0;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    color: #64ffda;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.privacy-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.privacy-link:hover {
    color: #fff;
}

.privacy-link:hover i {
    transform: translateX(5px);
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0a192f;
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 255, 218, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, rgba(100, 255, 218, 0.1), rgba(100, 255, 218, 0.05));
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    background: linear-gradient(120deg, #fff, #64ffda);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    color: #8892b0;
    margin-top: 1.5rem;
}

/* Apps section */
.apps-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #0a192f;
}

.apps-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e6f1ff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.apps-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #64ffda;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.app-card {
    background: #112240;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

.app-icon {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
}

.app-card h3 {
    margin: 1rem 0;
    color: #e6f1ff;
}

.app-card p {
    color: #8892b0;
    margin-bottom: 1.5rem;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
    padding: 0;
}

.app-buttons > * {
    flex: 0 1 140px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    background: transparent;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    width: 100%;
    white-space: nowrap;
}

.btn i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

.btn-info {
    color: #64ffda;
    border: 1px solid #64ffda;
}

.btn-info:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.btn-download {
    color: #fff;
    border: 1px solid #fff;
    background: linear-gradient(45deg, #112240, rgba(17, 34, 64, 0.8));
}

.btn-download:hover {
    background: linear-gradient(45deg, #1d3a6a, #112240);
    border-color: #64ffda;
    color: #64ffda;
    transform: translateY(-2px);
}

@media (max-width: 400px) {
    .app-buttons {
        grid-template-columns: 1fr;
    }
}

/* About section */
.about-section {
    background: #0a192f;
    padding: 5rem 2rem;
}

/* Contact Section */
.contact-section {
    background: #112240;
    padding: 5rem 2rem;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e6f1ff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contact-section h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: -10px;
    left: 25%;
    background: #64ffda;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 30px;
    text-decoration: none;
    color: #e6f1ff;
    transition: all 0.3s ease;
    min-width: 300px;
    justify-content: center;
}

.contact-link i {
    font-size: 1.2rem;
    color: #64ffda;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.contact-link span {
    font-size: 1.1rem;
}

.contact-link:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: #64ffda;
    transform: translateY(-2px);
}

.contact-link:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .contact-link {
        min-width: auto;
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
    
    .contact-link span {
        font-size: 1rem;
    }
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #e6f1ff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about-section h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: -10px;
    left: 25%;
    background: #64ffda;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: #e6f1ff;
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


/* App Detail Page Styles */
.app-detail-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #0a192f;
}

/* App Screenshots Styles */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-item {
    background: rgba(17, 34, 64, 0.6);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 1rem;
    color: #8892b0;
    font-size: 0.9rem;
    text-align: center;
}

.app-hero {
    background: linear-gradient(to bottom, #112240, #0a192f);
    padding: 6rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    overflow: hidden;
}

.app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.app-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.app-icon-large {
    font-size: 4.5rem;
    color: #64ffda;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.app-hero h1 {
    color: #e6f1ff;
    font-size: 3rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.download-btn-large {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: transparent;
    color: #64ffda;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid #64ffda;
    transition: all 0.3s ease;
}

.download-btn-large:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.app-description {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
    color: #e6f1ff;
}

.app-description h2 {
    color: #64ffda;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.app-description h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #64ffda, rgba(100, 255, 218, 0.3));
    border-radius: 2px;
}

.app-description p {
    color: #a8b2d1;
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 2.8rem;
    max-width: 850px;
    letter-spacing: 0.2px;
}

.features, .use-cases, .ideal-for, .perfect-for, .how-it-works, .note, .disclaimer {
    margin: 3.5rem 0;
    background: rgba(100, 255, 218, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.app-description h3 {
    color: #e6f1ff;
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.app-description h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #64ffda;
    opacity: 0.6;
}

.features ul, .use-cases ul, .ideal-for ul, .perfect-for ul {
    list-style: none;
    padding: 0;
}

.features li, .use-cases li, .ideal-for li, .perfect-for li {
    color: #a8b2d1;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.features li i, .use-cases li i, .ideal-for li i, .perfect-for li i {
    color: #64ffda;
    margin-right: 1rem;
    margin-top: 4px;
    font-size: 0.9rem;
}

.how-it-works ol {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.how-it-works li {
    color: #a8b2d1;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.note, .disclaimer {
    background: rgba(100, 255, 218, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.note p, .disclaimer p {
    color: #8892b0;
    font-size: 1rem;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

.use-case p {
    color: #a8b2d1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.app-screenshots {
    margin-top: 3rem;
}

.app-screenshots h3 {
    color: #e6f1ff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.screenshot-placeholder {
    background: #112240;
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: #8892b0;
}

/* Footer */
.footer {
    background: #0a192f;
    color: #8892b0;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

/* Additional Animations */
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}

/* Hero Graphics */
.hero-graphics {
    position: relative;
    margin-top: 2rem;
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.floating-icons {
    position: relative;
    height: 200px;
    width: 200px;
    margin: 0 auto;
}

.floating-icons i {
    position: absolute;
    color: #64ffda;
    font-size: 2rem;
    animation: floatIcon 3s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.floating-icons i:nth-child(3) {
    bottom: 20%;
    left: 45%;
    animation-delay: 2s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        margin: 0 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }
}