:root {
    --primary: #4285f4;
    --primary-dark: #1a73e8;
    --primary-darker: #0d5ec1;
    --secondary: #00c6ff;
    --pink: #ff006e;
    --dark: #1a1a1a;
    --darker: #121212;
    --darkest: #0a0a0a;
    --light: #f5f5f5;
    --gray: #444;
    --surface: #0a0a0a;
    --card-bg: rgba(0, 0, 0, 0.9);
    --card-glow: rgba(66, 133, 244, 0.1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Create a consistent anchor offset so JS doesn't need to compute offsets */
section { scroll-margin-top: 80px; }

.android-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Heading color animations - Blue to Pink */
@keyframes headingColorShift {
    0% { color: #4285f4; }
    50% { color: #ff006e; }
    100% { color: #4285f4; }
}

/* Limitless Possibilities color animation - Blue to Pink */
@keyframes limitlessColorShift {
    0% { color: #4285f4; }
    50% { color: #ff006e; }
    100% { color: #4285f4; }
}

/* Avoid continuous color animations on text above-the-fold to prevent style invalidations */
.heading-color-shift,
.limitless-color-shift {
    animation: none;
}
.section-title h2 {
    color: var(--primary);
}

/* Header Styles */
header {
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

/* Reserve space for header when injected via templating to avoid CLS */
#header-placeholder { min-height: 110px; display: block; contain: layout style; }

/* Mobile navigation height consistency */
@media (max-width: 780px) {
    #header-placeholder {
        min-height: 140px;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite;
    will-change: box-shadow, transform;
}

.logo-icon i {
    font-size: 24px;
    color: white;
}

.logo-text {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    will-change: color, width;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    will-change: width;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
    will-change: transform, box-shadow;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

/* Hero Section - Optimized for Mobile */
.hero {
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-radius: 40px;
    margin: 20px;
    background: var(--darkest);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                0 0 100px rgba(66, 133, 244, 0.1);
    will-change: transform;
    contain: layout style;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
    contain: layout style;
}

.hero h1 {
    font-family: 'Google Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    opacity: 1;
    transform: none;
    will-change: opacity, transform;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1;
    transform: none;
    color: rgba(255, 255, 255, 0.8);
    will-change: opacity, transform;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    opacity: 1;
    transform: none;
    justify-content: center;
    will-change: opacity, transform;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    will-change: transform, box-shadow, background, border-color;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Animated Background Elements */
.sparkles-container,
.droplets-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    border-radius: 40px;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8);
    animation: sparkleMove linear infinite;
    will-change: transform, opacity;
}

.droplet {
    position: absolute;
    width: 8px;
    height: 12px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: linear-gradient(to bottom, var(--secondary), #1e88e5);
    opacity: 0.8;
    animation: dropletFall linear infinite;
    transform: scale(0);
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
    will-change: transform, opacity;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--darkest);
    position: relative;
    border-radius: 40px;
    margin: 30px 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(66, 133, 244, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

.section-title h2 {
    font-family: 'Google Sans', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

.feature-card {
    background: rgba(20, 20, 20, 0.92);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(66, 133, 244, 0.2);
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, box-shadow, opacity;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.1); /* Subtle glow effect */
    contain: layout style;
    min-height: 220px;
}

.feature-card:hover {
    transform: translateY(-8px);
    z-index: 2;
}

.feature-card:nth-child(1):hover {
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.4);
}

.feature-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(156, 39, 176, 0.3);
    border-color: rgba(156, 39, 176, 0.4);
}

.feature-card:nth-child(3):hover {
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.4);
}

.feature-card:nth-child(4):hover {
    box-shadow: 0 15px 40px rgba(63, 81, 181, 0.3);
    border-color: rgba(63, 81, 181, 0.4);
}

.feature-card:nth-child(5):hover {
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.3);
    border-color: rgba(255, 87, 34, 0.4);
}

.feature-card:nth-child(6):hover {
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.3);
    border-color: rgba(0, 188, 212, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transition: all 0.3s ease;
    z-index: 3;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.4);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
    z-index: 3;
    position: relative;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    z-index: 3;
    position: relative;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    position: relative;
    background: var(--darkest);
    border-radius: 40px;
    margin: 30px 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(66, 133, 244, 0.1);
    transform: translateZ(0);
    contain: layout style paint;
}

.screenshots-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 700px;
    position: relative;
    perspective: 1500px;
    margin: 0 auto;
    max-width: 1200px;
}

.swiper {
    width: 100%;
    height: auto;
    min-height: 700px;
    padding-top: 50px;
    padding-bottom: 50px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    touch-action: pan-y pinch-zoom;
}

@media (max-width: 480px) {
    .screenshots-slider { min-height: 520px; }
    .swiper { min-height: 520px; }
}

.swiper-wrapper {
    align-items: center;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.swiper-slide {
    background: black;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 360px;
    height: auto;
    max-height: 775px;
    aspect-ratio: 9/19.5;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    content-visibility: auto;
    contain-intrinsic-size: 775px 360px;
}

.swiper-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 25px;
    border: 4px solid #87CEEB;
    box-sizing: border-box;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    aspect-ratio: 9 / 19.5;
    min-height: 600px;
}

.swiper-slide:not(.swiper-slide-active) {
    transform: scale(0.85) translateZ(0);
    z-index: 0;
    filter: brightness(0.7);
    will-change: transform;
}

.swiper-slide-active {
    transform: scale(1) translateZ(0);
    z-index: 10;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    will-change: transform;
}

.swiper-slide:not(.swiper-slide-active)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 96, 255, 0.3);
    border-radius: 25px;
    transform: translateZ(0);
    will-change: opacity;
}

/* Mobile performance optimizations: avoid expensive filters & overlay layer on small screens */
@media (max-width: 780px) {
    .swiper-slide { transition: transform 0.35s ease; }
    .swiper-slide:not(.swiper-slide-active) { filter: none; }
    .swiper-slide:not(.swiper-slide-active)::after { display: none; }
    .swiper { padding-top: 40px; padding-bottom: 40px; }
    .swiper, .swiper-wrapper, .swiper-slide, .swiper-slide img { will-change: auto !important; }
    .swiper-slide img { object-fit: contain; background:#000; aspect-ratio: 9 / 19.5; min-height: 400px; }
}

/* Pause heavy background animations during touch gestures for smoother swiping */
.swiper-touching .sparkle,
.swiper-touching .droplet {
    animation-play-state: paused !important;
}

.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    background: #0060ff !important;
    width: 12px;
    height: 12px;
    margin: 0 5px !important;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swipe-hint {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Download Section - Enhanced with Feedback Cards */
.download {
    padding: 100px 0;
    background: var(--darkest);
    position: relative;
    text-align: center;
    border-radius: 40px;
    margin: 30px 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(66, 133, 244, 0.1);
}

.download-content {
    max-width: 900px;
    margin: 0 auto;
}

.feedback-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feedback-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(66, 133, 244, 0.2);
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.1);
    transition: all 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.2);
    border-color: rgba(66, 133, 244, 0.4);
}

.feedback-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feedback-author {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.download-cta {
    margin-top: 40px;
}

.download-cta .btn {
    font-size: 1.1rem;
    padding: 15px 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

/* Footer */
footer {
    background: var(--darker);
    padding: 60px 0 30px;
    position: relative;
    border-radius: 40px 40px 0 0;
    margin-top: 50px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: -1;
    border-radius: 40px 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: all 0.3s ease;
    will-change: background, transform;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
}

@keyframes sparkleMove {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--sparkle-x), var(--sparkle-y));
        opacity: 0;
    }
}

@keyframes dropletFall {
    0% {
        transform: translateY(-50px) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: scale(1);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(calc(100vh + 50px)) rotate(360deg);
        opacity: 0;
    }
}

/* MOBILE NAVIGATION */
.mobile-nav-container {
    display: none;
    position: relative;
    z-index: 100;
    contain: layout style;
    min-height: 140px;
}

.mobile-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.mobile-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
    will-change: box-shadow, transform;
}

.mobile-logo i {
    font-size: 18px;
    color: white;
}

.mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    will-change: background, transform;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle i {
    font-size: 20px;
    color: white;
}

.mobile-project-name {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
    margin: 0;
    padding: 8px 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    contain: layout style;
    min-height: 2.5rem;
}

/* Mobile nav links */
.mobile-nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 15px;
    padding: 15px;
    margin: 8px 0 15px 0;
    position: relative;
    z-index: 999;
    border: 1px solid rgba(66, 133, 244, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    contain: layout style;
    will-change: transform, opacity;
}

.mobile-nav-links.active {
    display: flex;
}

.mobile-nav-links a {
    padding: 12px 16px;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    will-change: background, color;
}

.mobile-nav-links a i {
    width: 20px;
    text-align: center;
}

.mobile-nav-links a:last-child {
    margin-bottom: 0;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero { padding:80px 0 100px; }
  .hero h1 { font-size:3rem; }
  .screenshots-slider, .swiper { min-height:650px; }
  .swiper-slide { width:300px; }
}

@media (max-width: 768px) {
    /* Mobile navigation */
    .navbar,
    .logo-text {
        display: none;
    }

    .mobile-nav-container {
        display: block;
    }

.hero {
margin: 0 10px 10px 10px;
border-radius: 30px;
padding: 0px 0 10px;
min-height: 70vh;
}

    .hero h1 {
        font-size: 2.2rem;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .nav-cta {
        display: none;
    }

    .screenshots .swiper-pagination {
        display: none !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .swiper-slide:not(.swiper-slide-active) {
        filter: brightness(0.7) blur(0.5px);
    }

    .swiper-slide {
        width: 220px;
    }

    .mobile-project-name {
        font-size: 1.6rem;
    }

    .feedback-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Feature section/card layout denser and more symmetric on mobile */
    .features {
        margin: 0 10px 10px 10px;
        border-radius: 30px;
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 22px;
        border-radius: 18px;
    }
    .feature-card h3 {
        font-size: 1.25rem;
    }
    .feature-card p {
        font-size: 0.98rem;
    }
    .download {
        margin: 0 10px 10px 10px;
        border-radius: 30px;
        padding: 40px 0;
    }
    .feedback-card {
        padding: 18px;
        border-radius: 16px;
    }
    .screenshots {
        margin: 0 10px 10px 10px;
        border-radius: 30px;
        padding: 40px 0;
    }
}

@media (max-width: 600px) {
    .swiper-slide {
        width: 240px;
        height: 518px;
    }

    .screenshots-slider,
    .swiper {
        height: 580px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        height: 475px;
        width: 220px;
    }

    .screenshots-slider,
    .swiper {
        height: 530px;
    }

    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 20px; }

    .mobile-project-name {
        font-size: 1.5rem;
    }

    .hero {
        padding: 15px 0 60px;
    }
    .download-content { gap: 16px; }
    .feedback-cards { gap: 14px; }
}

/* Intersection Observer Animation */
.animate-on-scroll {
    animation: fadeUp 0.8s ease forwards;
}

.swiper-pagination {
    padding-bottom: 10px;
}

/* PERFORMANCE OPTIMIZATIONS */
.feature-card,
.swiper-slide,
.sparkle,
.droplet,
.btn,
.nav-cta,
.social-links a {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .sparkle,
    .droplet {
        display: none !important;
    }
}

/* Optimize particle animations */
.sparkle,
.droplet {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Copyright link styles */
.copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--primary);
}
