/* ================================
   2025 MODERN WEB DESIGN
   ================================ */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Inter-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Inter-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/Inter-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Inter-SemiBold.ttf') format('truetype');
}

:root {
    /* Colors - Monochromatic with accent */
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-text-secondary: #999999;
    --color-accent: #00d9ff;
    --color-accent-dim: rgba(0, 217, 255, 0.1);
    --color-border: #1a1a1a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 10vh, 8rem);
    --container-padding: clamp(1.5rem, 5vw, 3rem);

    /* Animations */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.6s var(--ease-out);
}

/* ================================
   RESET & BASE
   ================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

p a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

p a:hover {
    opacity: 0.8;
}

/* ================================
   CUSTOM CURSOR
   ================================ */

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-text);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

/* ================================
   NAVIGATION
   ================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem var(--container-padding);
    background: linear-gradient(180deg, var(--color-bg) 0%, transparent 100%);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(10, 10, 10, 0.9) !important;
    background-image: none !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    opacity: 0.8;
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

.burger-menu:hover span {
    background: var(--color-accent);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link-cta {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    border-radius: 50px;
    color: var(--color-bg);
    transition: all 0.3s ease;
}

.nav-link-cta:hover {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding) var(--container-padding);
    position: relative;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s var(--ease-out);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-2px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s backwards;
}

.gradient-text {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: default;
}

.gradient-text:hover {
    animation: float 1.5s ease-in-out infinite;
}

@keyframes float {

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

    25% {
        transform: translateY(-8px) translateX(4px);
    }

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

    75% {
        transform: translateY(-8px) translateX(2px);
    }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s backwards;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.project-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-secondary);
}



.projects-more {
    text-align: center;
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.btn-secondary {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    opacity: 0.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: max(var(--container-padding), calc((100vw - 1400px) / 2));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-text-secondary) 0%, transparent 100%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.03;
    font-size: 15vw;
    font-weight: 800;
    pointer-events: none;
    z-index: -1;
    white-space: nowrap;
    user-select: none;
}

/* ================================
   SECTIONS
   ================================ */

.services,
.approach,
.pricing,
.contact,
.projects,
.about,
.faq {
    padding: var(--section-padding) var(--container-padding);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-number {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    min-width: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* ================================
   SERVICES GRID
   ================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.service-item {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
}

.service-number {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-text-secondary);
}

/* ================================
   PROJECTS SECTION
   ================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.projects-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.projects-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 45s linear infinite;
}

.projects-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* Removed flex basis for grid layout, but kept for slider compatibility via JS cloning if needed. 
       Actually, slider uses .project-card too. We need to be careful. 
       The slider cards are flex items. The grid cards are grid items.
       Grid items ignore flex-basis. So this is fine. */
    flex: 0 0 450px;
    max-width: 450px;
    /* Wait, max-width 450px might be too small for 3 columns on large screens? 
       If we have 3 columns in 1400px, each is ~466px minus gaps. 
       Let's remove max-width restriction for grid items or make it 100%. */
    width: 100%;
    cursor: pointer;
}

/* Specific override for slider cards to keep them fixed width */
.projects-track .project-card {
    max-width: 450px;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 217, 255, 0.1);
    color: var(--color-accent);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ABOUT SECTION
   ================================ */

.about-content {
    max-width: 1100px;
    margin: 0 auto 0 5em;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: flex-start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

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

.about-intro {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 500;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.about-text strong {
    color: var(--color-accent);
    font-weight: 500;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.highlight-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.about-why h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.about-reasons {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-reasons li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    padding-left: 2rem;
    position: relative;
}

.about-reasons li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

.about-reasons li strong {
    color: var(--color-text);
    font-weight: 500;
}

/* ================================
   APPROACH SECTION
   ================================ */

.approach {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
}

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

.approach-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.approach-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.approach-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.approach-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ================================
   PRICING SECTION
   ================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-text-secondary);
}

.pricing-card.featured {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    color: var(--color-text);
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.pricing-price-small {
    font-size: 2.5rem;
}

.pricing-period {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    min-height: 3.4rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-text);
}

.pricing-cta {
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.pricing-card.featured .pricing-cta {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.pricing-card.featured .pricing-cta:hover {
    background: var(--color-text);
    border-color: var(--color-text);
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact {
    padding: var(--section-padding) var(--container-padding);
    border-top: 1px solid var(--color-border);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left {
    padding-top: 2rem;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-right {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

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

.btn-submit {
    width: 100%;
    cursor: pointer;
    border: none;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 217, 100, 0.1);
    border: 1px solid rgba(0, 217, 100, 0.3);
    color: #00d964;
}

.form-message.error {
    display: block;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
}

.contact-email {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-text);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 3rem;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-email:hover {
    border-bottom-color: var(--color-text);
}

.contact-social {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-text);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    padding: 3rem var(--container-padding);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 2rem;
}

.footer-left {
    grid-column: 2;
    justify-self: center;
    display: flex;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.footer-right {
    grid-column: 1;
    justify-self: start;
}

.footer-left p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

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

.footer-left a:hover {
    color: var(--color-text);
}

.footer-right {
    display: flex;
    gap: 2rem;
}

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

.footer-right a:hover {
    color: var(--color-text);
}

/* ================================
   LEGAL PAGE
   ================================ */

.legal-section {
    padding: calc(var(--section-padding) + 4rem) var(--container-padding) var(--section-padding);
    min-height: 100vh;
}

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

.legal-container h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.legal-block {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-block:last-of-type {
    border-bottom: none;
}

.legal-block h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.legal-block h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-block h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-block p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-block p strong {
    color: var(--color-text);
}

.legal-back {
    text-align: center;
    padding-top: 3rem;
}

/* ================================
   RESPONSIVE
   ================================ */

/* Medium screens - 2 columns + 1 full width */
@media (max-width: 1024px) {
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-item:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav {
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--color-bg);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .burger-menu {
        display: flex;
        z-index: 1000;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        align-items: center;
        gap: 3rem;
    }

    .about-text {
        text-align: left;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }

    .footer-right {
        flex-direction: column;
    }

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

    .contact-left {
        padding-top: 0;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ================================
   LIGHTBOX
   ================================ */

.lightbox {
    display: none;
    position: fixed;
    z-index: 10001;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

.project-image img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

/* ================================
   BACK TO TOP
   ================================ */

.back-to-top-styled {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 2rem;
}

.back-to-top-styled:hover {
    color: var(--color-accent);
}

.scroll-line-up {
    width: 1px;
    height: 60px;
    background: linear-gradient(0deg, var(--color-text-secondary) 0%, transparent 100%);
    animation: scrollUp 2s infinite;
}

.back-to-top-styled:hover .scroll-line-up {
    background: linear-gradient(0deg, var(--color-accent) 0%, transparent 100%);
}

@keyframes scrollUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ================================
   LANGUAGE SWITCHER
   ================================ */

.language-switcher {
    position: fixed;
    bottom: 3rem;
    right: max(var(--container-padding), calc((100vw - 1400px) / 2));
    z-index: 9999;
    animation: fadeInUp 1s var(--ease-out) 1s backwards;
    margin: 0;
}

.switcher-container {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.4rem;
    display: flex;
    gap: 0.2rem;
    position: relative;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.switcher-container:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lang-option {
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.05em;
}

.lang-option.active {
    color: var(--color-bg);
    background: var(--color-accent);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
    transform: translateZ(20px);
}

.lang-option:hover:not(.active) {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .about-content {
        margin: 0 auto;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .footer-left {
        order: 1;
        flex-direction: column;
        gap: 1rem;
    }

    .language-switcher {
        order: 2;
        width: auto;
        justify-self: center;
    }



    .footer-right {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .back-to-top-styled {
        margin-left: 0;
    }

    .switcher-container {
        padding: 0.3rem;
    }

    .lang-option {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* ================================
   FAQ SECTION
   ================================ */

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq .section-header {
    justify-content: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.03);
}

.faq-item[open] {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.03);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
    list-style: none;
    color: var(--color-text);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    animation: fadeIn 0.3s ease-out;
}

.faq-answer p {
    margin: 0;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}