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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0d0d0d;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --accent-primary: #ffffff;
    --accent-secondary: #666666;
    --accent-dark: #333333;
    --gradient-1: linear-gradient(135deg, #ffffff 0%, #666666 100%);
    --gradient-2: linear-gradient(135deg, #333333 0%, #000000 100%);
}

/* Global Typography */
p {
    text-align: justify;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* RTL Support for Arabic */
html[lang="ar"] {
    direction: rtl;
}

html[lang="ar"] .nav-container,
html[lang="ar"] .nav-logo,
html[lang="ar"] .nav-right {
    flex-direction: row-reverse;
}

html[lang="ar"] .solution-item {
    grid-template-columns: 1fr auto;
}

html[lang="ar"] .solution-item:hover {
    transform: translateX(-10px);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 35px;
    width: auto;
    filter: brightness(1.1);
}

.nav-brand {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-tagline {
    display: flex;
    align-items: center;
}

.tagline-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #999999;
    text-transform: uppercase;
}

.language-selector {
    position: relative;
    display: inline-block;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.current-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.current-lang {
    text-transform: uppercase;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.language-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.language-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-option.active {
    background: rgba(255, 255, 255, 0.15);
}

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

.lang-option .lang-name {
    flex: 1;
}

/* Scrollbar styling for dropdown */
.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Safari fallback for 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-transform: translateZ(0); /* Safari hardware acceleration */
    transform: translateZ(0);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.95) 70%);
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.watermark-img {
    width: 800px;
    height: auto;
    opacity: 0.08;
    filter: brightness(1.2);
}

.hero-content {
    position: relative;
    z-index: 100;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 5s ease infinite;
}

.gradient-text-alt {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: brightness(1.6);
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(10deg) brightness(1.2);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    margin: 0 auto;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #000000;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateY(3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0;
    overflow: hidden;
}

.scroll-line {
    width: 100%;
    height: 30%;
    background: var(--gradient-1);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(400%);
    }
}

/* Sections */
.section {
    padding: 8rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 400;
    text-align: justify;
}

.body-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 3rem;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-10px);
}

.visual-icon {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.visual-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.approach-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.approach-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.approach-card:nth-child(2) .approach-icon {
    color: #cccccc;
}

.approach-card:nth-child(3) .approach-icon {
    color: #999999;
}

.approach-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.approach-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: justify;
}

/* Solutions Section */
.solutions-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.solution-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
}

.solution-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.solution-number {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.solution-item:nth-child(2) .solution-number {
    color: #cccccc;
}

.solution-item:nth-child(3) .solution-number {
    color: #999999;
}

.solution-item:nth-child(4) .solution-number {
    color: #666666;
}

.solution-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--text-primary);
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-details a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ffffff;
}

.contact-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    opacity: 0.9;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-contact a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-section li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cookie-settings {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
}

/* Responsive Design */

/* Large Tablets and Small Desktops - 1024px */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1.5rem 2rem;
    }

    .container {
        max-width: 90%;
    }

    .watermark-img {
        width: 600px;
    }

    .about-content {
        gap: 3rem;
    }

    .approach-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .visual-icon {
        width: 180px;
    }
}

/* Tablets - 768px */
@media (max-width: 768px) {
    .nav-container {
        padding: 1.25rem 1.5rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .nav-logo {
        flex: 1;
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .nav-brand {
        font-size: 1.75rem;
        font-weight: 800;
        letter-spacing: 0.05em;
    }

    .nav-right {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .nav-tagline {
        display: none;
    }

    .lang-dropdown {
        right: 0;
        left: auto;
        min-width: 180px;
    }

    .lang-selector {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .lang-selector svg {
        width: 24px;
        height: 24px;
    }

    .logo-img {
        height: 40px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8.5vw, 4.5rem);
        margin-bottom: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2.8vw, 1.25rem);
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }

    .watermark-img {
        width: 500px;
        opacity: 0.05;
    }

    .cta-button {
        padding: 0.95rem 2.25rem;
        font-size: 1.0625rem;
    }

    .scroll-indicator {
        bottom: 2rem;
        height: 50px;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

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

    .visual-card {
        padding: 2.5rem;
    }

    .visual-icon {
        width: 160px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .approach-card {
        padding: 2rem;
    }

    .solution-item {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .solution-item:hover {
        transform: translateY(-5px);
    }

    .solution-number {
        font-size: 2.5rem;
    }

    .solution-title {
        font-size: 1.5rem;
    }

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

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

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

/* Large Mobile - 600px */
@media (max-width: 600px) {
    .nav-container {
        padding: 1rem 1.25rem;
    }

    .nav-brand {
        font-size: 1.125rem;
        letter-spacing: 0.1em;
    }

    .logo-img {
        height: 28px;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero-subtitle br {
        display: none;
    }

    .watermark-img {
        width: 400px;
        opacity: 0.04;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .section {
        padding: 4rem 1.25rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    .lead-text {
        font-size: 1.125rem;
    }

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

    .visual-card {
        padding: 2rem 1.5rem;
    }

    .visual-icon {
        width: 140px;
        margin-bottom: 1.5rem;
    }

    .visual-text {
        font-size: 0.9375rem;
    }

    .approach-card {
        padding: 1.75rem;
    }

    .approach-title {
        font-size: 1.375rem;
    }

    .approach-text {
        font-size: 0.9375rem;
    }

    .solution-item {
        padding: 1.5rem;
        gap: 1rem;
    }

    .solution-number {
        font-size: 2.25rem;
    }

    .solution-title {
        font-size: 1.375rem;
    }

    .footer {
        padding: 2.5rem 1.5rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
    }

    .contact-details h3 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.9375rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand-name {
        font-size: 1.25rem;
    }

    .footer-logo-img {
        height: 50px;
    }

    .modal-overlay {
        padding: 1rem;
    }

    .modal-content {
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-accept,
    .cookie-decline,
    .cookie-settings-btn {
        width: 100%;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .nav-brand {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: 0.05em;
    }

    .logo-img {
        height: 32px;
    }

    .lang-selector {
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
        font-weight: 600;
    }

    .lang-selector svg {
        width: 22px;
        height: 22px;
    }

    .lang-current {
        padding: 0.4rem 0.875rem;
        font-size: 0.8125rem;
    }

    .current-flag {
        font-size: 1.25rem;
    }

    .hero-content {
        padding: 1rem 0.5rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 2rem;
        padding: 0 0.25rem;
        line-height: 1.6;
    }

    .watermark-img {
        width: 320px;
        opacity: 0.03;
    }

    .cta-button {
        padding: 0.8125rem 1.75rem;
        font-size: 0.9375rem;
    }

    .cta-arrow {
        width: 18px;
        height: 18px;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        height: 40px;
    }

    .section {
        padding: 3.5rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 4.5vw, 1.875rem);
    }

    .lead-text {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    .body-text {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .visual-card {
        padding: 1.75rem 1.25rem;
    }

    .visual-icon {
        width: 120px;
        margin-bottom: 1.25rem;
    }

    .visual-text {
        font-size: 0.875rem;
        letter-spacing: 0.08em;
    }

    .approach-card {
        padding: 1.5rem;
    }

    .approach-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1.25rem;
    }

    .approach-title {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }

    .approach-text {
        font-size: 0.875rem;
        line-height: 1.65;
    }

    .solution-item {
        padding: 1.25rem;
        gap: 0.875rem;
    }

    .solution-number {
        font-size: 2rem;
    }

    .solution-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .solution-text {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-logo-img {
        height: 40px;
    }

    .footer-text {
        font-size: 0.8125rem;
    }
}

/* Extra Small Mobile - 375px */
@media (max-width: 375px) {
    .nav-brand {
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: 0.05em;
    }

    .logo-img {
        height: 28px;
    }

    .lang-selector {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .lang-selector svg {
        width: 20px;
        height: 20px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1.25rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 2.2vw, 1rem);
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .watermark-img {
        width: 280px;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .section {
        padding: 3rem 0.875rem;
    }

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

    .visual-icon {
        width: 100px;
    }

    .approach-card {
        padding: 1.25rem;
    }

    .solution-item {
        padding: 1rem;
    }

    .solution-number {
        font-size: 1.75rem;
    }
}

/* Landscape Orientation Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.875rem, 2vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 3rem 1.5rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .cta-button,
    .lang-current,
    .lang-option {
        min-height: 44px;
        min-width: 44px;
    }

    .approach-card:hover,
    .solution-item:hover,
    .visual-card:hover {
        transform: none;
    }

    .approach-card:active,
    .solution-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Legal Modal Styles */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    animation: modalFadeIn 0.3s ease forwards;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.modal-body h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem;
}

.modal-body h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
}

.modal-body ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-button {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 2px solid var(--text-primary);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.modal-button:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-text h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-accept,
.cookie-decline,
.cookie-settings-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.cookie-accept {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.cookie-accept:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.cookie-decline:hover,
.cookie-settings-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
}

/* Cookie Settings */
.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--text-primary);
    margin-top: 0.125rem;
}

.cookie-toggle-text {
    flex: 1;
}

.cookie-toggle-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-toggle-text small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@keyframes modalFadeIn {
    to {
        opacity: 1;
    }
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

