/* TeamPlay - Original Design Stylesheet */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #ffffff;
    overflow-x: hidden;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #050505;
}

/* CSS Variables */
:root {
    --color-white: rgb(255, 255, 255);
    --color-gray-50: rgb(250, 250, 250);
    --color-gray-100: rgb(242, 242, 242);
    --color-gray-200: rgb(230, 230, 230);
    --color-gray-400: rgb(179, 179, 179);
    --color-gray-600: rgb(102, 102, 102);
    --color-black: rgb(5, 5, 5);
    --color-blue: rgb(58, 124, 254);
    --color-blue-light: rgb(229, 243, 255);
    --color-blue-lighter: rgb(204, 230, 255);
    --color-green: rgb(54, 212, 98);
    --color-green-light: rgb(237, 248, 236);
    --color-orange: rgb(255, 153, 0);
    --color-orange-light: rgb(255, 245, 229);
    --color-purple: rgb(183, 66, 189);
    --color-purple-light: rgb(248, 236, 248);
    --color-navy: rgb(23, 29, 82);
}

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

/* Main Container */
.main-container {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 70%);
    padding: 20px 0;
}

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

.nav-content {
    background: var(--color-white);
    border: 1px solid var(--color-gray-50);
    border-radius: 16px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    color: var(--color-gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--color-gray-50);
    color: var(--color-black);
}

.nav-actions {
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-black);
    border-radius: 1px;
}

/* Hero Section */
.hero-section {
    padding: 140px 20px 80px;
    text-align: center;
    background: white;
}

/* Game Selection Image */
.game-selection-container {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

.ipad-frame {
    display: inline-block;
    padding: 24px;
    background: #1a1a1a;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
}

.game-selection-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 12px;
}

.beta-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-orange-light);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--color-black);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-black);
}

.text-blue {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--color-blue); /* Fallback for browsers that don't support background-clip */
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 40px;
}

.hero-actions {
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(58, 124, 254, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-outline {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    color: var(--color-black);
}

.btn-outline:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-black);
    padding: 14px 28px;
}

/* Game Preview Cards */
.game-preview-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.game-preview-card {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-preview-card:hover {
    transform: translateY(-8px);
}

.game-preview-card.border-blue {
    border: 3px solid var(--color-blue-lighter);
}

.game-preview-card.border-green {
    border: 3px solid var(--color-green-light);
}

.game-preview-card.border-orange {
    border: 3px solid var(--color-orange-light);
}

.game-preview-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-preview-info {
    padding: 20px;
}

.game-preview-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-black);
}

.game-preview-info p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
}

.cta-button-container {
    margin-top: 40px;
}

/* Adventure/Pricing Section */
.adventure-section {
    padding: 80px 20px;
    background: var(--color-gray-50);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
    color: var(--color-black);
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: 60px;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    box-shadow: 0 8px 40px rgba(58, 124, 254, 0.2);
}

.pricing-header {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
}

.pricing-header.starter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pricing-header.team {
    background: linear-gradient(135deg, #36d462 0%, #2c7227 100%);
}

.pricing-header.event {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
}

.pricing-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-black);
}

.pricing-period {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-gray-600);
}

.pricing-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-top: 24px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-gray-600);
}

.pricing-content .btn {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gray-400);
}

.dot.green {
    background: var(--color-green);
}

.dot.orange {
    background: var(--color-orange);
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 20px;
    background: var(--color-white);
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 60px auto 0;
}

.how-it-works-left {
    position: relative;
}

.interface-preview {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 12px solid #000000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.how-it-works-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-card {
    background: var(--color-white);
    border: 2px solid var(--color-gray-100);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--color-blue-lighter);
    box-shadow: 0 8px 24px rgba(58, 124, 254, 0.1);
}

.step-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
}

/* Games Section */
.games-section {
    padding: 80px 20px;
    background: var(--color-gray-50);
}

/* Games Carousel */
.games-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.games-carousel-container {
    overflow: hidden;
    border-radius: 16px;
    padding: 0 20px;
}

.games-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.games-carousel .game-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
}

.game-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-card.border-blue {
    border-top: 4px solid var(--color-blue);
}

.game-card.border-green {
    border-top: 4px solid var(--color-green);
}

.game-card.border-orange {
    border-top: 4px solid var(--color-orange);
}

.game-card.border-purple {
    border-top: 4px solid var(--color-purple);
}

.game-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-black);
}

.game-info p {
    font-size: 14px;
    color: var(--color-gray-600);
}

.coming-soon {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    color: var(--color-gray-600);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-next {
    right: -24px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--color-gray-200);
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot:hover {
    background: var(--color-gray-400);
    transform: scale(1.1);
}

.carousel-dot.active {
    background: var(--color-blue);
    transform: scale(1.2);
}

/* Statistics Section */
.stats-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--color-navy) 0%, #1a1f5c 100%);
    text-align: center;
    color: var(--color-white);
}

.stats-header {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--color-white);
}

.stats-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto 60px;
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 80px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(2) .stat-number {
    background: linear-gradient(135deg, var(--color-green) 0%, #4fd884 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(3) .stat-number {
    background: linear-gradient(135deg, var(--color-orange) 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(4) .stat-number {
    background: linear-gradient(135deg, var(--color-purple) 0%, #d942e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.stat-text {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.5;
    color: var(--color-white);
}

.stats-bottom {
    margin-top: 80px;
}

.stats-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.stats-source {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.zoom-bg-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.zoom-bg-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.zoom-mockup {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.zoom-mockup-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: var(--color-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-black);
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-600);
}

/* Footer */
.footer {
    background: var(--color-gray-50);
    padding: 60px 20px 30px;
    border-top: 1px solid var(--color-gray-200);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-gray-600);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    flex: 1;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-black);
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--color-gray-600);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--color-gray-600);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--color-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .game-preview-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .how-it-works-content {
        grid-template-columns: 1fr;
    }
    
    /* Carousel responsive styles for tablet */
    .games-carousel .game-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 250px;
    }
    
    .carousel-btn-prev {
        left: -16px;
    }
    
    .carousel-btn-next {
        right: -16px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        border: 1px solid var(--color-gray-100);
        border-radius: 8px;
        margin-top: 8px;
        padding: 8px;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-section {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stats-title {
        font-size: 32px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .game-selection-container {
        margin: 30px auto;
    }
    
    .ipad-frame {
        padding: 12px;
        border-radius: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 60px;
    }
    
    .zoom-bg-container {
        max-width: 100%;
        margin: 30px auto 40px;
    }
    
    /* Mobile carousel styles */
    .games-carousel-container {
        padding: 0 10px;
    }
    
    .games-carousel .game-card {
        flex: 0 0 calc(100% - 0px);
        min-width: 280px;
    }
    
    .carousel-btn {
        display: none; /* Hide arrows on mobile, rely on touch */
    }
    
    .carousel-dots {
        margin-top: 24px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* Tablet breakpoint for stats grid */
@media (max-width: 1024px) and (min-width: 769px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}