@font-face {
    font-family: 'ClashDisplay';
    src: url('ClashDisplay-Variable.ttf') format('truetype-variations');
    font-weight: 200 700;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('InterVariable.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-display: swap;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    padding-bottom: 80px;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,0,150,0.1), rgba(0,255,255,0.1));
    animation: float 6s ease-in-out infinite;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

header {
    padding: 20px 0;
    text-align: center;
}

.logo {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    display: inline-block;
}

.hero {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.hero h1 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero .subtitle {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 600;
}

.hero .description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.app-store-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    height: 60px;
    width: auto;
}

/* Social Media Links */
.social-links {
    margin-top: 40px;
    text-align: center;
}

.social-prompt {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-icon:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.social-icon svg {
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* 3D Screenshot Carousel */
.screenshots {
    background: white;
    padding: 80px 0;
}

.screenshots h2 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.screenshots-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 50px;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 600px;
    perspective: 1200px;
    overflow: visible;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.screenshot-slide-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 500px;
    transform-origin: center center;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
}

.screenshot-slide-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.6s ease;
}

/* Center slide (active) */
.screenshot-slide-3d.active {
    transform: translate(-50%, -50%) translateZ(0) scale(1);
    z-index: 10;
}

.screenshot-slide-3d.active img {
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Left slide */
.screenshot-slide-3d.left {
    transform: translate(-50%, -50%) translateX(-350px) translateZ(-200px) rotateY(35deg) scale(0.8);
    z-index: 5;
    opacity: 0.7;
}

/* Right slide */
.screenshot-slide-3d.right {
    transform: translate(-50%, -50%) translateX(350px) translateZ(-200px) rotateY(-35deg) scale(0.8);
    z-index: 5;
    opacity: 0.7;
}

/* Hidden slides */
.screenshot-slide-3d.hidden {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 1;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 20;
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-arrow.prev {
    left: 50px;
}

.carousel-arrow.next {
    right: 50px;
}

.features {
    background: #f8f9ff;
    padding: 80px 0;
}

.features h2 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f2ff);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 1.1rem;
}

.social-proof {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.social-proof h2 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 900;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.final-cta {
    background: #1a1a2e;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

footer {
    background: #0f0f23;
    color: white;
    padding: 40px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-social .social-icons {
    gap: 15px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

.footer-social .social-icon:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0;
}

/* Page-specific styles for privacy/terms pages */
.page-hero {
    text-align: center;
    color: white;
    margin-top: 40px;
}

.page-hero h1 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content {
    background: white;
    margin: -50px auto 0;
    border-radius: 20px 20px 0 0;
    padding: 60px 40px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.content h2 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 15px 0;
    color: #333;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

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

.content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
}

.content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.content li {
    margin-bottom: 8px;
    color: #555;
}

.content strong {
    color: #333;
}

.content a {
    color: #667eea;
    text-decoration: underline;
}

.content a:hover {
    color: #764ba2;
}

.last-updated {
    background: linear-gradient(45deg, #f8f9ff, #e8ecff);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.contact-info {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.contact-info h3 {
    font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(45deg, rgba(255,107,107,0.1), rgba(255,142,83,0.1));
    border-left: 4px solid #ff6b6b;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.back-link {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .stats {
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .carousel-container {
        height: 500px;
        perspective: 800px;
    }
    
    .screenshot-slide-3d {
        width: 250px;
        height: 400px;
    }
    
    .screenshot-slide-3d.left {
        transform: translate(-50%, -50%) translateX(-280px) translateZ(-150px) rotateY(35deg) scale(0.7);
    }
    
    .screenshot-slide-3d.right {
        transform: translate(-50%, -50%) translateX(280px) translateZ(-150px) rotateY(-35deg) scale(0.7);
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-arrow.prev {
        left: 20px;
    }
    
    .carousel-arrow.next {
        right: 20px;
    }
    
    .content {
        padding: 40px 25px;
        margin: -30px 15px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(255,107,107,0.4); }
    50% { box-shadow: 0 4px 25px rgba(255,107,107,0.8); }
    100% { box-shadow: 0 4px 15px rgba(255,107,107,0.4); }
}