:root {
    /* Modern Color Palette */
    --primary-color: #0ea5e9; /* Sky blue - fresher and more vibrant */
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    
    --text-color: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Refined Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --radius: 16px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 6rem 0 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.hero-small {
    padding: 4rem 0 3rem;
    background: var(--surface-color);
}

.logo {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-small .logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-small .tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.description {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--surface-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-dark);
}

.cta-button.app-store {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.cta-button.app-store img {
    height: 200px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

.cta-button.app-store:hover {
    background-color: transparent;
    transform: translateY(-3px) scale(1.02);
    box-shadow: none;
}

/* Gallery Section */
.gallery-section {
    padding: 2rem 0;
    background-color: var(--surface-color);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.screenshot-carousel {
    padding: 2rem 1rem 5rem; /* Extra bottom padding for pagination */
    margin: 0 -1rem;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

/* Slide scaling effect */
.swiper-slide-active {
    transform: scale(1.05);
    z-index: 10;
}

.gallery-item {
    background: var(--surface-color);
    padding: 0.75rem; /* Frame effect */
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    max-width: 280px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.media-frame {
    width: 100%;
    aspect-ratio: 9 / 16;
}

.media-frame img,
.media-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius) - 6px);
    object-fit: cover;
    border: 0;
}

/* Video Link Styling */
.video-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.video-link:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ff0000; /* YouTube Red */
    border-color: #ff0000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255,255,255,0.9);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--surface-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    border-top: 1px solid #e2e8f0;
    padding: 5rem 0 3rem;
    text-align: center;
}

.footer h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 4rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Privacy Page Specifics */
.privacy-section {
    padding: 4rem 0;
}

.privacy-content {
    max-width: 800px;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.privacy-content section {
    margin-bottom: 3rem;
}

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

.privacy-content h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.privacy-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.privacy-content li {
    margin-bottom: 0.75rem;
}

.privacy-content strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 0;
    }
    
    .logo {
        font-size: 2.75rem;
    }
    
    .tagline {
        font-size: 1.35rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-button.app-store {
        width: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .privacy-content {
        padding: 2rem 1.5rem;
    }
}
