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

:root {
    --nks-blue: #007bff;
    --dark-navy: #1a1a1a;
    --white: #ffffff;
    --orange: #FFA500;
    --yellow-accent: #FFD700;
    --gray-text: #666666;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --blue-light: #e0f7fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Cantarell, sans-serif;
    color: var(--dark-navy);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fade in animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--transition-smooth);
    animation: fadeInUp 0.6s ease-out;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 2rem;
}

/* Desktop: Center the nav menu between logo and language switcher */
@media (min-width: 769px) {
    .navbar .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
        align-items: center;
    }
    
    .nav-menu {
        justify-self: center;
        margin-right: 0;
    }
    
    .language-switcher-container {
        justify-self: end;
    }
}


.nav-brand .brand-link {
    text-decoration: none;
}

.nav-brand .brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--nks-blue);
    letter-spacing: -0.5px;
    transition: all 0.3s var(--transition-bounce);
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.nav-brand .brand-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-brand .brand-link:hover .brand-text {
    transform: scale(1.05);
    color: var(--orange);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin-right: auto;
}

/* Desktop: Remove auto margin to allow centering */
@media (min-width: 769px) {
    .nav-menu {
        margin-right: 0;
    }
}

.nav-menu li {
    animation: fadeInUp 0.6s ease-out backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }

.nav-menu a {
    text-decoration: none;
    color: var(--dark-navy);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s var(--transition-smooth);
    padding: 0.25rem 0;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nks-blue), var(--orange));
    transition: width 0.4s var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--nks-blue);
}

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

/* Active link styling */
.nav-menu a.active {
    color: var(--nks-blue);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--nks-blue) 0%, var(--orange) 100%);
}

.nav-menu a.active:hover {
    color: var(--nks-blue);
}

/* Back to home link styling */
.nav-menu li:first-child a[href$=".html"] {
    color: var(--nks-blue);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(0, 184, 212, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu li:first-child a[href$=".html"]:hover {
    background: rgba(0, 184, 212, 0.2);
    transform: translateX(-3px);
}

.nav-menu li:first-child a[href$=".html"]::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--dark-navy);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 7rem 0 6rem;
    margin-top: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #e8f5f6 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 184, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, var(--orange) 0%, #ff6b35 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideInLeft 0.8s ease-out 0.1s backwards;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.hero-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    animation: slideInLeft 0.8s ease-out;
    animation-fill-mode: forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark-navy);
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-title span {
    display: inline-block;
}

.hero-title .highlight {
    position: relative;
    color: var(--dark-navy);
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -0.1em;
    right: -0.1em;
    height: 0.4em;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    opacity: 0.25;
    z-index: -1;
    border-radius: 4px;
    animation: scaleIn 0.6s ease-out 0.8s backwards;
    transform-origin: left center;
}

.hero-title .highlight {
    color: var(--nks-blue);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #546e7a;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-tagline {
    margin-bottom: 0;
    padding: 1.5rem 0 0 0;
    opacity: 1;
    transform: translateY(0);
    border-top: 3px solid rgba(0, 184, 212, 0.2);
    margin-top: 1.5rem;
}

.hero-tagline p {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark-navy);
    opacity: 1;
    transform: translateY(0);
    font-weight: 600;
}

.hero-tagline .team-name {
    opacity: 1;
    transform: translateY(0);
}

.team-name {
    color: var(--nks-blue);
    font-weight: 800;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.3px;
}

.team-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nks-blue);
    transition: width 0.4s var(--transition-smooth);
}

.hero-tagline:hover .team-name::after {
    width: 100%;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 0.8s ease-out 0.3s backwards;
    perspective: 1000px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.team-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: block;
    transition: all 0.5s var(--transition-smooth);
    transform-style: preserve-3d;
    border: 4px solid white;
}

.team-photo:hover {
    transform: translateY(-10px) rotateY(2deg) rotateX(2deg) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 184, 212, 0.35);
    border-color: var(--nks-blue);
}

.placeholder-image {
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    border-radius: 8px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--gray-text);
    font-style: italic;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 1rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--transition-smooth);
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--nks-blue) 0%, var(--orange) 100%);
    border-radius: 2px;
    transition: transform 0.6s var(--transition-smooth) 0.3s;
}

.section-title.animate::after {
    transform: translateX(-50%) scaleX(1);
}

.section-intro {
    font-size: 1.25rem;
    color: var(--gray-text);
    text-align: center;
    max-width: 850px;
    margin: 2rem auto 2.5rem;
    line-height: 1.7;
}

.section-text {
    font-size: 1.15rem;
    color: var(--gray-text);
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 6rem 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 184, 212, 0.2) 50%, transparent 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 184, 212, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.value-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.value-card.animate:nth-child(1) {
    transition-delay: 0.1s;
}

.value-card.animate:nth-child(2) {
    transition-delay: 0.3s;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nks-blue), var(--orange));
    transform: scaleX(0);
    transition: transform 0.5s var(--transition-smooth);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 184, 212, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.value-card:hover::after {
    width: 400px;
    height: 400px;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 184, 212, 0.2);
    border-color: rgba(0, 184, 212, 0.3);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

.value-card h3 {
    font-size: 1.6rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--gray-text);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Products Section */
.products {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #e3f2fd 100%);
    padding: 6rem 0;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 184, 212, 0.2) 50%, transparent 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
}

.product-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 184, 212, 0.1);
}

.product-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-card.animate:nth-child(1) {
    transition-delay: 0.1s;
}

.product-card.animate:nth-child(2) {
    transition-delay: 0.3s;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--nks-blue), var(--orange));
    transition: left 0.6s var(--transition-smooth);
}

.product-card:hover::before {
    left: 0;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 184, 212, 0.2);
    border-color: rgba(0, 184, 212, 0.3);
}

.product-card.featured {
    border-top: 5px solid var(--nks-blue);
}

.product-card.featured::before {
    background: linear-gradient(90deg, var(--nks-blue), #0056b3);
}

.product-card.in-development {
    border-top: 5px solid var(--orange);
}

.product-card.in-development::before {
    background: linear-gradient(90deg, var(--orange), #ff8c00);
}

.product-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    width: 130px;
    height: 100px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.product-card:hover .product-icon {
    filter: drop-shadow(0 8px 16px rgba(0, 184, 212, 0.3));
}

.product-card h3 {
    font-size: 1.3rem;
    color: var(--dark-navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-description {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nks-blue);
    font-weight: bold;
    font-size: 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 184, 212, 0.1);
    border-radius: 50%;
}

.product-screenshot {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.screenshot-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: block;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
}

.screenshot-image:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.beta-notice {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--orange);
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(255, 165, 0, 0.1);
    font-size: 0.9rem;
}

.btn-product {
    display: inline-block;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--nks-blue) 0%, #0056b3 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-product::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-product:hover::before {
    width: 400px;
    height: 400px;
}

.btn-product:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 212, 0.5);
}

.btn-product:active {
    transform: translateY(-1px);
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 50%, #f0f7fa 100%);
    padding: 6rem 0;
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 184, 212, 0.2) 50%, transparent 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 184, 212, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.benefit-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card.animate:nth-child(1) { transition-delay: 0.1s; }
.benefit-card.animate:nth-child(2) { transition-delay: 0.2s; }
.benefit-card.animate:nth-child(3) { transition-delay: 0.3s; }
.benefit-card.animate:nth-child(4) { transition-delay: 0.4s; }

.benefit-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--nks-blue), var(--orange));
    transition: top 0.5s var(--transition-smooth);
}

.benefit-card:hover::before {
    top: 0;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 184, 212, 0.2);
    border-color: rgba(0, 184, 212, 0.3);
}

.benefit-card h3 {
    font-size: 1.6rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-left: 1.8rem;
}

.benefit-card h3::before {
    content: '→';
    position: absolute;
    left: 0.3rem;
    color: var(--nks-blue);
    opacity: 1;
    transition: transform 0.3s;
    transform: translateX(0);
}

/* Desktop: Enhanced styling for benefit cards */
@media (min-width: 769px) {
    .benefit-card h3 {
        padding-left: 2.2rem;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .benefit-card h3::before {
        left: 0.5rem;
        font-size: 1.5rem;
    }
    
    .benefit-card {
        padding: 3rem 2.5rem;
        border-radius: 24px;
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 1px solid rgba(0, 184, 212, 0.15);
    }
    
    .benefit-card:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 16px 50px rgba(0, 184, 212, 0.25);
        border-color: rgba(0, 184, 212, 0.4);
        background: linear-gradient(135deg, #ffffff 0%, #f0f7fa 100%);
    }
    
    .benefit-card p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--gray-text);
    }
    
    .benefits-grid {
        gap: 2.5rem;
        margin-bottom: 5rem;
    }
    
    .benefit-card::before {
        width: 5px;
    }
}

.benefit-card:hover h3::before {
    transform: translateX(2px);
}

.benefit-card p {
    color: var(--gray-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.cta-box {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
    color: var(--white);
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(0, 184, 212, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(50px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cta-box.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.cta-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 184, 212, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-box h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
    transition: transform 0.3s var(--transition-smooth);
}

.cta-box:hover h3 {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 6rem 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 184, 212, 0.2) 50%, transparent 100%);
}

.contact-form {
    max-width: 650px;
    margin: 0 auto 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(50px);
    border: 1px solid rgba(0, 184, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nks-blue) 0%, var(--orange) 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.contact-form:hover::before {
    transform: scaleX(1);
}

.contact-form.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-form:hover {
    box-shadow: 0 15px 50px rgba(0, 184, 212, 0.2);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 184, 212, 0.3);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--dark-navy);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.4s var(--transition-smooth);
    background: var(--white);
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nks-blue);
    box-shadow: 0 0 0 4px rgba(0, 184, 212, 0.1);
    transform: translateY(-2px);
    background: rgba(224, 247, 250, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--nks-blue);
}

.checkbox-label a {
    color: var(--nks-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.checkbox-label a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1.15rem 2rem;
    background: linear-gradient(135deg, var(--nks-blue) 0%, #0056b3 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 212, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
}

.contact-info {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--gray-text);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 184, 212, 0.1);
    transition: all 0.4s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 184, 212, 0.15);
    border-color: rgba(0, 184, 212, 0.2);
}

.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.contact-info strong {
    color: var(--dark-navy);
    font-weight: 700;
}

.contact-info a {
    color: var(--nks-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--nks-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.social-links a:hover {
    color: #0056b3;
    background: rgba(0, 184, 212, 0.1);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a1929 0%, #0d0d0d 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nks-blue) 0%, var(--orange) 50%, var(--nks-blue) 100%);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 184, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.footer-brand h3 {
    color: var(--nks-blue);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.footer-brand h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--nks-blue) 100%);
    border-radius: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--nks-blue);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.85rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    position: relative;
}

.footer-column a::before {
    content: '→';
    opacity: 0;
    margin-right: 0;
    transition: all 0.3s ease;
    color: var(--orange);
}

.footer-column a:hover {
    color: var(--nks-blue);
    padding-left: 1.25rem;
}

.footer-column a:hover::before {
    opacity: 1;
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
}

.made-in {
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.made-in::before {
    content: '';
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--nks-blue) 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 184, 212, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    z-index: 999;
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.go-to-top:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 184, 212, 0.6);
}

.go-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.go-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.go-to-top:hover svg {
    transform: translateY(-3px);
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Disable keyframe animations on mobile */
    .navbar,
    .nav-menu li,
    .hero::before,
    .hero::after,
    .hero-badge,
    .hero-text,
    .hero-image,
    .hero-title .highlight::after {
        animation: none !important;
    }
    
    /* Show hero elements immediately on mobile (no initial animations) */
    .hero-badge {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-text {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-image {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-title .highlight::after {
        opacity: 0.25 !important;
        transform: scaleX(1) !important;
    }
    
    /* Keep scroll animations working - they use transitions, not keyframes */
    /* Elements start hidden and animate when scrolled into view */
    
    /* Disable hover effects and transitions on mobile (except scroll animations) */
    .value-card:hover,
    .benefit-card:hover,
    .benefit-card:hover h3,
    .benefit-card:hover h3::before,
    .product-card:hover,
    .contact-form:hover,
    .cta-box:hover,
    .cta-box:hover h3,
    .team-photo:hover,
    .screenshot-image:hover,
    .btn-product:hover,
    .contact-info:hover,
    .social-links a:hover,
    .nav-brand .brand-link:hover .brand-text,
    .nav-menu a:hover,
    .lang-option:hover {
        transform: none !important;
        box-shadow: inherit !important;
        color: inherit !important;
        opacity: inherit !important;
        scale: 1 !important;
    }
    
    /* Disable hover pseudo-elements */
    .value-card:hover::before,
    .value-card:hover::after,
    .benefit-card:hover::before,
    .product-card:hover::before,
    .contact-form:hover::before,
    .btn-product:hover::before,
    .nav-brand .brand-link:hover .brand-text::after,
    .nav-menu a:hover::after {
        display: none !important;
        opacity: 0 !important;
    }
    
    /* Ensure CTA box h3 text is always visible on mobile */
    .cta-box h3,
    .cta-box:hover h3,
    .cta-box:active h3,
    .cta-box:focus h3 {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        color: var(--white) !important;
    }
    
    /* Keep arrow visible on mobile but disable hover animation */
    .benefit-card:hover h3::before {
        transform: translateX(0) !important;
    }
    
    /* Disable all :active states on mobile */
    .btn-product:active,
    .benefit-card:active,
    .cta-box:active,
    .product-card:active,
    .value-card:active {
        transform: none !important;
    }
    
    /* Disable non-scroll transitions on mobile */
    .team-photo,
    .screenshot-image,
    .btn-product,
    .contact-info,
    .social-links a,
    .nav-brand .brand-text,
    .nav-menu a {
        transition: none !important;
    }
    
    /* Keep transitions for scroll animations only */
    .section-title,
    .value-card,
    .benefit-card,
    .product-card,
    .contact-form,
    .cta-box {
        transition: opacity 0.6s ease, transform 0.6s ease !important;
    }
    
    /* Ensure CTA box is visible on mobile even if animation doesn't trigger */
    .cta-box {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        user-select: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        position: relative;
        z-index: 1;
    }
    
    /* Prevent CTA box from being affected by any transforms or animations on touch */
    .cta-box:active,
    .cta-box:focus,
    .cta-box:hover {
        transform: translateY(0) !important;
        outline: none !important;
        opacity: 1 !important;
        color: var(--white) !important;
    }
    
    /* Disable transitions on CTA box h3 for mobile */
    .cta-box h3 {
        transition: none !important;
        color: var(--white) !important;
    }
    
    /* Prevent any transform from being applied on touch */
    .benefit-card,
    .value-card {
        transform: none !important;
    }
    
    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 0;
        margin-right: 0;
    }
    
    .navbar .container {
        flex-wrap: nowrap;
        gap: 0.6rem;
    }
    
    /* Reduce logo size slightly on mobile */
    .nav-brand .brand-text {
        font-size: 1.05rem;
    }
    
    /* Hide desktop language switcher on mobile */
    .language-switcher-desktop {
        display: none !important;
    }
    
    /* Show mobile header language switcher (between logo and hamburger) */
    .language-switcher-mobile-header {
        display: flex !important;
        align-items: center;
        order: 2;
        flex-shrink: 0;
    }
    
    /* Ensure hamburger menu is last */
    .nav-toggle {
        order: 3;
        flex-shrink: 0;
    }
    
    /* Ensure logo is first */
    .nav-brand {
        order: 1;
        flex: 1;
        min-width: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 4rem 0 3rem;
        margin-top: 70px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.55rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-tagline {
        margin-bottom: 0;
    }

    .hero-tagline p {
        font-size: 1rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .section-text {
        font-size: 1.05rem;
        margin-bottom: 3rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 3rem;
    }

    .about,
    .products,
    .why-us,
    .contact {
        padding: 4rem 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .value-card,
    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-icon {
        width: 110px;
        height: 90px;
        margin-bottom: 0.5rem;
    }

    .product-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .product-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .product-features li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }

    .product-screenshot {
        margin: 1rem 0;
    }

    .btn-product {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 3rem 2rem;
        margin-top: 3rem;
    }

    .cta-box h3 {
        font-size: 1.6rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 2rem;
    }

    .footer-column a:hover {
        padding-left: 0.75rem;
    }

    .go-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .go-to-top svg {
        width: 18px;
        height: 18px;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.35rem;
    }

    .footer-column h4 {
        font-size: 0.85rem;
    }

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

    .go-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }

    .go-to-top svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        padding: 3rem 0 2.5rem;
        margin-top: 65px;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.25;
    }

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

    .hero-tagline p {
        font-size: 0.95rem;
    }

    .team-name {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-title::after {
        width: 50px;
        height: 3px;
    }

    .section-intro {
        font-size: 1rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .value-card,
    .benefit-card {
        padding: 1.75rem 1.25rem;
    }

    .value-icon {
        font-size: 3rem;
    }

    .value-card h3,
    .benefit-card h3 {
        font-size: 1.4rem;
    }

    .product-card {
        padding: 1rem 1rem 1.2rem;
        margin-bottom: 1.1rem;
    }

    .product-icon {
        font-size: 2.8rem;
        width: 130px;
        height: 110px;
        margin-top: 0.5rem;
        margin-bottom: -0.5rem;
    }

    .product-icon img {
        max-width: 100%;
        height: auto;
    }

    .product-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.35rem;
        margin-top: -0.4rem;
        line-height: 1.25;
    }

    .product-description {
        font-size: 0.9rem;
        line-height: 1.45;
        margin-bottom: 0.7rem;
    }

    .product-features {
        margin-bottom: 1rem;
    }

    .product-features li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
        padding-left: 1.5rem;
        line-height: 1.5;
    }

    .product-screenshot {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .screenshot-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .btn-product {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 1rem;
    }

    .contact-form {
        padding: 1.75rem 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1rem;
    }

    .btn-submit {
        padding: 1rem;
        font-size: 1rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .cta-box h3 {
        font-size: 1.35rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* Language Selector Modal */
.language-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.language-modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.4s ease;
}

.language-modal-content h2 {
    font-size: 2rem;
    color: var(--dark-navy);
    margin-bottom: 2rem;
    font-weight: 700;
}

.language-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--white) 100%);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    min-width: 150px;
}

.lang-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--nks-blue);
}

.lang-flag {
    font-size: 3rem;
    line-height: 1;
}

.lang-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-navy);
}

/* Language Switcher in Navbar */
.language-switcher-container {
    display: flex;
    align-items: center;
}

.language-switcher {
    position: relative;
    margin-left: 1rem;
}

/* Ensure only one language switcher per container */
.language-switcher-container .language-switcher:not(:first-child) {
    display: none !important;
}

/* Mobile header language switcher (between logo and hamburger) */
.language-switcher-mobile-header {
    display: none;
}

/* Ensure only one language switcher in mobile header */
.language-switcher-mobile-header .language-switcher:not(:first-child) {
    display: none !important;
}

.language-switcher-mobile-header .language-switcher {
    margin-left: 0;
    margin-right: 0.6rem;
}

.language-switcher-mobile-header .lang-switch-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 0.4rem;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 8px;
}

.language-switcher-mobile-header .current-lang-code {
    display: none;
}

.language-switcher-mobile-header .current-lang-flag {
    font-size: 1.3rem;
    line-height: 1;
}

.language-switcher-mobile-header .lang-dropdown {
    right: 0;
    left: auto;
    min-width: 160px;
}

.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nks-blue);
}

.lang-switch-btn:hover {
    background: rgba(0, 123, 255, 0.15);
    border-color: var(--nks-blue);
}

.current-lang-flag {
    font-size: 1.2rem;
}

.current-lang-code {
    font-weight: 700;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    overflow: hidden;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: var(--dark-navy);
}

.lang-option:hover {
    background: #f8f9fa;
}

.lang-option.active {
    background: rgba(0, 123, 255, 0.1);
    color: var(--nks-blue);
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
    /* Desktop switcher is hidden, mobile switcher is inside menu */
    .language-switcher-desktop {
        display: none !important;
    }
    
    .language-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .language-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .lang-btn {
        padding: 1.5rem 2rem;
        min-width: 120px;
    }
}
