:root {
    /* DEFAULT TO LIGHT THEME */
    --bg-color: #ffffff;
    --bg-gradient: linear-gradient(to left, #e9edf5 0%, #ffffff 100%);
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --gradient-start: #6AB9E0;
    --gradient-end: #F18324;
    --card-border: #e0e0e0;
    --card-hover: rgba(0, 0, 0, 0.03);
    --font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --header-bg: linear-gradient(to right, rgba(233, 237, 245, 0.7), rgba(255, 255, 255, 0.7));
    --header-scrolled: linear-gradient(to right, rgba(233, 237, 245, 0.8), rgba(255, 255, 255, 0.8));
    --hero-bg-gradient: radial-gradient(circle, rgba(163, 83, 244, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    --product-item-bg: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] {
    --bg-color: #0c0c0c;
    --bg-gradient: none;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --card-border: #333333;
    --card-hover: rgba(255, 255, 255, 0.05);
    --header-bg: rgba(12, 12, 12, 0.6);
    --header-scrolled: rgba(12, 12, 12, 0.8);
    --hero-bg-gradient: radial-gradient(circle, rgba(163, 83, 244, 0.15) 0%, rgba(12, 12, 12, 0) 70%);
    --product-item-bg: rgba(255, 255, 255, 0.02);
}

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

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 200;
    letter-spacing: -2px;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--header-scrolled);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-left: 40px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--gradient-start);
}

nav ul li a.active {
    color: var(--gradient-start);
    font-weight: 500;
}

/* Mobile active state */
.mobile-overlay ul li a.active {
    color: var(--gradient-start);
    font-weight: 500;
}

.btn-contact {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    background-image: linear-gradient(var(--bg-color), var(--bg-color)),
        linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: #ffffff;
    border-color: transparent;
}

/* Theme Toggle */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-nav-toggle {
    display: none;
}

.mobile-overlay {
    display: none;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 30px;
    position: relative;
    width: 60px;
    margin-bottom: 0;
}

.theme-switch input {
    display: none;
}

.slider {
    background-image: linear-gradient(var(--bg-color), var(--bg-color)),
        linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    bottom: 3px;
    content: "";
    height: 22px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 22px;
    border-radius: 50%;
}

input:checked+.slider:before {
    transform: translateX(28px);
}

.slider.round {
    border-radius: 30px;
}

/* Main Layout & Side Scroll Tracking */
.main-wrapper {
    display: flex;
}

.side-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 200px;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.side-nav.visible {
    opacity: 1;
    visibility: visible;
}

.side-nav::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 5px;
    bottom: 5px;
    width: 8px;
    background: var(--card-border);
    border-radius: 10px;
    opacity: 0.5;
}

.side-nav-progress {
    position: absolute;
    left: 40px;
    top: 0;
    width: 8px;
    height: 30px;
    background: #4C88FF;
    border-radius: 10px;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding-left: 35px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.side-nav a.active {
    color: var(--text-primary);
    font-weight: 500;
}

.content-area {
    margin-left: 250px;
    width: calc(100% - 250px);
    padding: 0;
    transition: all 0.5s ease;
}

/* Content Protection - Disable Text Selection */
* {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

/* Allow selection in inputs/textareas if needed (optional) */
input,
textarea {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.page-no-sidebar .content-area {
    margin-left: 0;
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 100px 100px 100px 100px;
}

.hero-bg {
    position: absolute;
    top: 80px;
    /* Header is approximately 80px high */
    right: 0;
    transform: none;
    width: 50%;
    height: calc(100% - 80px);
    background-image: url('assets/hero_visual.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    transition: all 1s ease;
}

.hero-bg::before {
    display: none;
}

[data-theme="light"] .hero-bg {
    opacity: 0.8;
}

.sticky-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
}

.sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    padding: 15px 5px;
    color: white;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 400;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sticky-btn i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.sticky-btn.red {
    background-color: #ce0303;
}

.sticky-btn.grey {
    background-color: #6b6b6b;
}

.sticky-btn:hover {
    width: 80px;
}

.sticky-btn span {
    display: block;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .logo a {
        margin-left: 15px;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.2 !important;
    }

    .sticky-actions {
        display: none;
    }
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 800px;
    letter-spacing: -3px;
}

.hero-main-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(98, 179, 229, 0.3);
}

.hero-icon-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    max-width: 600px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
    text-align: justify;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--gradient-start);
}

.hero-subtitle {
    display: inline-block;
    padding: 12px 30px;
    background: #ebf5ff;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #62b3e5;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

[data-theme="dark"] .hero-subtitle {
    background: rgba(98, 179, 229, 0.1);
    color: #62b3e5;
}

.hero-title .text-gradient {
    position: relative;
    display: inline-block;
}

.hero-title .text-gradient::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--gradient-start), transparent);
    z-index: -1;
    opacity: 0.5;
    border-radius: 4px;
}

/* Floating Badges for Hero */
.hero-badge {
    position: absolute;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .hero-badge {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-badge i {
    font-size: 1.5rem;
    color: var(--gradient-start);
}

.hero-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes float {

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

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

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

.badge-2 {
    bottom: 25%;
    right: 40%;
    animation-delay: 2s;
}


.about-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: justify;
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    background-image: linear-gradient(var(--bg-color), var(--bg-color)),
        linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* Section Common */
section {
    padding: 120px 100px;
    border-bottom: 0px solid var(--card-border);
}

.content-area section:nth-of-type(even) {
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
    color: #ffffff;
}

.content-area section:nth-of-type(even) h2 {
    color: #ffffff !important;
}

.content-area section:nth-of-type(even) .description-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .content-area section:nth-of-type(even) {
    background: transparent;
    color: var(--text-primary);
}

[data-theme="dark"] .content-area section:nth-of-type(even) h2 {
    color: inherit !important;
}

[data-theme="dark"] .content-area section:nth-of-type(even) .description-text {
    color: var(--text-secondary) !important;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

/* What We Do Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--card-border);
    border-left: 1px solid var(--card-border);
}

.service-card {
    padding: 20px 30px;
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
}

.service-card:hover {
    background: linear-gradient(225deg, #F18324, #6AB9E0);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 75, 255, 0.3);
    z-index: 2;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 10px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.service-card p {
    transition: color 0.3s ease;
}

.service-icon {
    font-size: 2rem;
    color: var(--gradient-start);
    margin-bottom: auto;
    transition: color 0.3s ease;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon,
.service-card:hover .service-arrow {
    color: #ffffff;
}

.service-arrow {
    align-self: flex-end;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(5px) rotate(-45deg);
}

/* Products Section */
.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-item:hover::before {
    opacity: 0.1;
}

.product-item i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.product-item p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.product-item:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.product-item:hover p {
    transform: translateX(5px);
}

[data-theme="dark"] .product-item {
    background: rgba(255, 255, 255, 0.02);
}

/* Footer Section */
footer {
    padding: 80px 100px;
    display: flex;
    border-top: 1px solid var(--card-border);
}

.footer-left {
    flex: 1;
    padding-right: 50px;
    border-right: 1px solid var(--card-border);
}

.footer-left h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-secondary);
    padding: 10px 0;
    color: var(--text-primary);
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--gradient-start);
    font-weight: bold;
    cursor: pointer;
    margin-left: -50px;
}

.footer-left p {
    text-align: justify;
}

.footer-right {
    flex: 1;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--gradient-start);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo a {
        margin-left: 5px;
    }
}

@media (max-width: 768px) {
    .logo a {
        margin-left: 15px;
    }

    /* Layout Reset */
    .main-wrapper {
        flex-direction: column;
    }

    /* Side Nav - Hide on mobile if specified, or make it horizontal */
    .side-nav {
        display: none;
        /* Best to hide it for clean mobile UX */
    }

    .content-area,
    .page-no-sidebar .content-area {
        margin-left: 0;
        width: 100%;
        padding: 0 20px;
    }

    /* Section Adjustment */
    section {
        padding: 60px 20px;
    }

    /* Header & Mobile Menu */
    header {
        padding: 15px 20px;
        height: 80px;
    }

    .logo img {
        height: 60px;
    }

    nav ul {
        display: none;
        /* Hide default list */
    }

    .header-actions {
        gap: 10px;
    }

    .btn-contact {
        display: none;
        /* Hide primary CTA on small screens in header, moved to menu */
    }

    /* Mobile Toggle */
    .mobile-nav-toggle {
        background: transparent;
        border: 1px solid var(--text-primary);
        color: var(--text-primary);
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Overlay Menu */
    .mobile-overlay {
        display: flex;
        /* Override global display: none */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        z-index: 10000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-overlay ul {
        list-style: none;
        text-align: center;
    }

    .mobile-overlay ul li {
        margin: 20px 0;
    }

    .mobile-overlay ul li a {
        font-size: 1.8rem;
        font-weight: 300;
        color: var(--text-primary);
        text-decoration: none;
    }

    .close-mobile-menu {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 2rem;
        cursor: pointer;
        color: var(--text-primary);
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 120px 20px 40px 20px;
        min-height: auto;
        text-align: left;
    }

    .hero-title {
        font-size: 2.8rem !important;
    }

    .hero-bg {
        width: 100%;
        height: 100%;
        opacity: 0.1 !important;
        background-size: cover;
    }

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

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .about-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Services & Products */
    .services-grid,
    .products-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
        min-height: auto;
    }

    /* Footer Mobile */
    footer {
        flex-direction: column;
        padding: 60px 20px;
        gap: 40px;
    }

    .footer-left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding-bottom: 40px;
    }

    .footer-left h3 {
        font-size: 1.8rem;
    }

    .footer-right {
        padding-left: 0;
    }

    /* Sticky Actions - Hide on mobile */
    .sticky-actions {
        display: none !important;
    }
}

/* Stats Grid Styling (Desktop) */
.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--card-border);
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 200;
    margin-bottom: 0px;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.description-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 900px;
    margin-bottom: 50px;
    text-align: justify;
}

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

    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
}

/* Animations & Particles */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Staggered Delay for grid items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

.stagger-7 {
    transition-delay: 0.7s;
}

.stagger-8 {
    transition-delay: 0.8s;
}

/* Fixed active state for hero-content elements as they start as "reveal" */
.hero-content.reveal {
    opacity: 1;
    /* override reveal initial as they'll have their own entrance animation maybe? */
}

/* But let's actually make the whole hero-content reveal */
/* Product Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.tab-btn {
    padding: 10px 25px;
    background-image: linear-gradient(var(--bg-color, #ffffff), var(--bg-color, #ffffff)),
        linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.4s ease;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo a {
        margin-left: 15px;
    }

    .tabs-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 5px 20px 20px 20px;
        margin-left: -20px;
        margin-right: -20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        gap: 12px;
        margin-top: 20px;
    }

    .tabs-container::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

[data-theme="dark"] .tab-btn {
    background-image: linear-gradient(#1a1f2e, #1a1f2e),
        linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(98, 179, 229, 0.2);
}

.tab-btn.active {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(98, 179, 229, 0.4);
}

.product-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}