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

:root {
    /* Color palette from the image */
    --primary-bg: #1a2332; /* Dark blue background */
    --content-bg: #2a3441; /* Light blue/grey-blue content cards */
    --inner-bg: #f8fafc; /* Very light blue/white inner content */
    --text-white: #ffffff; /* White text */
    --text-grey: #94a3b8; /* Grey placeholder text */
    --button-primary: #3b82f6; /* Medium blue buttons */
    --button-outline: #ffffff; /* White outlined buttons */
    --accent-red: #ef4444; /* Red for required fields */
    --border-light: #e2e8f0; /* Light borders */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

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

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
}

.btn-danger {
    background: var(--accent-red);
    color: var(--text-white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    color: var(--text-white);
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

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

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-menu a.active {
    color: var(--button-primary);
    font-weight: 600;
}

.download-btn {
    background: var(--button-primary);
    color: var(--text-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-white) 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-grey);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--button-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2a3441, #1a2332);
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--content-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-screen {
    padding: 20px;
    height: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-white);
}

.app-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.match-card {
    background: var(--inner-bg);
    border-radius: 12px;
    padding: 16px;
    color: var(--primary-bg);
}

.match-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.match-info p {
    font-size: 0.875rem;
    color: var(--text-grey);
    margin-bottom: 12px;
}

.match-actions {
    display: flex;
    gap: 8px;
}

/* Floating Basketballs */
.floating-basketball {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--button-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.floating-basketball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-bg);
    border-radius: 50%;
    opacity: 0.3;
}

.floating-basketball::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--button-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.floating-basketball-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-basketball-2 {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
}

.floating-basketball-3 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
    width: 40px;
    height: 40px;
}

.floating-basketball-4 {
    top: 80%;
    left: 15%;
    animation-delay: 4.5s;
    width: 50px;
    height: 50px;
}

.floating-basketball-5 {
    top: 40%;
    left: 80%;
    animation-delay: 2.5s;
    width: 35px;
    height: 35px;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--content-bg);
    position: relative;
    overflow: hidden;
}

.basketball-court-bg {
    position: absolute;
    top: 10%;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--button-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.basketball-court-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-bg);
    border-radius: 50%;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.how-step {
    text-align: center;
    padding: 2rem;
    background: var(--inner-bg);
    border-radius: 16px;
    color: var(--primary-bg);
    transition: transform 0.3s ease;
}

.how-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--button-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.how-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-bg);
}

.how-step p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* App Preview */
.app-preview {
    margin-top: 4rem;
}

.app-screens {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.screen {
    width: 280px;
    height: 500px;
    background: var(--inner-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--primary-bg);
}

.screen-content h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-bg);
}

.tournament-form .form-group {
    margin-bottom: 1rem;
}

.tournament-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-bg);
}

.tournament-form input,
.tournament-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.875rem;
}

.player-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--content-bg);
    border-radius: 8px;
    color: var(--text-white);
}

.player-avatar {
    width: 40px;
    height: 40px;
    background: var(--button-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.player-info h5 {
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.player-info span {
    font-size: 0.75rem;
    color: var(--text-grey);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.basketball-hoop-bg {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--button-primary);
    border-radius: 50%;
    opacity: 0.08;
    animation: pulse 4s ease-in-out infinite;
}

.basketball-hoop-bg::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 3px solid var(--text-white);
    border-radius: 50%;
    opacity: 0.3;
}

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

.feature-card {
    background: var(--content-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--button-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* App Mockups Section */
.app-mockups {
    padding: 6rem 0;
    background: var(--content-bg);
}

.mockups-container {
    display: flex;
    justify-content: center;
}

.mockup-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mockup {
    width: 280px;
    height: 500px;
    background: var(--inner-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--primary-bg);
}

.mockup-screen {
    height: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary-bg);
}

.app-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--button-primary);
}

.game-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
}

.team-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-bg);
}

.player-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player {
    font-size: 0.75rem;
    color: var(--text-grey);
}

.player-profile {
    text-align: center;
    padding: 1rem 0;
}

.player-avatar-large {
    width: 80px;
    height: 80px;
    background: var(--button-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: var(--text-white);
}

.position {
    display: block;
    font-size: 0.875rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

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

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

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--button-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-grey);
    text-transform: uppercase;
}

.tournament-bracket {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bracket-round {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bracket-match {
    background: var(--content-bg);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-white);
}

.bracket-match .team {
    font-size: 0.875rem;
    padding: 4px 0;
}

.bracket-final {
    background: var(--button-primary);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-white);
    text-align: center;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.basketball-stats-bg {
    position: absolute;
    top: 20%;
    right: -40px;
    width: 120px;
    height: 120px;
    background: var(--button-primary);
    border-radius: 50%;
    opacity: 0.06;
    animation: float 8s ease-in-out infinite;
}

.basketball-stats-bg::before {
    content: '🏀';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.5;
}

/* Additional basketball-themed background elements */
.basketball-court-lines {
    position: absolute;
    top: 15%;
    left: -30px;
    width: 100px;
    height: 100px;
    opacity: 0.05;
    background: 
        linear-gradient(90deg, var(--text-white) 1px, transparent 1px),
        linear-gradient(0deg, var(--text-white) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: rotate 30s linear infinite;
}

.basketball-scoreboard {
    position: absolute;
    bottom: 10%;
    right: -40px;
    width: 80px;
    height: 60px;
    background: var(--button-primary);
    border-radius: 8px;
    opacity: 0.1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.basketball-scoreboard::before {
    content: '24-18';
}

.basketball-trophy {
    position: absolute;
    top: 60%;
    left: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    opacity: 0.15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.basketball-trophy::before {
    content: '🏆';
}

/* Add these elements to different sections */
.features::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -50px;
    width: 120px;
    height: 120px;
    background: var(--button-primary);
    border-radius: 50%;
    opacity: 0.08;
    animation: pulse 4s ease-in-out infinite;
}

.app-mockups::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: -40px;
    width: 100px;
    height: 100px;
    background: var(--text-white);
    border-radius: 50%;
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
}

.cta::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: bounce 3s ease-in-out infinite;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: bounce 3s ease-in-out infinite 1.5s;
}

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

.testimonial-card {
    background: var(--content-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--button-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-white);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-white);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-grey);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--button-primary) 0%, #1d4ed8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--content-bg);
    padding: 3rem 0 1rem;
    color: var(--text-white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-grey);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-grey);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .app-screens {
        flex-direction: column;
        align-items: center;
    }
    
    .mockup-group {
        flex-direction: column;
        align-items: center;
    }
}
.hero img{
    width: 350px;
}
.how-it-works img{
    width: 350px;
    border-radius: 20px;
    border: 2px solid #000;  
}
.mockup-group img{
    width: 100px;
       border-radius: 10px;
    border: 2px solid #000;
    margin-left: 10px;
    margin-right: 10px;  
}
.how-it-works .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
