:root {
    --primary: #24E350;
    --primary-dark: #1db840;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #ffffff;
    --bg-gray: #f9f9f9;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(36, 227, 80, 0.2);
    --font-main: 'Satoshi', sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.mb-small {
    margin-bottom: 1rem;
}

.mb-medium {
    margin-bottom: 2rem;
}

.mb-large {
    margin-bottom: 4rem;
}

.mt-medium {
    margin-top: 2rem;
}

.highlight {
    color: var(--primary);
    font-weight: 900;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(36, 227, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(36, 227, 80, 0.5);
    background-color: #1fe04b;
}

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

.btn-outline:hover {
    background-color: var(--text-dark);
    color: #fff;
}

.btn-secondary {
    background-color: #000;
    color: #fff;
    font-size: 0.9rem;
    padding: 12px 24px;
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Section Badge Utility */
.section-badge {
    background-color: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    gap: 8px;
    width: fit-content;
}

.section-badge span {
    display: flex;
    align-items: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links a:not(.btn-secondary):hover {
    color: var(--primary-dark);
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    /* Full viewport almost */
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

.display-text {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    /* Removed float animation for video container to keep it steady */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    /* Make the image look like a product shot */
    max-height: 600px;
    object-fit: cover;
}

/* Video Hero Wrapper */
.video-hero-wrapper {
    width: 100%;
    max-width: 400px;
    /* Adjust based on video aspect ratio */
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating animation only for image if we go back to it, or apply to wrapper if desired */
.video-hero-wrapper {
    animation: float 6s ease-in-out infinite;
}

/* Locations Strip & Video Scroll */
.locations-strip {
    padding: 60px 0;
    background: var(--bg-gray);
    overflow: hidden;
    /* For full bleed scroll effect if needed, but container keeps it centered */
}

.video-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0 40px;
    /* Bottom padding for scrollbar space */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.video-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Webkit */
}

.location-video-card {
    flex: 0 0 250px;
    /* Fixed width for vertical videos */
    height: 444px;
    /* Aspect 9:16 approx */
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.location-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features */
.features {
    padding: 120px 0;
}

/* Features Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
    /* Ensure equal height */
}

/* Card General */
.feature-card {
    border-radius: 24px;
    /* More modern rounding */
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle border */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    position: relative;
    /* For pseudo elements */
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
}

/* Green Card */
.card-green {
    background: radial-gradient(120% 120% at 0% 0%, #4AF56E 0%, #24E350 100%);
    /* Subtle gradient */
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(36, 227, 80, 0.3);
    /* Green glow */
    border: none;
}

.card-green h3,
.card-green p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cable-image-container {
    display: flex;
    justify-content: center;
    margin-top: auto;
    width: 100%;
}

.cables-img {
    max-width: 85%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Gray Card */
.card-gray {
    background-color: #F5F5F7;
    /* Apple styling gray */
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

/* Decorative background for Gray Card */
.card-gray::before {
    content: "🔋";
    /* Battery icon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 10rem;
    /* Large size */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

/* Notification Mock */
.notification-mock {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Enhanced shadow */
    margin-top: auto;
    width: 100%;
    max-width: 300px;
    /* Added max-width for centering */
    margin-left: auto;
    /* Centering horizontally */
    margin-right: auto;
    /* Centering horizontally */
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.notif-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 800;
}

.notif-header::before {
    content: "⚠️";
    margin-right: 8px;
}

.notif-body {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.notif-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.blue-text {
    color: #007AFF;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

/* Light Card with payments */
.card-light {
    background: #fff;
    border: 1px solid #eee;
    height: 100%;
    /* Ensure it fills height */
}

/* Responsive: Stack on smaller screens */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.big-span {
    grid-column: 1 / -1;
}

.card-content-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-logos {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Override old icon box */
.icon-box {
    display: none;
}

.device-check {
    margin-top: 80px;
    text-align: center;
    background: #000;
    color: #fff;
    padding: 60px;
    border-radius: var(--radius-lg);
}

.device-check h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.compatibility-tags {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.compatibility-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(36, 227, 80, 0.3);
}

/* Lifestyle */
.lifestyle {
    padding: 100px 0;
}

.lifestyle-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lifestyle-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.lifestyle-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 40px;
}

.payment-info {
    background: var(--bg-gray);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
}

.motives-list h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.motives-list ul {
    list-style: none;
}

.motives-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.motives-list li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-gray);
}

/* How It Works Video & Steps */
.video-container-centered {
    max-width: 800px;
    margin: 0 auto 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #000;
}

.how-it-works-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
}

/* Updated Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.step-number {
    display: none;
    /* Removed big number for icon style */
}

.pricing-alert {
    background: #FFF3CD;
    color: #856404;
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
    border: 1px solid #FFEEBA;
}

.pricing-alert p {
    margin: 0;
}

/* Stats Styling */
.stats-bar {
    background: #000;
    color: var(--primary);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ */
.faq {
    padding: 120px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 60px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 24px 0;
}

.faq-item summary {
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "+";
    color: var(--primary);
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    margin-top: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.excuse-banner {
    margin-top: 80px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    padding: 60px;
    border-radius: var(--radius-lg);
    transform: rotate(-1deg);
}

.excuse-banner h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
}

/* Business Section */
.business-section {
    padding: 120px 0;
    background: #000;
    color: #fff;
    position: relative;
}

.business-section::before {
    /* Abstract background shape */
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.section-title.inverse {
    color: #fff;
}

.business-header .large-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.business-benefits {
    margin-top: 80px;
}

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

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.benefit-item p {
    color: #ccc;
}

.stats-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background: #111;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 200px;
    border: 1px solid #333;
}

/* Business Gallery */
.business-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.business-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(36, 227, 80, 0.2);
}

/* Tech Specs Container */
.tech-specs-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 60px 0;
    border: 1px solid var(--primary);
}

.specs-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.spec-column h4 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    font-size: 1.2rem;
}

.spec-column ul {
    list-style: none;
    color: #ccc;
}

.spec-column li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.spec-column strong {
    color: #fff;
}

/* Tech Specs Box */
.specs-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 30px;
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
}

.specs-block h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.1rem;
}

.spec-row {
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.spec-row strong {
    color: #fff;
    margin-right: 8px;
}

.big-percent {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.price-highlight {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    margin: 30px 0 60px;
    text-shadow: 2px 2px 0 #000;
}

.features-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-check h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-check h4::before {
    content: "●";
    color: var(--primary);
}

.feature-check p {
    padding-left: 20px;
    color: var(--text-light);
}

/* Partner Logos */
.logo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.partner-logo-img {
    height: 60px;
    /* Adjust as needed */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.final-pitch {
    text-align: center;
    max-width: 700px;
    margin: 60px auto 0;
    font-size: 1.2rem;
    background: var(--bg-gray);
    padding: 40px;
    border-radius: var(--radius-md);
}

/* Contact Form */
.contact-section {
    padding: 100px 0;
    background: #fff;
}

.form-container {
    max-width: 600px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.full-width {
    width: 100%;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary);
}

.copyright {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 900px) {

    .hero-container,
    .lifestyle-container,
    .features-list-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
        margin-bottom: 40px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .display-text {
        font-size: 3rem;
    }

    /* Stack card content on mobile */
    .card-content-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Payment Infinite Scroll */
.payment-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: auto;
    padding-top: 10px;
}

/* Remove gradient mask to show full logos, or make it very subtle */
.payment-scroll-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #fff 0%, transparent 5%, transparent 95%, #fff 100%);
    pointer-events: none;
}

.scrolling-row {
    display: flex;
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
    /* More space between rows */
    transform: skewY(-2deg);
    /* Creative twist! */
}

/* Container moving the logos */
.scroll-track {
    display: flex;
    align-items: center;
    gap: 50px;
    /* Bigger gap */
    padding-right: 50px;
    width: max-content;
}

/* Animations */
.scroll-left .scroll-track {
    animation: scrollLeft 40s linear infinite;
    /* Slower, smoother */
}

.scroll-right .scroll-track {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.scroll-track img {
    height: 45px;
    /* Slightly larger */
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%) opacity(0.6);
    /* Classy default */
    transition: all 0.3s;
}

.scroll-track img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* --- Additional Responsive Fixes --- */

.span-2-desktop {
    grid-column: span 2;
}

.stat-item-middle {
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    border-right: 2px solid rgba(0, 0, 0, 0.1);
}

.business-light-box {
    padding: 80px 60px;
    margin: 120px 0;
}

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

.business-graph-section {
    padding: 60px;
    margin: 60px 0;
}

.graph-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.text-right {
    text-align: right;
}

.business-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: start;
}

@media (min-width: 900px) {
    .specs-grid {
        gap: 80px;
    }
}

@media (max-width: 1024px) {
    .span-2-desktop {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    .stat-item-middle {
        border-left: none;
        border-right: none;
        border-top: 2px solid rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
        padding: 40px 0;
    }

    .business-light-box {
        padding: 40px 20px;
        margin: 60px 0;
    }

    .business-graph-section {
        padding: 30px 20px;
        margin: 40px 0;
    }

    .text-right {
        text-align: left;
    }

    .graph-header {
        text-align: left !important;
    }

    .graph-content {
        flex-direction: column;
    }

    .graph-bars-mobile {
        width: 100%;
        justify-content: space-around;
        gap: 15px !important;
    }

    .business-stats-cards {
        grid-template-columns: 1fr;
    }

    .features-list-grid {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Mobile & Desktop classes */
.mobile-only-video {
    display: none;
}

@media (max-width: 900px) {
    .desktop-only-video {
        display: none !important;
    }

    .mobile-only-video {
        display: block !important;
    }

    .hero-image {
        order: unset;
        margin-bottom: 0;
    }
}

/* Partner Logo Scroll */
.partner-scroll-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.scroll-track-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.partner-track {
    display: flex;
    gap: 60px;
    padding-right: 60px;
    align-items: center;
    width: max-content;
    animation: scrollLeft 25s linear infinite;
}

.partner-track img {
    height: 60px;
    /* Base height */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Business Gallery Scrollable Row */
.gallery-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-img {
    flex: 0 0 80%;
    /* Takes up 80% of width on mobile */
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    scroll-snap-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {

    /* 1. Cables Card Resizing */
    .cables-p {
        font-size: 1rem !important;
        margin-bottom: 40px !important;
    }

    .cables-img {
        width: 45% !important;
        /* Smaller image to avoid text overlap */
    }

    /* 2. Specs in 2 columns instead of 1 */
    .specs-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    .spec-format h4 {
        font-size: 1.1rem !important;
    }

    .spec-format p,
    .spec-format ul {
        font-size: 0.85rem !important;
    }

    /* 3. Resize Graph */
    .graph-bar-1 {
        width: 50px !important;
        height: 180px !important;
    }

    .graph-bar-2 {
        width: 50px !important;
        height: 260px !important;
    }

    .graph-bars-mobile {
        height: 260px !important;
        padding-bottom: 20px !important;
    }

    .graph-label {
        left: -30px !important;
        font-size: 0.7rem !important;
    }

    .graph-label-130 {
        font-size: 0.8rem !important;
    }
}

/* Lifestyle Image Handling */
.mobile-lifestyle-img {
    display: none;
}

@media (max-width: 900px) {
    .desktop-lifestyle-img {
        display: none !important;
    }

    .mobile-lifestyle-img {
        display: block !important;
    }
}