:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --accent-primary: #00d4ff;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #f472b6;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border: rgba(255,255,255,0.08);
    --glow-cyan: 0 0 30px rgba(0,212,255,0.4);
    --glow-purple: 0 0 30px rgba(139,92,246,0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
    line-height: 1.6;
    height: 100vh;
    width: 100%;
}

.page-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.section-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
}

/* All sections for fly effect */
#hero, #services, #solutions, #products, #deployment, #contact, #footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease, filter 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 100%; 
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

.nav.scrolled {
    background: rgba(10,10,15,0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-catalog {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    transition: 0.3s;
    box-shadow: var(--glow-cyan);
}

.btn-catalog:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: rgba(255,255,255,0.1);
    padding: 8px;
    border-radius: 8px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* About Us Section */
.about-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

.about-content {
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-lead {
    font-size: 20px;
    color: var(--text-primary) !important;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder i {
    font-size: 80px;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.about-image-text {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Our Team Section */
.team-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-cyan);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.team-avatar i {
    font-size: 32px;
    color: var(--bg-primary);
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-role {
    color: var(--accent-primary);
    font-size: 14px;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    color: var(--text-muted);
    font-size: 16px;
    transition: 0.3s;
}

.team-social a:hover {
    color: var(--accent-primary);
}

/* Our Clients Section */
.clients-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

.clients-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.clients-more {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 20px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Center the last item if there's an odd number of items */
.clients-grid > :last-child:nth-child(3n+1) {
    grid-column: 2;
}

.client-logo {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: 0.4s ease;
}

.client-logo:hover {
    border-color: var(--accent-secondary);
}

.client-logo img {
    width: 300px;
    height: 120px;
    object-fit: contain;
    transition: 0.4s ease;
}

.client-logo span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.geometric-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.05);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation: rotate 15s linear infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 10s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    min-height: 30px;
}

.typewriter {
    display: inline-block;
    border-right: 2px solid var(--accent-primary);
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 36px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.4s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0,212,255,0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent-secondary);
    box-shadow: var(--glow-purple);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scroll-dot 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll-dot {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; top: 20px; }
}

/* Scrolling Card Sections */
.scroll-section {
    padding-top: 70px;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    perspective: 2000px;
    transform-style: preserve-3d;
}

@media (min-width: 769px) {
    .scroll-section {
        perspective: 1800px;
    }
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.scroll-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: wheel-scroll 50s linear infinite;
}

.scroll-track.products-track {
    animation: wheel-scroll-reverse 50s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
}

@keyframes wheel-scroll {
    0% { 
        transform: translateX(0%) rotateX(0deg) translateY(0);
    }
    12% { 
        transform: translateX(-12%) rotateX(2deg) translateY(-15px);
    }
    25% { 
        transform: translateX(-25%) rotateX(0deg) translateY(0);
    }
    37% { 
        transform: translateX(-37%) rotateX(-2deg) translateY(-15px);
    }
    50% { 
        transform: translateX(-50%) rotateX(0deg) translateY(0);
    }
    62% { 
        transform: translateX(-62%) rotateX(2deg) translateY(-15px);
    }
    75% { 
        transform: translateX(-75%) rotateX(0deg) translateY(0);
    }
    87% { 
        transform: translateX(-87%) rotateX(-2deg) translateY(-15px);
    }
    100% { 
        transform: translateX(-100%) rotateX(0deg) translateY(0);
    }
}

@keyframes wheel-scroll-reverse {
    0% { 
        transform: translateX(-100%) rotateX(0deg) translateY(0);
    }
    12% { 
        transform: translateX(-87%) rotateX(-2deg) translateY(-15px);
    }
    25% { 
        transform: translateX(-75%) rotateX(0deg) translateY(0);
    }
    37% { 
        transform: translateX(-62%) rotateX(2deg) translateY(-15px);
    }
    50% { 
        transform: translateX(-50%) rotateX(0deg) translateY(0);
    }
    62% { 
        transform: translateX(-37%) rotateX(-2deg) translateY(-15px);
    }
    75% { 
        transform: translateX(-25%) rotateX(0deg) translateY(0);
    }
    87% { 
        transform: translateX(-12%) rotateX(2deg) translateY(-15px);
    }
    100% { 
        transform: translateX(0%) rotateX(0deg) translateY(0);
    }
}

.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    transform: rotateX(0deg);
}

.scroll-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.card {
    background: rgba(26,26,37,0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    width: 380px;
    flex-shrink: 0;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-cyan);
    background: rgba(26,26,37,1);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(139,92,246,0.2));
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-description {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 500;
}

/* Deployment Section */
.deployment-section {
    padding-top: 70px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.deployment-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: 0.4s ease;
}

.deployment-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-8px);
    box-shadow: var(--glow-purple);
}

.deployment-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.deployment-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.deployment-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.deployment-features {
    list-style: none;
}

.deployment-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deployment-features li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding-top: 70px;
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(0,212,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-contact-form {
    display: none;
    margin-top: 24px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.3s ease;
}

.btn-contact-form span {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-contact-form:hover span {
    transform: translateX(5px);
}

.contact-item-text {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group.error .form-error {
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0,212,255,0.5);
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    color: var(--accent-primary);
}

.form-success.show {
    display: block;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer-content {
    width: 100%;
}

.footer-header {
    margin-bottom: 40px;
    text-align: center;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    background: rgba(0,212,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-label {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.social-link i {
    font-size: 18px;
}

.social-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-map {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: 40px;
}

.map-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.map-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.map-subtext {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

/* Right Slider Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.close-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-primary);
    transition: 0.3s;
}

.close-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    gap: 8px;
}

.mobile-menu-content a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 16px 20px;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-item {
    position: relative;
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
    margin-bottom: 8px;
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu a {
    font-size: 16px;
    padding: 12px 16px;
}

.submenu-toggle {
    transition: transform 0.3s ease;
}

.submenu-toggle.open {
    transform: rotate(90deg);
}

.has-submenu {
    cursor: pointer;
}

.mobile-menu-content a:hover,
.mobile-menu-content a.active {
    color: var(--accent-primary);
    background: rgba(0,212,255,0.1);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    text-align: center;
}

/* 3D Carousel Styles */
.carousel-3d-container {
    perspective: 1200px;
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 40px;
}

.carousel-3d {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotateCarousel 90s linear infinite;
}



.carousel-3d .card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    margin: -160px;
    padding: 24px;
    background: rgba(26,26,37,0.9);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-3d .card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--glow-cyan);
}

@keyframes rotateCarousel {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-360deg); }
}

#nav-logo {
    width: 100px;
}

/* Responsive */
@media (max-width: 1024px) {
    .deployment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .carousel-3d-container {
        height: 350px;
    }

    .carousel-3d .card {
        width: 250px;
        margin: -125px;
        padding: 18px;
    }
}

@media (max-width: 768px) { 
    #main-menu {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero {
        min-height: 100dvh;
        padding: 80px 24px 60px;
    }

    .section-title {
        font-size: 32px;
    }

    .scroll-section {
        padding: 60px 0;
    }

    .card {
        width: 300px;
        padding: 24px;
    }

    .deployment-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        padding: 0 24px 20px;
        gap: 16px;
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
    }

    .deployment-card {
        width: calc(100vw - 48px);
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .contact-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        padding: 0 24px 20px;
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
        gap: 16px;
    }

    .contact-info {
        min-width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .contact-form {
        min-width: calc(100vw - 48px);
        flex-shrink: 0;
    }

    .btn-contact-form {
        display: block;
        width: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .scroll-track {
        animation: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 0 24px;
        width: 100%;
        max-width: 100vw;
        touch-action: pan-x;
        cursor: grab;
    }

    .scroll-section {
        min-height: 100dvh;
        padding: 60px 0;
    }

    .deployment-section {
        min-height: 100dvh;
        padding: 60px 0;
    }

    .about-section {
        min-height: 100dvh;
        padding: 60px 0;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .about-image-placeholder {
        width: 100%;
        height: 180px;
    }

    .about-text p:not(.about-lead) {
        display: none;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 24px;
        padding-top: 24px;
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .team-section {
        min-height: 100dvh;
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .team-card {
        padding: 24px 16px;
    }

    .clients-section {
        min-height: 100dvh;
        padding: 60px 0;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .contact-section {
        min-height: 100dvh;
        padding: 60px 0;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-info {
        order: 1;
    }

    .footer-map {
        order: 0;
        min-height: 200px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
        display: none;
    }

    .footer-column {
        width: 100%;
    }

    #nav-logo {
        width: 80px;
    }

    .carousel-3d-container {
        height: 300px;
    }

    .carousel-3d .card {
        width: 200px;
        margin: -100px;
        padding: 16px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

#main-menu {
    z-index: 1010; 
    position: fixed; 
    right: 20px; 
    top: 50%; 
    transform: translate(0, -50%);
}

#main-menu > ul {
    text-align: right;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#main-menu > ul > li {
    padding-bottom: 10px;
}

#main-menu > ul > li > a {
    color: white;
    text-decoration: none;
}

#main-menu > ul > li > a:hover {
    border-bottom: 1px solid white;
    font-size: 15pt;
}

#main-menu > ul > li > a.active {
    font-size: 17pt;
    border-bottom: 1px solid white;
}

/* ============================================
   PRODUCT PAGE GLOBAL STYLES
   For: bualconnect.html, maya-shield.html, berespay.html, oversee.html, persona.html
   Reuses navigation CSS from index.html
   ============================================ */

body.product-page {
    overflow-x: hidden;
    height: auto;
    background: var(--bg-primary);
}

/* Enable scrolling for product pages */
body.product-page {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 100vh;
}

/* Buttons */
body.product-page .btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

body.product-page .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

body.product-page .btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

body.product-page .btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* Hero Section */
body.product-page .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

body.product-page .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

body.product-page .hero-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: floatProduct 8s ease-in-out infinite;
}

body.product-page .hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: floatProduct 10s ease-in-out infinite reverse;
}

@keyframes floatProduct {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

body.product-page .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

body.product-page .hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

body.product-page .hero p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

body.product-page .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

body.product-page .hero-mockup {
    background: var(--bg-tertiary);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--glow-cyan);
}

body.product-page .mockup-img {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--accent-primary);
    font-size: 48px;
}

body.product-page .mockup-img span {
    font-size: 14px;
    margin-top: 16px;
    color: var(--text-secondary);
}

/* Problem Section */
body.product-page .problem-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

body.product-page .section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

body.product-page .section-sub {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
}

body.product-page .problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

body.product-page .problem-icon {
    font-size: 80px;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

body.product-page .solution-badge {
    background: rgba(0, 212, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Categories Section */
body.product-page .categories-section {
    padding: 100px 0;
}

body.product-page .category-group {
    margin-bottom: 80px;
}

body.product-page .category-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-left: 16px;
    border-left: 4px solid var(--accent-primary);
}

body.product-page .modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

body.product-page .module-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: 0.3s;
}

body.product-page .module-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

body.product-page .module-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

body.product-page .module-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

body.product-page .module-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

body.product-page .mockup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

body.product-page .mockup-card {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: 0.3s;
}

body.product-page .mockup-card:hover {
    border-color: var(--accent-primary);
}

body.product-page .mockup-card i {
    font-size: 64px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

/* bconnect Block */
body.product-page .bconnect-block {
    background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
    padding: 100px 0;
    text-align: center;
}

body.product-page .file-icon {
    font-size: 80px;
    background: rgba(0, 212, 255, 0.2);
    width: 120px;
    height: 120px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
}

/* VR Section */
body.product-page .vr-section {
    padding: 100px 0;
}

body.product-page .vr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Deployment Options */
body.product-page .deployment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

body.product-page .deploy-card {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border);
    transition: 0.3s;
}

body.product-page .deploy-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

body.product-page .deploy-card i {
    font-size: 48px;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

/* Fixer Banner */
body.product-page .fixer-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    padding: 80px 0;
    text-align: center;
}

/* CTA Section */
body.product-page .cta-section {
    padding: 100px 0;
    text-align: center;
}

/* Footer */
body.product-page .footer,
body.product-page .footer-product {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

body.product-page .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

body.product-page .footer-logo a {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

body.product-page .footer-links {
    display: flex;
    gap: 60px;
}

body.product-page .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: 0.3s;
}

body.product-page .footer-links a:hover {
    color: var(--accent-primary);
}

body.product-page .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* WhatsApp Float */
body.product-page .whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    z-index: 999;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

body.product-page .whatsapp-float:hover {
    transform: scale(1.1);
}

/* Container */
body.product-page .container-logo {
    margin: 0 auto;
    padding: 0 24px;
}

body.product-page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text Helper */
body.product-page .gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HIDE SCROLLBAR ON PRODUCT PAGES (Keep scrolling)
   ============================================ */

/* Override global hidden overflow for product pages */
body.product-page,
body.product-page html {
    overflow: visible !important;
    overflow-x: hidden !important;
}

/* Hide scrollbar but keep scroll functional */
body.product-page {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

/* Chrome, Safari, Edge */
body.product-page::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Also hide on html when body has product-page class */
html:has(body.product-page) {
    overflow: auto !important;
}

html:has(body.product-page)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    body.product-page .hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    body.product-page .hero-grid,
    body.product-page .problem-grid,
    body.product-page .vr-grid {
        grid-template-columns: 1fr;
    }

    body.product-page .hero h1 {
        font-size: 36px;
    }

    body.product-page .section-title {
        font-size: 32px;
    }

    body.product-page .deployment-options {
        grid-template-columns: 1fr;
    }

    body.product-page .mockup-row {
        grid-template-columns: 1fr;
    }

    body.product-page .modules-grid {
        grid-template-columns: 1fr;
    }

    body.product-page .footer-content {
        flex-direction: column;
    }

    body.product-page .footer-links {
        flex-direction: column;
        gap: 24px;
    }
}