:root {
    --bg-color: #000000;
    --card-bg: #121316;
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --accent-color: #FACC15;
    --accent-hover: #EAB308;
    --blur-xl: blur(24px);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.w-full {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: var(--blur-xl);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient background effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(23, 28, 38, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.hero-text-layer {
    flex: 1;
}

.hero-visual-layer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-asset {
    max-width: 110%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.4)) drop-shadow(0 0 20px rgba(250, 204, 21, 0.2));
    animation: slowSpin 10s infinite ease-in-out;
    mix-blend-mode: screen;
    /* Fully removes black background to seamlessly blend */
}

@keyframes slowSpin {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(8deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Hero Decorative Animations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.5;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

.dec-1 {
    width: 350px;
    height: 350px;
    background: rgba(250, 204, 21, 0.15);
    /* Accent yellow */
    top: 20%;
    left: 10%;
    animation-duration: 12s;
}

.dec-2 {
    width: 450px;
    height: 450px;
    background: rgba(43, 88, 255, 0.12);
    /* Tech blue */
    bottom: 5%;
    right: 15%;
    animation-duration: 15s;
    animation-delay: -5s;
}

.dec-3 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    /* White highlight */
    top: 50%;
    right: 30%;
    animation-duration: 18s;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-40px) scale(1.05);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 0 2.5rem;
    /* align left */
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.hero-visual {
    margin-top: 4rem;
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.05);
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: rotateX(0deg);
}

/* Trusted By Marquee */
.trusted-marquee {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 1.5rem 0;
    white-space: nowrap;
    position: relative;
}

.trusted-marquee::before,
.trusted-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.trusted-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.trusted-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-content {
    display: inline-block;
    animation: scrollText 30s linear infinite;
}

.marquee-content span {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 2rem;
    opacity: 0.5;
    transition: var(--transition-smooth);
    vertical-align: middle;
}

.marquee-content span.dot {
    color: var(--accent-color);
    opacity: 1;
    font-size: 1.5rem;
}

.marquee-content span:hover:not(.dot) {
    opacity: 1;
    color: var(--text-primary);
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Products / Bento Grid */
.products {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 1.5rem;
}

.bento-item {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.5s;
}

.bento-item:hover img {
    opacity: 1;
}

.bento-wide {
    grid-column: span 2;
}

.bento-large {
    grid-row: span 2;
    background: linear-gradient(145deg, #171C26, #0a0c10);
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.bento-overlay h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Medicine AI Placeholder Styling */
.card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.badge {
    background: var(--accent-color);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-secondary);
}

.medicine-placeholder {
    flex-grow: 1;
    margin-top: 2rem;
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}

.medicine-placeholder::after {
    content: '+ Add medical workflow';
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Pricing Section Carousel */
.pricing {
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.pricing-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 2rem;
}

.pricing-header-row .section-title {
    margin-bottom: 0;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.arrow-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    pointer-events: auto;
    margin: 0 -15px;
    /* Pull arrows out slightly */
}

.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.pricing-carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0 2rem 0;
    margin-top: 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pricing-carousel-container::-webkit-scrollbar {
    display: none;
}

.pricing-slide {
    flex: 0 0 380px;
    scroll-snap-align: center;
    background: var(--surface-light, var(--card-bg));
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius, 24px);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-slide.highlight-slide {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.1);
}

.pricing-slide.dark-slide {
    background: #0d1016;
    /* slightly darker to anchor the high prices */
}

.tier-header {
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    min-height: 100px;
}

.tier-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tier-header .description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.tier-price {
    min-height: 90px;
}

.tier-price h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.tier-price p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    /* Reduced gap */
}

.tier-ideal {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    /* Reduced gap */
    line-height: 1.5;
    min-height: 50px;
    /* Reduced min-height to pull text up */
}

.tier-ideal.highlight-text {
    color: var(--accent-color);
    font-style: italic;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.feature-list li i {
    margin-top: 0.25rem;
}

.feature-list li.warning {
    color: var(--text-secondary);
}

.feature-list li.warning i {
    color: #fca5a5;
    font-style: normal;
}

.select-btn {
    margin-top: auto;
    display: inline-block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.select-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.2);
}

/* Pricing Slide Default Highlight */
.pricing-slide.highlight-slide .select-btn {
    background: var(--accent-color);
    color: #000;
}

.pricing-slide.highlight-slide .select-btn:hover {
    background: transparent;
    color: var(--accent-color);
}

.tier-ideal.highlight-text {
    color: var(--accent-color);
    font-weight: 500;
}

/* Feature List specialized for pricing */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.feature-list li.warning {
    color: #fca5a5;
}

.feature-list li.commentary {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0 2rem;
}

.testimonials-carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0 2rem 0;
    margin-top: 2rem;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.testimonials-carousel-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar WebKit */
}

.testimonial-card {
    flex: 0 0 450px;
    scroll-snap-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1.5rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.client-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
}

/* Contact / Lead Gen */
.contact-section {
    padding: 8rem 0;
    border-top: 1px solid var(--card-border);
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}

.social-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.whatsapp {
    color: #25D366;
}

.whatsapp:hover {
    border-color: #25D366;
}

.telegram {
    color: #0088cc;
}

.telegram:hover {
    border-color: #0088cc;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 32px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-appear {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-appear.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments are gathered at the end of the file */

/* Language Switcher */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid var(--card-border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* New Product Grid classes for Hover Overlay */
.ai-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(360px, auto);
    gap: 1.5rem;
}

.ai-product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.ai-product-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.ai-product-card:hover .product-bg {
    opacity: 0.15;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    overflow: hidden;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 3;
}

.ai-product-card:hover .card-content h3 {
    color: var(--accent-color);
}

.hover-overlay {
    position: relative;
    z-index: 3;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.ai-product-card:hover .hover-overlay {
    max-height: 250px;
    opacity: 1;
}

.overlay-content {
    padding-bottom: 1rem;
}

.overlay-content h4 {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    margin-top: 1rem;
}

.overlay-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* =========================================
   Responsive Design (Mobile Optimization)
   ========================================= */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Global layout & container */
    .container {
        padding: 0 1.25rem;
    }

    /* Navbar */
    .nav-links,
    .nav-cta {
        display: none;
        /* Hide default nav items on mobile */
    }

    .nav-container {
        padding: 0 1.25rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 7rem 1.25rem 4rem;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-text-layer {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual-layer {
        width: 100%;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.1rem;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-3d-asset {
        max-width: 75%;
        margin: 0 auto;
        display: block;
    }

    /* Text & Headings */
    .section-title {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1.05rem;
    }

    /* Marquee */
    .trusted-marquee {
        padding: 1rem 0;
    }

    .marquee-content span {
        font-size: 0.95rem;
        padding: 0 1.5rem;
    }

    .marquee-content span.dot {
        font-size: 1.25rem;
    }

    /* Products & Grids */
    .products {
        padding: 5rem 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Make AI Product Grid a carousel on mobile */
    .ai-product-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.25rem;
        padding-bottom: 1.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ai-product-grid::-webkit-scrollbar {
        display: none;
    }

    .ai-product-card {
        flex: 0 0 78vw;
        scroll-snap-align: center;
    }

    .bento-wide,
    .bento-large {
        grid-column: auto;
        grid-row: auto;
    }

    /* AI Product Cards - Mobile view adjustments */
    .card-content h3 {
        font-size: 1.35rem;
        color: var(--accent-color);
    }

    .hover-overlay {
        max-height: none;
        opacity: 1;
        margin-top: 0.75rem;
    }

    .product-bg {
        opacity: 0.2;
        /* Always ensure background is dark enough for text */
    }

    /* Pricing */
    .pricing {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .pricing-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .carousel-arrows {
        padding: 0;
    }

    .arrow-btn {
        margin: 0 -5px;
    }

    .pricing-slide {
        flex: 0 0 78vw;
        padding: 1.5rem;
    }

    .tier-price h2 {
        font-size: 2.2rem;
    }

    .feature-list li {
        font-size: 0.85rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 4rem 0 2rem;
    }

    .testimonial-card {
        flex: 0 0 78vw;
        padding: 1.5rem;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    /* Contact */
    .contact-section {
        padding: 5rem 0;
    }

    .contact-container {
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .social-links {
        margin-top: 1.5rem;
    }

    /* Footer */
    footer {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .pricing-slide {
        flex: 0 0 85vw;
        /* Squished to show next tariff */
        padding: 1.25rem;
    }

    .testimonial-card {
        flex: 0 0 85vw;
    }

    .ai-product-card {
        flex: 0 0 85vw;
        /* Added squished size for AI ecosystem */
    }

    .btn {
        padding: 0.85rem 1.2rem;
    }
}