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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    position: relative;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.btn i {
    margin-right: 10px;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

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

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

.btn-tertiary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.btn-tertiary:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    color: #5a67d8;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

/* Phone App Demo Styles */
.phone-app-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* App Launch Flash Animation */
.app-launch-flash {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 50%, #6bcf7f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: launchFlash 3s ease-in-out forwards;
}

@keyframes launchFlash {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    70% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
        pointer-events: none;
    }
}

.launch-content {
    text-align: center;
    animation: launchPulse 1.5s ease-in-out infinite;
}

@keyframes launchPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.launch-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: rocketBounce 2s ease-in-out infinite;
}

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

.launch-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.launch-text p {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Main App Content */
.app-main-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease-out;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-main-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-header {
    padding: 20px 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.app-title-container {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.app-title-container:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.app-title-container:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.app-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.app-title i {
    font-size: 1.4rem;
}

.app-logo-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


.app-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.app-store-link {
    display: flex;
    justify-content: center;
}

.app-store-link a {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 6px 12px;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-store-link a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.app-store-link i {
    font-size: 1rem;
}

.app-store-link a.app-store-link-icon {
    padding: 8px 14px;
    justify-content: center;
}

.app-store-link a.app-store-link-icon i {
    font-size: 1.25rem;
    line-height: 1;
}

/* Product cards: App Store / Google Play icon-only (same brands as product detail pages) */
.btn-store-icon {
    padding: 14px 18px;
    min-width: 52px;
    justify-content: center;
}

.btn-store-icon i {
    font-size: 1.35rem;
    line-height: 1;
}

.mini-leaderboard {
    flex: 1;
    padding: 15px 20px;
    overflow-y: auto;
}

.leaderboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 15px;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.mini-leaderboard-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-leaderboard-item:last-child {
    border-bottom: none;
}

.mini-rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 12px;
}

.mini-rank.top-3 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.mini-player-info {
    flex: 1;
}

.mini-player-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.mini-player-stats {
    font-size: 0.75rem;
    opacity: 0.8;
    display: flex;
    gap: 8px;
}


.app-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.mini-btn i {
    font-size: 0.9rem;
}

/* ─── Home hero: 3-app carousel + pager ─── */
.hero-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.hero-carousel__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.hero-carousel__tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.hero-carousel__tab:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-carousel__tab.is-active {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fbbf24;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35), 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.hero-carousel__tab-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.hero-carousel__tab-logo--rounded {
    border-radius: 6px;
}

.hero-showcase__chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    justify-content: center;
}

.phone-mockup--hero {
    flex: 0 1 auto;
    max-width: min(300px, 100%);
}

.hero-carousel__arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    font-size: 1rem;
}

.hero-carousel__arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: scale(1.05);
}

.hero-carousel__arrow:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 3px;
}

.hero-carousel {
    height: 100%;
}

.hero-carousel__viewport {
    overflow: hidden;
    width: 100%;
    height: 100%;
    touch-action: pan-y pinch-zoom;
}

.hero-carousel__track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.hero-carousel__slide {
    flex: 0 0 33.333333%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-carousel__slide .phone-app-demo {
    flex: 1;
    min-height: 0;
}

.phone-app-demo--guess {
    background: linear-gradient(160deg, #5b67d8 0%, #764ba2 55%, #4c1d95 100%);
}

.phone-app-demo--match {
    background: linear-gradient(160deg, #1f4a5a 0%, #5a3e18 45%, #4e185a 100%);
}

.phone-app-demo--dice {
    background: linear-gradient(160deg, #1e1b4b 0%, #312e81 50%, #6d28d9 100%);
}

.app-main-content--hero {
    cursor: pointer;
    flex: 1;
    min-height: 0;
}

.app-main-content--hero .app-title-container {
    cursor: pointer;
}

.app-logo-small--rounded {
    border-radius: 6px;
}

.app-main-content--hero .app-store-link {
    gap: 8px;
    flex-wrap: wrap;
}

.hero-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 4px 0 0;
}

.hero-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-carousel__dot:hover {
    border-color: #fff;
    transform: scale(1.15);
}

.hero-carousel__dot.is-active {
    background: #fbbf24;
    border-color: #fbbf24;
    transform: scale(1.2);
}

.hero-carousel__dot:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .hero-carousel__arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .hero-carousel__tab span {
        display: none;
    }

    .hero-carousel__tab {
        padding: 0.5rem;
        border-radius: 14px;
    }

    .hero-carousel__tab-logo {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 400px) {
    .hero-showcase__chrome {
        gap: 0.15rem;
    }

    .hero-carousel__arrow {
        width: 34px;
        height: 34px;
    }
}


.notification-demo {
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

.notification i {
    color: #6366f1;
    font-size: 1.5rem;
}

.notification-content h4 {
    color: #1f2937;
    font-size: 1rem;
    margin-bottom: 5px;
}

.notification-content p {
    color: #64748b;
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Products Section */
.products {
    padding: 100px 0;
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card.coming-soon {
    opacity: 0.85;
    border: 2px dashed #e2e8f0;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.app-icon i {
    font-size: 2.5rem;
    color: white;
}

.product-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.product-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-text {
    color: #64748b;
    font-size: 0.9rem;
}

.product-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
}

/*
 * Store icon buttons on product cards: .btn-secondary is white-on-transparent for the hero,
 * which is invisible on white cards — use high-contrast App Store / Google Play styles.
 */
.product-content .btn.btn-store-icon {
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    justify-content: center;
}

.product-content .btn.btn-store-icon i {
    font-size: 1.25rem;
    line-height: 1;
    margin-right: 0;
}

.product-content .btn.btn-secondary.btn-store-icon {
    background: #fff;
    color: #147ce5;
    border: 2px solid #147ce5;
}

.product-content .btn.btn-secondary.btn-store-icon:hover {
    background: #eef4ff;
    border-color: #0f66c7;
    color: #0f66c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 124, 229, 0.22);
}

.product-content .btn.btn-tertiary.btn-store-icon {
    background: #fff;
    color: #01875f;
    border: 2px solid #01875f;
}

.product-content .btn.btn-tertiary.btn-store-icon:hover {
    background: #e6f4ef;
    border-color: #016b4c;
    color: #016b4c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 135, 95, 0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

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

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about .container {
        padding: 0 20px;
    }
}

.about-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    width: 100%;
}

@media (max-width: 768px) {
    .about-card {
        padding: 20px;
        border-radius: 15px;
    }
}

.about-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 15px;
    }
}

.profile-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .profile-image {
        margin-right: 0;
        margin-bottom: 15px;
        width: 70px;
        height: 70px;
    }
}

.profile-image i {
    font-size: 2.5rem;
    color: white;
}

.profile-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.profile-title {
    color: #6366f1;
    font-weight: 600;
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .skill-item {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

.skill-item i {
    color: #6366f1;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .skill-item i {
        font-size: 0.9rem;
    }
}

/* About Highlights - Horizontal Layout */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 1024px) {
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 1rem 0;
    }
}

.highlight-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .highlight-card {
        padding: 1.2rem;
        border-radius: 10px;
    }
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.highlight-card i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .highlight-card i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .highlight-card h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .highlight-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

.about-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .about-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 200px;
}

@media (max-width: 1024px) {
    .about-stats {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .stat-card {
        padding: 20px;
        border-radius: 12px;
    }
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
}

.stat-card p {
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stat-card h3 {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .stat-card p {
        font-size: 0.9rem;
    }
}

.about-content {
    display: block;
    width: 100%;
}

@media (min-width: 1025px) {
    .about-content {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 60px;
        align-items: start;
    }
}

@media (max-width: 1024px) {
    .about-content {
        display: block;
    }
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
}

.stat p {
    color: #64748b;
    font-weight: 500;
}

/* Code Block */
.code-block {
    background: #1f2937;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.code-header {
    background: #374151;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6b7280;
}

.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-dots span:nth-child(3) { background: #10b981; }

.code-title {
    color: #d1d5db;
    font-size: 0.9rem;
    font-weight: 500;
}

.code-content {
    padding: 30px;
}

.code-content pre {
    color: #e5e7eb;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

/* Form Messages */
.form-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    display: none;
}

.form-message-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid;
    animation: slideInRight 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.form-message-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

.form-message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.form-message-content i {
    font-size: 18px;
    flex-shrink: 0;
}

.form-message-content span {
    font-weight: 500;
    line-height: 1.4;
}

.form-message-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.form-message-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.form-message-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-color: #047857;
}

.form-message-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    border-color: #b91c1c;
}

.form-message-loading {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border-color: #3730a3;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.contact-item p {
    color: #64748b;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    margin-right: 10px;
    color: #6366f1;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #6366f1;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.made-with-love {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
    color: #9ca3af;
}

.made-with-love i {
    color: #ef4444;
    animation: heartbeat 1.5s ease-in-out infinite;
    font-size: 1.1rem;
}

.made-with-love strong {
    color: #6366f1;
    font-weight: 600;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Privacy Policy Styles */
.privacy-policy,
.legal-section {
    padding: 120px 0 80px;
    background: white;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-header h1,
.legal-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.last-updated,
.legal-updated {
    color: #64748b;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 50px;
}

.privacy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.privacy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 30px 0 15px;
}

.privacy-section p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.privacy-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.privacy-section li {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 10px;
}

.contact-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        padding: 6px;
    }
    
    .app-header {
        padding: 15px 15px 10px;
    }
    
    .app-title {
        font-size: 1rem;
        gap: 6px;
    }
    
    .app-subtitle {
        font-size: 0.8rem;
    }
    
    .mini-leaderboard {
        padding: 10px 15px;
    }
    
    .mini-leaderboard-item {
        padding: 8px 0;
    }
    
    .leaderboard-rank {
        font-size: 0.8rem;
        width: 20px;
    }
    
    .leaderboard-name {
        font-size: 0.75rem;
    }
    
    .leaderboard-score {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 5px;
    }
    
    .app-header {
        padding: 10px 12px 8px;
    }
    
    .app-title {
        font-size: 0.9rem;
        gap: 4px;
        margin-bottom: 3px;
    }
    
    .app-title i {
        font-size: 1rem;
    }
    
    .app-logo-small {
        width: 20px;
        height: 20px;
    }
    
    .app-title-container {
        padding: 15px;
        margin: 8px;
        border-radius: 15px;
    }
    
    .app-title {
        font-size: 0.9rem;
        gap: 5px;
        margin-bottom: 8px;
    }
    
    .app-subtitle {
        font-size: 0.75rem;
        margin-top: 8px;
        margin-bottom: 6px;
    }
    
    .app-store-link a {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .app-store-link i {
        font-size: 0.9rem;
    }
    
    .mini-leaderboard {
        padding: 8px 12px;
    }
    
    .mini-leaderboard-item {
        padding: 6px 0;
    }
    
    .leaderboard-rank {
        font-size: 0.7rem;
        width: 18px;
    }
    
    .leaderboard-name {
        font-size: 0.65rem;
    }
    
    .leaderboard-score {
        font-size: 0.6rem;
    }
    
    .leaderboard-loading {
        gap: 10px;
    }
    
    .loading-spinner {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 360px) {
    .phone-mockup {
        width: 180px;
        height: 360px;
        padding: 4px;
    }
    
    .app-header {
        padding: 8px 10px 6px;
    }
    
    .app-title {
        font-size: 0.8rem;
        gap: 3px;
    }
    
    .app-title i {
        font-size: 0.9rem;
    }
    
    .app-logo-small {
        width: 18px;
        height: 18px;
    }
    
    .app-title-container {
        padding: 12px;
        margin: 6px;
        border-radius: 12px;
    }
    
    .app-title {
        font-size: 0.85rem;
        gap: 4px;
        margin-bottom: 6px;
    }
    
    .app-subtitle {
        font-size: 0.7rem;
        margin-top: 6px;
        margin-bottom: 4px;
    }
    
    .app-store-link a {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .app-store-link i {
        font-size: 0.85rem;
    }
    
    .mini-leaderboard {
        padding: 6px 10px;
    }
    
    .mini-leaderboard-item {
        padding: 4px 0;
    }
    
    .leaderboard-rank {
        font-size: 0.65rem;
        width: 16px;
    }
    
    .leaderboard-name {
        font-size: 0.6rem;
    }
    
    .leaderboard-score {
        font-size: 0.55rem;
    }
    
    .privacy-header h1 {
        font-size: 2.5rem;
    }
}
