:root {
    --bg-color: #0d0a15;
    --text-primary: #ffffff;
    --text-secondary: #a09eb5;
    --accent-light: #b388ff;
    --accent-primary: #6a1b9a;
    --accent-dark: #4a148c;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.blob {
    position: absolute;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.blob-2 {
    bottom: 100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(13, 10, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(106, 27, 154, 0.3);
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    flex: 1;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent-light);
    background: linear-gradient(90deg, var(--accent-light), #e1bee7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 27, 154, 0.4);
}

.features {
    display: flex;
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex: 1;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-light);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 250px;
    height: 540px;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s, z-index 0.6s, filter 0.6s;
    cursor: pointer;
    border-radius: 32px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    overflow: hidden;
    will-change: transform, opacity;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 32px;
    border: 6px solid #1a1525;
}

/* Base states for the 3D effect */
.carousel-item.active {
    transform: translateX(0) scale(1) translateZ(0);
    opacity: 1;
    z-index: 3;
    filter: brightness(1) drop-shadow(0 0 20px rgba(179, 136, 255, 0.3));
}

.carousel-item.prev {
    transform: translateX(-140px) scale(0.85) translateZ(-100px) rotateY(20deg);
    opacity: 0.6;
    z-index: 2;
    filter: brightness(0.5);
}

.carousel-item.next {
    transform: translateX(140px) scale(0.85) translateZ(-100px) rotateY(-20deg);
    opacity: 0.6;
    z-index: 2;
    filter: brightness(0.5);
}

.carousel-item.hidden-back {
    transform: translateX(0) scale(0.7) translateZ(-200px);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Nav Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
    background: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--accent-light);
}

.carousel-nav-btn.prev {
    left: -30px;
}

.carousel-nav-btn.next {
    right: -30px;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

/* Page content for support and privacy */
.page-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    width: 100%;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    letter-spacing: -1px;
}

.content-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.content-box h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
    font-size: 1.5rem;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p, .content-box ul {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-box ul {
    padding-left: 1.5rem;
}

.support-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.support-email {
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.support-email:hover {
    background: var(--accent-primary);
    border-color: var(--accent-light);
}

.inline-email-btn {
    display: inline-block;
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.inline-email-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-light);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.95rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .features {
        flex-direction: column;
    }
    
    .carousel-wrapper {
        max-width: 100%;
        height: 400px;
        margin-top: 1rem;
    }
    .carousel-container {
        width: 180px;
        height: 390px;
    }
    .carousel-item.prev {
        transform: translateX(-90px) scale(0.85) translateZ(-80px) rotateY(15deg);
    }
    .carousel-item.next {
        transform: translateX(90px) scale(0.85) translateZ(-80px) rotateY(-15deg);
    }
    .carousel-nav-btn.prev {
        left: 0;
    }
    .carousel-nav-btn.next {
        right: 0;
    }
    
    .content-box {
        padding: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }

    .support-contact {
        gap: 1rem;
    }

    .support-email {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

