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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    background: #000;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 0, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255, 0, 85, 0.3);
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1001;
}

.nav-logo .logo {
    height: 55px;
    width: auto;
}

.company-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0055 0%, #ff66aa 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ff66aa;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.7) 0%, rgba(74, 0, 127, 0.7) 50%, rgba(200, 0, 100, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: #d4a5ff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-title {
    font-size: 8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 40px rgba(255, 0, 85, 0.5);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    letter-spacing: 10px;
}

/* Content Sections */
.about,
.vision-scoring,
.semi-scoring,
.retractable-pitch,
.ai-scoring,
.core-element,
.meet-bowlers,
.immersive-graphics {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
}

.about {
    background: linear-gradient(135deg, #1a0033 0%, #4a007f 100%);
}

.vision-scoring {
    background: linear-gradient(135deg, #2d004d 0%, #1a0033 100%);
}

.semi-scoring {
    background: linear-gradient(135deg, #1a0033 0%, #4a007f 100%);
}

.retractable-pitch {
    background: linear-gradient(135deg, #2d004d 0%, #3a0055 100%);
}

.ai-scoring {
    background: linear-gradient(135deg, #1a0033 0%, #2d004d 100%);
}

.core-element {
    background: linear-gradient(135deg, #4a007f 0%, #1a0033 100%);
}

.meet-bowlers {
    background: linear-gradient(135deg, #2d004d 0%, #1a0033 100%);
}

.immersive-graphics {
    background: radial-gradient(ellipse at center, #4a007f 0%, #1a0033 50%, #000 100%);
}

/* Container Styles */
.about-container,
.vision-container,
.semi-container,
.retractable-container,
.ai-container,
.core-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Alternating Layout - Desktop Only */
/* Odd sections: Text Left, Image Right */
.about-container .about-left,
.semi-container .semi-right,
.ai-container .ai-right {
    order: 1;
}

.about-container .about-right,
.semi-container .semi-left,
.ai-container .ai-left {
    order: 2;
}

/* Even sections: Image Left, Text Right */
.vision-container .vision-left,
.retractable-container .retractable-right,
.core-container .core-left {
    order: 2;
}

.vision-container .vision-right,
.retractable-container .retractable-left,
.core-container .core-right {
    order: 1;
}

/* Section Content */
.about-left,
.vision-left,
.semi-right,
.retractable-right,
.ai-right,
.core-left {
    padding: 40px 0;
}

.about-title,
.vision-title,
.semi-title,
.retractable-title,
.ai-title,
.core-title {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
}

.title-accent {
    width: 6px;
    min-width: 6px;
    height: 80px;
    background: linear-gradient(180deg, #ff0055 0%, #ff66aa 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
}

.about-title h2,
.vision-title h2,
.semi-title h2,
.retractable-title h2,
.ai-title h2,
.core-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.large-text {
    font-size: 4.5rem;
    display: block;
    background: linear-gradient(90deg, #ff0055 0%, #ff66aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text,
.vision-text,
.semi-text,
.ai-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #e0e0e0;
    font-weight: 400;
}

/* Image Containers */
.about-image-frame,
.vision-visual,
.semi-visual,
.pitch-visual,
.ai-visual,
.core-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 85, 0.3);
    transition: all 0.4s ease;
}

.about-image-frame:hover,
.vision-visual:hover,
.semi-visual:hover,
.pitch-visual:hover,
.ai-visual:hover,
.core-image-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(255, 0, 85, 0.3);
    border-color: rgba(255, 0, 85, 0.6);
}

.about-img,
.vision-img,
.semi-img,
.pitch-img,
.ai-img,
.core-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.about-image-frame:hover .about-img,
.vision-visual:hover .vision-img,
.semi-visual:hover .semi-img,
.pitch-visual:hover .pitch-img,
.ai-visual:hover .ai-img,
.core-image-frame:hover .core-img {
    transform: scale(1.05);
}

/* Semi Scoring Logo */
.semi-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff0055 0%, #ff66aa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.4);
}

.target-icon {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.target-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ff0055;
    border-radius: 50%;
}

.semi-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 85, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 0, 85, 0.1);
    border-color: rgba(255, 0, 85, 0.4);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sparkle {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
}

.target {
    background: linear-gradient(135deg, #ff0055 0%, #ff66aa 100%);
}

.lightning {
    background: linear-gradient(135deg, #ffff00 0%, #ffaa00 100%);
}

.flame {
    background: linear-gradient(135deg, #ff4500 0%, #ff6600 100%);
}

.globe {
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
}

.feature-item span {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 500;
}

/* Callouts */
.callout {
    position: absolute;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 20px;
    background: rgba(255, 0, 85, 0.9);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.5);
}

.callout-1 {
    top: 10%;
    right: -100px;
}

.callout-2 {
    bottom: 10%;
    right: -100px;
}

.arrow {
    display: none;
}

/* Core Features */
.core-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.core-feature {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 2px solid rgba(255, 0, 85, 0.2);
    transition: all 0.3s ease;
}

.core-feature:hover {
    background: rgba(255, 0, 85, 0.1);
    border-color: rgba(255, 0, 85, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.3);
}

.core-feature .feature-icon {
    margin-bottom: 20px;
}

.core-feature h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.core-feature p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.key-icon {
    font-size: 2.5rem;
    animation: keyRotate 4s ease-in-out infinite;
}

/* Bowlers Section */
.bowlers-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.bowlers-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    gap: 20px;
}

.bowlers-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
}

.bowlers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.bowler-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #2d004d 0%, #1a0033 100%);
    border: 2px solid rgba(255, 0, 85, 0.3);
    transition: all 0.4s ease;
}

.bowler-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(255, 0, 85, 0.4);
    border-color: rgba(255, 0, 85, 0.6);
}

.bowler-img,
video.bowler-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bowler-info {
    padding: 30px 25px;
    background: rgba(0, 0, 0, 0.3);
}

.bowler-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.bowler-info p {
    font-size: 1.1rem;
    color: #d4a5ff;
    font-weight: 500;
}

/* Graphics Section */
.graphics-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.graphics-title {
    margin-bottom: 80px;
}

.graphics-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 0, 85, 0.5);
}

.graphics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.graphics-item {
    position: relative;
    transition: all 0.4s ease;
}

.graphics-item:hover {
    transform: translateY(-10px);
}

.graphics-frame {
    position: relative;
    border: 2px solid rgba(255, 0, 85, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.graphics-item:hover .graphics-frame {
    border-color: rgba(255, 0, 85, 0.6);
    box-shadow: 0 40px 80px rgba(255, 0, 85, 0.3);
}

.graphics-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

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

.graphics-item p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a0033 0%, #2d004d 100%);
    padding: 80px 40px 30px;
    border-top: 2px solid rgba(255, 0, 85, 0.3);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-company {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.footer-column h3 {
    color: #ff66aa;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-column i {
    color: #ff66aa;
    font-size: 1rem;
    width: 25px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes keyRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a0033;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff0055 0%, #ff66aa 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff66aa 0%, #ff0055 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container,
    .vision-container,
    .semi-container,
    .retractable-container,
    .ai-container,
    .core-container {
        gap: 60px;
    }
    
    .about-title h2,
    .vision-title h2,
    .semi-title h2,
    .retractable-title h2,
    .ai-title h2,
    .core-title h2 {
        font-size: 3rem;
    }
    
    .large-text {
        font-size: 3.8rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 20px;
    }

    .nav-logo .logo {
        height: 45px;
    }

    .company-name {
        font-size: 0.85rem;
        max-width: 150px;
        line-height: 1.2;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* Hero Section Mobile */
    .hero-title {
        font-size: 4rem;
        letter-spacing: 5px;
    }

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

    /* Sections Mobile */
    .about,
    .vision-scoring,
    .semi-scoring,
    .retractable-pitch,
    .ai-scoring,
    .core-element,
    .meet-bowlers,
    .immersive-graphics {
        padding: 80px 20px;
        min-height: auto;
    }

    /* Containers - Stack Vertically */
    .about-container,
    .vision-container,
    .semi-container,
    .retractable-container,
    .ai-container,
    .core-container {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 50px;
    }

    /* Mobile Order - Text First, Image Second (Override Desktop Alternating) */
    .about-left,
    .vision-left,
    .semi-right,
    .retractable-right,
    .ai-right,
    .core-left {
        order: 1 !important;
    }

    .about-right,
    .vision-right,
    .semi-left,
    .retractable-left,
    .ai-left,
    .core-right {
        order: 2 !important;
    }

    /* Titles Mobile */
    .about-title,
    .vision-title,
    .semi-title,
    .retractable-title,
    .ai-title,
    .core-title {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .title-accent {
        width: 80px;
        height: 6px;
    }

    .about-title h2,
    .vision-title h2,
    .semi-title h2,
    .retractable-title h2,
    .ai-title h2,
    .core-title h2,
    .bowlers-title h2,
    .graphics-title h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .large-text {
        font-size: 2.8rem;
    }

    /* Text Content */
    .about-text,
    .vision-text,
    .semi-text,
    .ai-text {
        text-align: center;
        font-size: 1.05rem;
    }

    /* Images Mobile */
    .about-img,
    .vision-img,
    .semi-img,
    .pitch-img,
    .ai-img,
    .core-img {
        height: 350px;
    }

    /* Semi Logo */
    .semi-logo {
        justify-content: center;
    }

    /* Features */
    .features-list {
        align-items: stretch;
    }

    .feature-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: 25px;
    }

    .feature-item:hover {
        transform: translateX(0) translateY(-5px);
    }

    /* Core Features */
    .core-feature {
        text-align: center;
    }

    /* Callouts */
    .callout {
        position: static;
        margin: 20px auto;
        max-width: 300px;
        text-align: center;
    }

    /* Bowlers Grid */
    .bowlers-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bowler-img,
    video.bowler-img {
        height: 300px;
    }

    /* Graphics Grid */
    .graphics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .graphics-img {
        height: 250px;
    }

    /* Footer */
    .footer {
        padding: 60px 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 65px;
        padding: 0 15px;
    }

    .nav-logo .logo {
        height: 40px;
    }

    .company-name {
        font-size: 0.75rem;
        max-width: 120px;
    }

    .nav-menu {
        top: 65px;
    }

    /* Hero Mobile */
    .hero-title {
        font-size: 3rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    /* Sections */
    .about,
    .vision-scoring,
    .semi-scoring,
    .retractable-pitch,
    .ai-scoring,
    .core-element,
    .meet-bowlers,
    .immersive-graphics {
        padding: 60px 15px;
    }

    /* Containers */
    .about-container,
    .vision-container,
    .semi-container,
    .retractable-container,
    .ai-container,
    .core-container {
        gap: 40px;
    }

    /* Titles */
    .about-title h2,
    .vision-title h2,
    .semi-title h2,
    .retractable-title h2,
    .ai-title h2,
    .core-title h2,
    .bowlers-title h2,
    .graphics-title h2 {
        font-size: 1.8rem;
    }

    .large-text {
        font-size: 2.3rem;
    }

    /* Images */
    .about-img,
    .vision-img,
    .semi-img,
    .pitch-img,
    .ai-img,
    .core-img {
        height: 280px;
    }

    .bowler-img,
    video.bowler-img {
        height: 250px;
    }

    .graphics-img {
        height: 220px;
    }

    /* Text */
    .about-text,
    .vision-text,
    .semi-text,
    .ai-text,
    .core-feature p {
        font-size: 1rem;
    }

    .feature-item span {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 50px 15px 25px;
    }

    .footer-company {
        font-size: 1rem;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-column p {
        font-size: 0.9rem;
    }
}