/* =====================
   CSS Reset & Base Styles
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================
   Header & Navigation
   ===================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.02em;
}

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

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

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

/* =====================
   Hero Slider Section (Like Acorn TCG)
   ===================== */
.hero-slider {
    background: linear-gradient(135deg, #f6f8fc 0%, #e9ecf5 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.container-full {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-slider-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Content */
.hero-content-left {
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.hero-main-subtitle {
    display: none;
}

.hero-description {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 480px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.4);
}

.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #000;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-appstore-android {
    background: white;
    color: #1f2937;
    border: 1px solid #dadce0;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.hero-rating {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
}

.rating-stars {
    font-size: 1.125rem;
    line-height: 1;
}

.rating-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.hero-users {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.users-avatars {
    display: flex;
    margin-left: -0.5rem;
}

.users-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.users-avatars img:first-child {
    margin-left: 0;
}

.users-count {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.users-text {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Right Content - Screenshots Slider */
.hero-screenshots {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.screenshots-slider {
    display: flex;
    gap: 1.5rem;
    overflow: visible;
    position: relative;
    padding: 2rem 0;
    justify-content: center;
}

.screenshot-slide {
    min-width: 100%;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-slide img {
    width: 180px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.screenshot-slide img:nth-child(2) {
    transform: scale(1.1) translateY(-10px);
    z-index: 2;
}

.screenshot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.loader-small {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

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

.dot.active {
    background: #000000;
    width: 32px;
    border-radius: 5px;
}

.dot:hover {
    background: #9ca3af;
}

/* =====================
   Apps Section
   ===================== */
.apps-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    padding: 0;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.apps-section-wrapper {
    position: relative;
    padding: 0;
    overflow: visible;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.apps-grid {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    position: relative;
}

.apps-grid .app-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.apps-grid.dragging {
    cursor: grabbing;
    transition: none;
}

.apps-grid .app-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: calc((100% - 3rem) / 3);
    pointer-events: auto;
    transform: translateX(0);
    will-change: transform;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e5e7eb;
    color: #1f2937;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.75rem;
    font-weight: 400;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

.slider-nav-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.slider-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-nav-btn.prev {
    left: -60px;
}

.slider-nav-btn.next {
    right: -60px;
}

/* =====================
   App Card - Horizontal Layout
   ===================== */
.app-card {
    background: var(--bg-white);
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.75rem;
}

.app-card:hover {
    border-color: #d1d5db;
}

/* Layout: Icon and Button at same height, content below */
.app-card-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 1rem 1rem;
    align-items: start;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    grid-column: 1;
    grid-row: 1;
}

.app-content {
    grid-column: 1 / -1;
    grid-row: 2;
}

.app-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.app-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.app-featured {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-rating {
    display: none;
}

.app-rating .rating-stars {
    font-size: 0.875rem;
    line-height: 1;
}

.app-rating .rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.get-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: #007AFF;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 80px;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
}

.get-button-android {
    background: white;
    color: #1f2937;
    border: 1px solid #dadce0;
}

.get-button-android:hover {
    background: white;
    transform: none;
}

.get-button::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.get-button-android::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%2334A853'%3E%3Cpath d='M3,20.5V3.5C3,2.91 3.34,2.39 3.84,2.15L13.69,12L3.84,21.85C3.34,21.6 3,21.09 3,20.5M16.81,15.12L6.05,21.34L14.54,12.85L16.81,15.12M20.16,10.81C20.5,11.08 20.75,11.5 20.75,12C20.75,12.5 20.53,12.9 20.18,13.18L17.89,14.5L15.39,12L17.89,9.5L20.16,10.81M6.05,2.66L16.81,8.88L14.54,11.15L6.05,2.66Z'/%3E%3C/svg%3E");
}

.get-button:hover {
    background: #0051D5;
    transform: translateY(-1px);
}

.get-button-android:hover {
    background: white !important;
    transform: none !important;
}

.get-button:active {
    transform: translateY(0);
}

/* =====================
   Screenshots Section
   ===================== */
.app-screenshots {
    padding: 0;
    border-top: none;
    margin-left: -1.75rem;
    margin-right: -1.75rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.app-screenshots:not(:empty) {
    margin-top: 1rem;
}

.screenshots-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    max-width: 100%;
    justify-content: center;
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    width: 100px;
    height: 180px;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    border-radius: 12px;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-img {
    width: 100px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    display: block;
}

/* =====================
   Loading & Error States
   ===================== */
.loading {
    text-align: center;
    padding: 4rem 0;
}

.loader {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    text-align: center;
    padding: 4rem 0;
    color: #dc2626;
}

/* =====================
   Testimonials Section
   ===================== */
.testimonials-section {
    padding: 5rem 0;
    background: #1a202c;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
}

.testimonial-card {
    background: #2d3748;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 0 0 calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
    animation: float 6s ease-in-out infinite;
}

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

.testimonial-card:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.5s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 1s;
}

.testimonial-card:nth-child(4) {
    animation-delay: 1.5s;
}

.testimonial-card:nth-child(5) {
    animation-delay: 2s;
}

.testimonial-card:nth-child(6) {
    animation-delay: 2.5s;
}

.testimonial-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation-play-state: paused;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.testimonial-username {
    font-size: 0.875rem;
    color: #a0aec0;
}

.testimonial-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.testimonials-loading {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

/* =====================
   FAQ Section
   ===================== */
.faq-section {
    padding: 4rem 0;
    background: #ffffff;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1f2937;
    user-select: none;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    fill: #6b7280;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.875rem;
}

.faq-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

/* =====================
   About Section
   ===================== */
.about-section {
    padding: 5rem 0;
    background: #f9fafb;
}

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

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.about-text {
    color: var(--text-secondary);
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: #4b5563;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* =====================
   Footer
   ===================== */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 350px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.footer-brand p {
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 0;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* =====================
   Screenshot Modal
   ===================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#modalImage {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #ccc;
}

.modal-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* =====================
   Mobile Menu (Hamburger)
   ===================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 1024px) {
    .container, .container-full {
        padding: 0 1.25rem;
    }

    .hero-slider-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-slider {
        padding: 3rem 0;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-content-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .slider-nav-btn {
        width: 44px;
        height: 44px;
    }

    .slider-nav-btn.prev {
        left: -50px;
    }

    .slider-nav-btn.next {
        right: -50px;
    }

    .apps-grid .app-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        min-width: calc((100% - 1.5rem) / 2);
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 2rem) / 2);
        max-width: calc((100% - 2rem) / 2);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        opacity: 0;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 1.5rem;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        font-size: 1rem;
        width: 100%;
    }

    /* Hero Section Mobile */
    .hero-slider {
        padding: 1.5rem 0;
    }

    .hero-slider-wrapper {
        gap: 1.5rem;
    }

    .hero-content-left {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hero-main-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        margin-top: 2rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        -webkit-line-clamp: 3;
        max-width: 100%;
        line-height: 1.4;
        padding: 0 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.25rem;
    }

    .btn-primary,
    .btn-appstore {
        width: auto;
        max-width: fit-content;
        min-width: 160px;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        align-self: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .hero-rating,
    .hero-users {
        align-items: center;
        text-align: center;
    }

    .rating-number {
        font-size: 1.75rem;
    }

    .users-count {
        font-size: 1.125rem;
    }

    .screenshot-slide {
        gap: 1rem;
        justify-content: center;
    }

    .screenshot-slide img {
        width: 100px;
    }

    .screenshot-slide img:nth-child(2) {
        transform: scale(1.1) translateY(-8px);
    }

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

    .screenshots-slider {
        justify-content: center;
        width: 100%;
        padding: 1rem 0;
    }

    .screenshot-slide {
        min-width: 100%;
        justify-content: center !important;
    }

    /* Apps Section Mobile */
    .apps-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 3rem;
    }

    .apps-grid .app-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .apps-section-wrapper {
        padding: 0 3rem;
    }

    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .slider-nav-btn.prev {
        left: 0;
    }

    .slider-nav-btn.next {
        right: 0;
    }

    /* App Card Mobile Layout */
    .app-card {
        padding: 1.5rem;
    }

    .app-card-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 1rem;
    }

    .app-icon {
        width: 56px;
        height: 56px;
        grid-column: 1;
        grid-row: 1;
    }

    .get-button {
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        min-width: 70px;
    }

    .app-content {
        text-align: left;
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .app-title-row {
        justify-content: flex-start;
        text-align: left;
    }

    .app-title {
        font-size: 0.9375rem;
    }

    .app-description {
        font-size: 0.8125rem;
        text-align: left;
    }

    /* Testimonials Mobile */
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-title {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .testimonials-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    /* FAQ Mobile */
    .faq-section {
        padding: 3rem 0;
    }

    .faq-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        font-size: 0.9375rem;
        padding: 1rem 1.25rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
    }

    .faq-answer p {
        font-size: 0.8125rem;
    }

    /* About Section Mobile */
    .about-section {
        padding: 3rem 0;
    }

    .about-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .about-lead {
        font-size: 1.0625rem;
        margin-bottom: 1.25rem;
    }

    .about-text p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        grid-column: 1;
        max-width: 100%;
    }

    .footer-brand h3 {
        font-size: 1.375rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section h4 {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    /* Screenshots in Cards */
    .screenshot-item {
        width: 90px;
        height: 160px;
    }

    .screenshot-img {
        width: 90px;
        height: 160px;
    }

    /* Modal Mobile */
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-close {
        top: -35px;
        font-size: 32px;
    }

    .modal-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Ultra Small Screens */
    .container, .container-full {
        padding: 0 1rem;
    }

    .nav {
        padding: 1rem 0;
    }

    .logo h1 {
        font-size: 1.375rem;
    }

    .hero-slider {
        padding: 1rem 0;
    }

    .hero-slider-wrapper {
        gap: 1.25rem;
    }

    .hero-content-left {
        padding: 0 0.25rem;
    }

    .hero-main-title {
        font-size: 1.125rem;
        margin-top: 1.5rem;
        line-height: 1.25;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 0.6875rem;
        margin-bottom: 0.875rem;
        line-height: 1.35;
        -webkit-line-clamp: 2;
        padding: 0 1.25rem;
    }

    .btn-primary,
    .btn-appstore {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
        min-width: 140px;
        align-self: center;
    }

    .rating-number {
        font-size: 1.5rem;
    }

    .rating-stars {
        font-size: 0.875rem;
    }

    .rating-text {
        font-size: 0.75rem;
    }

    .users-count {
        font-size: 1rem;
    }

    .users-text {
        font-size: 0.75rem;
    }

    .users-avatars img {
        width: 32px;
        height: 32px;
    }

    .screenshot-slide {
        gap: 0.75rem;
        justify-content: center;
    }

    .screenshot-slide img {
        width: 85px;
    }

    .screenshot-slide img:nth-child(2) {
        transform: scale(1.08) translateY(-6px);
    }

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

    .screenshots-slider {
        justify-content: center;
        width: 100%;
        padding: 0.75rem 0;
    }

    .screenshot-slide {
        min-width: 100%;
        justify-content: center !important;
    }

    .slider-dots {
        gap: 0.5rem;
        margin-top: 1rem;
        margin-bottom: 1.25rem;
        width: 100%;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 24px;
    }

    .apps-section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
        padding: 0 2.5rem;
    }

    .apps-section-wrapper {
        padding: 0 2.5rem;
    }

    .slider-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .app-card {
        padding: 1.25rem;
    }

    .app-icon {
        width: 52px;
        height: 52px;
    }

    .app-title {
        font-size: 0.875rem;
    }

    .app-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }

    .get-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        min-width: 65px;
    }

    .screenshot-item {
        width: 80px;
        height: 145px;
    }

    .screenshot-img {
        width: 80px;
        height: 145px;
    }

    .testimonials-section {
        padding: 2.5rem 0;
    }

    .testimonials-title {
        font-size: 1.375rem;
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }

    .testimonial-name {
        font-size: 0.9375rem;
    }

    .testimonial-username {
        font-size: 0.8125rem;
    }

    .testimonial-text {
        font-size: 0.8125rem;
    }

    .faq-section {
        padding: 2.5rem 0;
    }

    .faq-title {
        font-size: 1.375rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
        margin-left: 0.5rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 0.875rem 1rem;
    }

    .faq-answer p {
        font-size: 0.75rem;
    }

    .about-section {
        padding: 2.5rem 0;
    }

    .about-title {
        font-size: 1.375rem;
        margin-bottom: 1.25rem;
    }

    .about-lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-brand h3 {
        font-size: 1.25rem;
    }

    .footer-brand p {
        font-size: 0.875rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-section h4 {
        font-size: 0.875rem;
    }

    .footer-links a {
        font-size: 0.8125rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}
