@font-face {
    font-family: "FKGroteskNerd";
    font-style: normal;
    font-weight: normal;
    src: local("FKGroteskNerd"),
        url("./../fonts/FK-Grotesk-Neue-Regular.otf") format("opentype");
}

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

:root {
    --animation-duration: 1s;
    --blur-amount: 20px;
    --shadow-intensity: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    :root {
        --animation-duration: 0.5s;
        --blur-amount: 10px;
        --shadow-intensity: rgba(0, 0, 0, 0.1);
    }
}

.gpu-accelerated,
.spline-container,
.flip-card,
.showcase__gallery__card,
.floating-shape {
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.animation-complete {
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-shape {
        animation: none !important;
    }
}

body {
    font-family: "FKGroteskNerd", sans-serif;
    background-color: black;
    color: white;
    overflow-x: hidden; 
}

.spline-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    contain: layout style paint;
}

.spline-container #__canvas3d {
    width: 100%;
    height: 100%;
}

main {
    max-width: 100vw;
    margin: 0px auto;
    width: 100%;
}

.flex-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
}

.spline-wrapper {
    position: absolute;
    top: 20px;
    left: 340px;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.spline {
    width: 100%;
    height: 100%;
    border: none;
}

.button {
    border: none;
    border-color: transparent;
    background-color: inherit;
    font-weight: 400;
    font-size: 1.5em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    padding: 10px;
    position: relative;
}

.button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: white;
    transition: width 0.4s ease;
}

.button:hover::after {
    width: 100%;
}

.word {
    opacity: 0;
    display: inline-block;
    animation: fadeInUp 0.5s forwards;
}

.navbar { position: sticky; top: 0; z-index: 1000; isolation: isolate; }
.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem 1rem 2rem;
    transition: background-color 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
    background: transparent;
}
.nav.nav--glass {
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.55), rgba(13, 17, 23, 0.35));
    backdrop-filter: blur(14px) saturate(120%);
    border-bottom: 1px solid rgba(88, 166, 255, 0.22);
}
.nav.nav--glass.nav--scrolled { backdrop-filter: blur(18px) saturate(135%); background: rgba(13,17,23,0.65); }

.nav__icon { height: 50px; width: 50px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }

.nav__name {
    height: 40px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    object-fit: contain;
}

.nav__link-section {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
}

.nav__link-section__link {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
}

.nav__link-section__link li {
    list-style: none;
    font-size: 1.1rem;
    font-weight: 400;
}

.nav__link-section__link li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    transition: all 0.25s ease, transform 0.2s ease;
}

.nav__link-section__link li a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
    transform: translateY(-2px);
}

.nav__link-section button {
    padding: 8px 14px; 
    font-size: 1.1em;
    font-weight: lighter;
    color: black;
    border: 2px solid rgb(5, 5, 39);
    background-color: rgba(31, 164, 253, 0.2);
    color: #1fa5fd;
    justify-content: flex-start;
    padding: 0.5em 0.5em 0.5em 1em 16.06px;
    align-items: center;
    backdrop-filter: 12px;
    cursor: pointer;
}

.hero {
    padding: 0px 50px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    z-index: 0px;
}

.hero__title {
    display: flex;
    justify-content: flex-start;
}

.hero__headline {
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    line-height: 1.05;
    background: transparent;
    overflow: visible;
    padding-bottom: 0.2rem;
}

.hero__subtitle {
    margin-top: 0px;
    display: flex;
    justify-content: flex-start;
}

.hero__description {
    width: 35%;
    font-weight: 300;
    text-align: left;
    font-size: 1.2rem;
    padding: 1.5rem;
}

.hero__cta {
    margin-top: 30px;
}

.hero__cta button {
    margin: 0px 20px;
    color: white;
    font-weight: 900;
}

.only-mobile { display: none; }
@media (max-width: 768px) { .only-mobile { display: inline-block; } }

.btn-dive-in {
    padding: 12px 20px;
    border-radius: 24px;
    border: 2px solid rgba(77, 75, 228, 0.45);
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.2), rgba(31, 164, 253, 0.2));
    color: #58a6ff;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: all 200ms ease;
}
.btn-dive-in i { margin-left: 8px; }
.btn-dive-in:hover { transform: translateY(-2px); border-color: rgba(77,75,228,0.65); }

.showcase {
    padding: 20px 0px;
}

.showcase__header {
    margin-left: 60%;
    margin-top: 100px;
    margin-left: 50px;
    text-align: right;
    width: 90%;
    height: 200px;
}

.showcase__title {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.showcase__gallery {
    margin-top: 50px;
    height: 700px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.showcase__gallery__card {
    height: 400px;
    width: 300px;
    border: 1px solid transparent;
    border-radius: 20px;
    background-position: center;
    background-size: cover;
}

.showcase__gallery__card__img {
    border: 1px solid transparent;
    border: rgba(31, 164, 253, 0.3843137255) 0.8px solid;
    height: 398px;
    width: 298px;
}

.image-card--offset-1 {
    margin-top: 40px;
}

.image-card--offset-2 {
    margin-top: 80px;
}

.image-card--offset-3 {
    margin-top: 120px;
}

.ai-showcase {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    padding: 120px 0 60px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.ai-showcase::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(10, 10, 15, 0) 0%,
            rgba(10, 10, 15, 0.3) 30%,
            rgba(10, 10, 15, 0.7) 60%,
            rgba(10, 10, 15, 1) 100%);
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

.ai-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(77, 75, 228, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(31, 164, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-showcase::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(77, 75, 228, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(31, 164, 253, 0.1) 0%, transparent 50%);
    z-index: 0; 
    pointer-events: none;
}

.ai-showcase__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.ai-showcase__header {
    display: flex;
    margin-bottom: 80px;
    margin-top: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 6.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    line-height: 0.81;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.ai-showcase__hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 120px;
    align-items: center;
}

.ai-showcase__demo {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.typewriter-container {
    background: #0d1117;
    border: 1px solid rgba(77, 75, 228, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
}

.typewriter-prompt {
    color: #58a6ff;
    font-weight: 600;
}

#typewriter-text {
    color: #ffffff;
    min-height: 1.4em;
    display: inline-block;
}

.typewriter-cursor {
    color: #58a6ff;
    animation: blink 1s infinite;
    font-weight: bold;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.image-generation-area {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 2px solid rgba(77, 75, 228, 0.2);
}

.loading-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.loading-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4d4be4, #1fa5fd);
    animation: loading-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.loading-animation p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.generated-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: 14px;
}

.generated-image.show {
    opacity: 1;
}

.loading-animation.hide {
    opacity: 0;
}

.ai-showcase__description {
    padding-left: 20px;
}

.ai-showcase__description h2 {
    font-size: 3.5rem;
    font-weight: 200;
    background: linear-gradient(135deg, #ffffff 0%, #58a6ff 50%, #4d4be4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
}

.ai-showcase__description p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-weight: 300;
}

.tech-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.2), rgba(31, 164, 253, 0.2));
    border: 1px solid rgba(77, 75, 228, 0.4);
    color: #58a6ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.ai-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: 800px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 650px;
    perspective: 1000px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    margin: 0;
    padding: 0;
}

.flip-card:hover {
    transform: translateY(-5px);
}

.flip-card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    transform-origin: center center;
    will-change: transform;
    margin: 0;
    padding: 0;
    margin: 0;
    padding: 0;
}

.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    margin: 0;
    padding: 0;
    transform: translateZ(0);
}

.flip-card-front {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.flip-card-front .input-image,
.flip-card-front .result-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.4s ease;
}

.flip-card-front .result-image {
    opacity: 0;
}

.flip-card:hover .flip-card-front .input-image {
    opacity: 0;
}

.flip-card:hover .flip-card-front .result-image {
    opacity: 1;
}

.flip-card:hover .flip-card-front .result-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%,
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0.8) 100%);
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.flip-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.flip-card:hover .card-overlay h3 {
    transform: translateY(0);
}

.info-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(77, 75, 228, 0.9);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
    z-index: 10;
}

.flip-card:hover .info-btn {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.info-btn:hover {
    background: rgba(77, 75, 228, 1);
    transform: scale(1.1) translateY(0) !important;
    box-shadow: 0 4px 12px rgba(77, 75, 228, 0.4);
}

.flip-card-back {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.98) 0%,
            rgba(30, 41, 59, 0.95) 25%,
            rgba(51, 65, 85, 0.92) 50%,
            rgba(30, 58, 138, 0.95) 75%,
            rgba(15, 23, 42, 0.98) 100%);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 30px;
    backdrop-filter: blur(20px);
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(30, 58, 138, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.4) 0%,
            rgba(59, 130, 246, 0.3) 100%);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-btn:hover {
    background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.6) 0%,
            rgba(59, 130, 246, 0.5) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.model-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.3) 0%,
            rgba(59, 130, 246, 0.2) 50%,
            rgba(30, 58, 138, 0.3) 100%);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    margin-top: 60px;
    margin-bottom: 30px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.model-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.card-info {
    text-align: center;
    color: white;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.card-info h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 90%;
}

.model-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-bottom: 20px;
}

.model-stats span {
    background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.4) 0%,
            rgba(59, 130, 246, 0.3) 50%,
            rgba(30, 58, 138, 0.4) 100%);
    border: 1px solid rgba(59, 130, 246, 0.5);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.showcase-cta {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    padding-bottom: 100px;
}

.view-showcase-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.2), rgba(31, 164, 253, 0.2));
    border: 2px solid rgba(77, 75, 228, 0.4);
    border-radius: 50px;
    color: #58a6ff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(77, 75, 228, 0.2);
}

.view-showcase-btn:hover {
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.3), rgba(31, 164, 253, 0.3));
    border-color: rgba(77, 75, 228, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(77, 75, 228, 0.3);
}

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

.view-showcase-btn:hover i {
    transform: translateX(4px);
}


.card-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.model-stats {
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

.model-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

@media (max-width: 1024px) {
    .ai-showcase__hero {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ai-showcase__grid {
    .hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    .btn-explore { margin-left: 0 !important; }
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 30px;
        max-width: 600px;
    }

    .flip-card {
        height: 450px;
    }

    .model-icon {
        width: 70px;
        height: 70px;
        margin-top: 40px;
        margin-bottom: 25px;
    }

    .model-icon img {
        width: 40px;
        height: 40px;
    }

    .card-info h3 {
        font-size: 1.7rem;
    }

    .card-info p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .ai-showcase__grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 25px;
        max-width: 500px;
    }
    .nav { padding: 14px 16px; }
    .nav__icon { width: 58px; height: 58px; }
    .nav__name { height: 30px; width: auto; object-fit: contain; }

    .flip-card {
        height: 400px;
    }

    .card-overlay h3 {
        font-size: 1.1rem;
    }

    .model-icon {
        width: 60px;
        height: 60px;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .model-icon img {
        width: 35px;
        height: 35px;
    }

    .card-info h3 {
        font-size: 1.5rem;
    }

    .card-info p {
        font-size: 0.95rem;
    }

    .ai-showcase__description h2 {
        font-size: 2.5rem;
    }

    .view-showcase-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .flip-card-back {
        padding: 30px 20px;
    }
}

.scroll-sync {
    padding: 60px 0 100px 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0f1419 100%);
    color: #fff;
    position: relative;
    margin-top: 0;
}

.scroll-sync::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(77, 75, 228, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(31, 164, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.scroll-sync::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top,
            rgba(15, 20, 25, 0) 0%,
            rgba(15, 20, 25, 0.3) 30%,
            rgba(15, 20, 25, 0.7) 60%,
            rgba(15, 20, 25, 1) 100%);
    filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

.scroll-sync__header {
    display: flex;
    margin-bottom: 120px;
    margin-top: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 6.5rem;
    line-height: 0.81;
    position: relative;
    z-index: 1;
}

.scroll-sync__container {
    display: flex;
    width: 85vw;
    margin: 0 auto;
    gap: 100px;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.scroll-sync__lottie-container {
    flex: 1;
    position: sticky;
    top: 20px;
    height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: -120px;
    margin-top: 20px;
    z-index: 0; 
}

#lottie-animation-1,
#lottie-animation-2 {
    position: absolute;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lottie-fade-out {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

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

#lottie-animation {
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
}

.scroll-sync__content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 220px;
    margin-left: 100px;
    max-width: 800px;
    position: relative;
    z-index: 1; 
}

.scroll-sync__text-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: 80vh;
    padding: 40px 0;
    position: relative;
}

.scroll-sync__text-block h2 {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    font-size: 3.2rem;
    margin-bottom: 30px;
    font-weight: 200;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.scroll-sync__text-block h2 img {
    height: 65px;
    width: 65px;
}

.scroll-sync__text-block p {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 250;
    letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.92);
    max-width: 700px;
}

.scroll-sync__text-block button {
    width: fit-content;
    padding: 14px 28px;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.15), rgba(31, 164, 253, 0.15));
    border: 1px solid rgba(77, 75, 228, 0.3);
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.scroll-sync__text-block button:hover {
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.25), rgba(31, 164, 253, 0.25));
    border-color: rgba(77, 75, 228, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(77, 75, 228, 0.2);
}

.about-us {
    background: transparent;
    padding: 120px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-us__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.1), rgba(31, 164, 253, 0.1));
    backdrop-filter: blur(20px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 15%;
    animation-delay: -10s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 5%;
    animation-delay: -15s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.3;
    }

    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.4;
    }
}

.about-us__header {
    display: flex;
    margin-bottom: 80px;
    margin-top: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 6.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    line-height: 0.81;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.about-us__story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 120px;
}

.story-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.1), rgba(31, 164, 253, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
}

.story-card:hover::before {
    opacity: 1;
}

.story-card:hover {
    transform: translateY(-10px);
    border-color: rgba(77, 75, 228, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.2), rgba(31, 164, 253, 0.2));
    border: 2px solid rgba(77, 75, 228, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: #58a6ff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.story-card:hover .story-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.3), rgba(31, 164, 253, 0.3));
    border-color: rgba(77, 75, 228, 0.5);
}

.story-card h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.story-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    font-weight: 300;
}

.team-section {
    text-align: center;
}

.team-title {
    font-size: 3rem;
    font-weight: 300;
    color: white;
    margin-bottom: 60px;
    position: relative;
}

.team-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4d4be4, #58a6ff);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    position: relative;
}

.member-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.1), rgba(31, 164, 253, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
}

.team-member:hover .member-card::before {
    opacity: 1;
}

.team-member:hover .member-card {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(77, 75, 228, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.member-avatar {
    position: relative;
    margin-bottom: 30px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.3), rgba(31, 164, 253, 0.3));
    border: 3px solid rgba(77, 75, 228, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: #58a6ff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.team-member:hover .avatar-placeholder {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.5), rgba(31, 164, 253, 0.5));
    border-color: rgba(77, 75, 228, 0.6);
    box-shadow: 0 10px 30px rgba(77, 75, 228, 0.3);
}

.role-badge {
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.8), rgba(31, 164, 253, 0.8));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    display: inline-block;
}

.member-info h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.member-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    font-weight: 300;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.8), rgba(31, 164, 253, 0.8));
    border-color: rgba(77, 75, 228, 0.6);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(77, 75, 228, 0.4);
}

.team-member[data-role="fullstack"]:hover .member-card::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
}

.team-member[data-role="fullstack"]:hover .avatar-placeholder {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3));
    border-color: rgba(34, 197, 94, 0.6);
}

.team-member[data-role="ml"]:hover .member-card::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
}

.team-member[data-role="ml"]:hover .avatar-placeholder {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.3));
    border-color: rgba(168, 85, 247, 0.6);
}

.team-member[data-role="frontend"]:hover .member-card::before {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.1));
}

.team-member[data-role="frontend"]:hover .avatar-placeholder {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(251, 146, 60, 0.3));
    border-color: rgba(249, 115, 22, 0.6);
}

@media (max-width: 1024px) {
    .about-us__title {
        font-size: 3.5rem;
    }

    .about-us__story {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

.faq {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 50%, #16213e 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(15, 20, 25, 0) 0%,
            rgba(15, 20, 25, 0.3) 30%,
            rgba(15, 20, 25, 0.7) 60%,
            rgba(15, 20, 25, 1) 100%);
    filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

.faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.faq__header {
    display: flex;
    margin-bottom: 80px;
    margin-top: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 6.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    line-height: 0.81;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-align: center;
}

.faq__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq__item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq__item:hover {
    border-color: rgba(77, 75, 228, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(77, 75, 228, 0.1);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq__question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq__question h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq__toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.2), rgba(31, 164, 253, 0.2));
    border: 1px solid rgba(77, 75, 228, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq__toggle i {
    color: #58a6ff;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq__item.active .faq__toggle {
    background: linear-gradient(135deg, rgba(77, 75, 228, 0.4), rgba(31, 164, 253, 0.4));
    transform: rotate(45deg);
}

.faq__item.active .faq__toggle i {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    padding: 0 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding: 0 30px 30px 30px;
    opacity: 1;
}

.faq__answer p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 300;
}



@media (max-width: 1024px) {
    .faq__header {
        font-size: 5rem;
        margin-bottom: 60px;
    }

    .faq__question h3 {
        font-size: 1.2rem;
    }

    .faq__answer p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .faq {
        padding: 80px 0;
    }

    .faq__header {
        font-size: 3.5rem;
        margin-bottom: 40px;
    }

    .faq__question {
        padding: 20px;
    }

    .faq__question h3 {
        font-size: 1.1rem;
        padding-right: 15px;
    }

    .faq__item.active .faq__answer {
        padding: 0 20px 20px 20px;
    }

    .faq__toggle {
        width: 35px;
        height: 35px;
    }
}

.cta {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(77, 75, 228, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(31, 164, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cta__top {
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 2rem;
}

@media (max-width: 500px) {
    .cta__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu-close {
        right: 5px !important;
        top: 5px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 1.1rem !important;
    }
    
    .mobile-menu-content {
        max-width: calc(100vw - 20px) !important;
        padding: 0 10px !important;
    }
    
    .mobile-menu-content h2 {
        font-size: 1.4rem !important;
    }
    
    .mobile-menu-links a {
        font-size: 1rem !important;
        padding: 0.8rem 0 !important;
    }
}

.cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    color: #0d0d1a;
    font-weight: 600;
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.cta__btn:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.1);
}

.cta__btn .cta__arrow {
    font-size: 1.2rem;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.cta__btn:hover .cta__arrow {
    transform: rotate(90deg);
}

footer {
    background: transparent;
    color: #e0e0e0;
    backdrop-filter: blur(18px);
}

footer .footer__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

footer .footer__header .flex-container .nav__icon,
footer .footer__header .flex-container .nav__name {
    max-height: 50px;
}

footer .footer__content {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-evenly;
}

footer .footer__content div {
    flex: 1 1 30%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 300;
    font-size: 0.9rem;
    transition: all 0.3s ease-in-out;
}

footer .footer__content h1 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffffff;
}

footer .footer__content .flex-container {
    display: flex;
    gap: 15px;
}

footer .footer__content .flex-container a {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .footer__content .flex-container a:hover {
    transform: translateY(-2px);
    color: #1fa5fd;
}

footer .footer__content .flex-container i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

footer .footer__bottom {
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer__bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    font-size: 0.85rem;
    font-weight: 300;
    color: #aaa;
}

footer .footer__bottom ul li>a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.buy-coffee-btn {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.buy-coffee-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.buy-coffee-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF813F, #FF813F);
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 129, 63, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.buy-coffee-btn a:hover {
    background: linear-gradient(135deg, #FF6B00, #FF6B00);
    box-shadow: 0 6px 20px rgba(255, 129, 63, 0.4);
    transform: scale(1.05);
}

.buy-coffee-btn .coffee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.buy-coffee-btn .coffee-icon i {
    font-size: 1rem;
    animation: coffee-steam 2s ease-in-out infinite;
}

@keyframes coffee-steam {

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

    25% {
        transform: translateY(-1px) rotate(1deg);
    }

    75% {
        transform: translateY(-1px) rotate(-1deg);
    }
}

@media (max-width: 768px) {
    .buy-coffee-btn {
        bottom: 15px;
        right: 15px;
        left: auto;
        transform: none;
        max-width: none;
    }

    .buy-coffee-btn a {
        padding: 10px 14px;
        font-size: 0.8rem;
        width: auto;
        justify-content: center;
        white-space: nowrap;
    }

    .buy-coffee-btn span {
        display: none;
    }

    .buy-coffee-btn .coffee-icon {
        width: 18px;
        height: 18px;
    }
}

.mobile-menu-toggle {
    display: none;
    background: rgba(31, 164, 253, 0.15);
    border: 1px solid rgba(31, 164, 253, 0.3);
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(31, 164, 253, 0.25);
}

.hamburger {
    width: 18px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #1fa5fd;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 50%, #16213e 100%);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-20px);
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 100vw; 
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-content {
    text-align: center;
    color: white;
    max-width: calc(100vw - 40px); 
    width: 100%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-close {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    z-index: 999999 !important; 
    font-weight: bold !important;
    backdrop-filter: blur(10px) !important; 
    pointer-events: auto !important;
    max-width: 45px !important; 
    max-height: 45px !important;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

.mobile-menu-content h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    text-align: center; 
}

.mobile-menu-overlay.active .mobile-menu-content h2 {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    align-items: center; 
    width: 100%;
}

.mobile-menu-links li {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s ease;
    width: 100%; 
    text-align: center;
}

.mobile-menu-overlay.active .mobile-menu-links li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-overlay.active .mobile-menu-links li:nth-child(1) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(2) { transition-delay: 0.35s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(3) { transition-delay: 0.4s; }

.mobile-menu-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    text-align: center; 
    width: 100%; 
    max-width: 250px; 
    margin: 0 auto; 
}

.mobile-menu-links a:hover {
    background: rgba(31, 164, 253, 0.1);
    border-color: rgba(31, 164, 253, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.45s;
}

.mobile-menu-overlay.active .mobile-social-links {
    opacity: 1;
    transform: translateY(0);
}

.mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social-links a:hover {
    background: rgba(31, 164, 253, 0.2);
    border-color: rgba(31, 164, 253, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .nav {
        padding: 0 30px;
    }
    
    .nav__search {
        display: none; 
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .flex-container {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .nav__icon {
        max-height: 32px;
        width: auto;
    }
    
    .nav__name {
        font-size: 1.1rem;
        max-height: 32px;
    }
    
    .nav__link-section {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-overlay {
        overflow-x: hidden !important; 
        max-width: 100vw !important;
    }
    
    .mobile-menu-content {
        max-width: calc(100vw - 40px) !important;
        padding: 0 20px !important;
        overflow: hidden !important;
    }
    
    .mobile-menu-content h2 {
        font-size: 1.6rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        word-wrap: break-word !important;
    }
    
    .mobile-menu-links {
        width: 100% !important;
        text-align: center !important;
        overflow: hidden !important;
    }
    
    .mobile-menu-links li {
        text-align: center !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .mobile-menu-links a {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        word-wrap: break-word !important;
        overflow: hidden !important;
    }
    
    .mobile-menu-close {
        right: 10px !important;
        top: 10px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 500px) {
    .nav {
        padding: 12px 15px;
    }
    
    .nav__icon {
        max-height: 28px;
    }
    
    .nav__name {
        font-size: 1rem;
        max-height: 28px;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 0 30px;
        margin-bottom: 60px;
    }
    
    .hero__headline {
        font-size: 4.5rem;
    }
    
    .hero__description {
        width: 50%;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 20px 60px;
        margin-bottom: 0;
        min-height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero__title {
        justify-content: flex-start;
        margin-bottom: 25px;
    }
    
    .hero__headline {
        font-size: 3.2rem;
        line-height: 1.1;
        font-weight: 400;
        text-align: left;
        letter-spacing: -0.02em;
    }
    
    .hero__subtitle {
        justify-content: flex-start;
        margin-bottom: 30px;
    }
    
    .hero__description {
        width: 100%;
        max-width: 420px;
        font-size: 1rem;
        line-height: 1.5;
        text-align: left;
        padding: 0;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .hero__cta {
        margin-top: 0;
        text-align: left;
    }
    
    .hero__cta button {
        margin: 0;
        padding: 14px 28px;
        font-size: 0.95rem;
        font-weight: 600;
    }
}

@media (max-width: 500px) {
    .hero {
        padding: 30px 15px 50px;
        min-height: calc(100vh - 70px);
    }
    
    .hero__headline {
        font-size: 2.8rem;
        line-height: 1.15;
    }
    
    .hero__description {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero__cta button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .showcase__header {
        margin-left: 40%;
        margin-top: 80px;
        width: 95%;
    }
    
    .showcase__title {
        font-size: 4rem;
    }
    
    .showcase__gallery {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 30px;
    }
    
    .showcase__gallery__card {
        width: 350px;
        height: 450px;
    }
    
    .showcase__gallery__card__img {
        width: 348px;
        height: 448px;
    }
}

@media (max-width: 768px) {
    .showcase {
        padding: 40px 0 60px;
        margin-top: 0;
    }
    
    .showcase__header {
        display: block;
        text-align: right;
        margin: 0 20px 40px;
        width: calc(100% - 40px);
    }
    
    .showcase__title {
        font-size: 2.8rem;
        font-weight: 300;
        line-height: 1.1;
        margin-bottom: 30px;
        text-align: right;
    }
    
    .showcase__gallery {
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0px 20px; 
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 20px;
    }
    
    .showcase__gallery__card {
        width: 100%;
        max-width: 280px;
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(31, 164, 253, 0.2);
        transition: all 0.3s ease;
    }
    
    .showcase__gallery__card__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .showcase__gallery__card:nth-child(1),
    .showcase__gallery__card:nth-child(2) {
        transform: translateY(0px);
    }
    
    .showcase__gallery__card:nth-child(3),
    .showcase__gallery__card:nth-child(4) {
        transform: translateY(0px);
    }
    
    .showcase__gallery__card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 20px 40px rgba(31, 164, 253, 0.3);
    }
}

@media (max-width: 500px) {
    .showcase {
        padding: 30px 0 50px;
    }
    
    .showcase__header {
        margin: 0 15px 25px;
        width: calc(100% - 30px);
    }
    
    .showcase__title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .showcase__gallery {
        grid-template-columns: 1fr 1fr;
        gap: 0px 15px; 
        max-width: 100%;
        padding: 0 15px;
    }
    
    .showcase__gallery__card {
        height: 250px;
        max-width: none;
    }
    
    .showcase__gallery__card:nth-child(1),
    .showcase__gallery__card:nth-child(2) {
        transform: translateY(0px); 
    }
    
    .showcase__gallery__card:nth-child(3),
    .showcase__gallery__card:nth-child(4) {
        transform: translateY(0px); 
    }
}

@media (max-width: 400px) {
    .showcase__gallery__card:nth-child(1),
    .showcase__gallery__card:nth-child(2) {
        transform: translateY(-10px);
    }
    
    .showcase__gallery__card:nth-child(3),
    .showcase__gallery__card:nth-child(4) {
        transform: translateY(10px);
    }
}

@media (max-width: 1024px) {
    .scroll-sync {
        padding: 50px 30px 80px;
    }
    
    .scroll-sync__container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .scroll-sync__lottie-container {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }
    
    .scroll-sync__content {
        width: 100%;
        max-width: 600px;
    }
    
    .scroll-sync__text-block h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .scroll-sync {
    padding: 32px 16px 48px;
    overflow: visible;
    }

    .scroll-sync::after {
        bottom: -140px;
        height: 60px;
        z-index: 0; 
    }
    
    .scroll-sync__header {
        text-align: left; 
        margin-bottom: 30px;
        padding-left: 20px; 
        font-size: 4rem; 
        font-weight: 300;
        line-height: 1.1;
        color: #ffffff; 
    }

    .ai-showcase__header {
        font-size: clamp(2.4rem, 7.2vw, 3.4rem);
        margin-top: 24px;
        margin-bottom: 36px;
        line-height: 1.06;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .about-us__header {
        font-size: clamp(2.4rem, 7.2vw, 3.4rem);
        margin-top: 20px;
        margin-bottom: 26px;
        line-height: 1.06;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .nav {
        padding: 16px 18px;
    }
    .nav__icon {
        width: 56px;
        height: 56px;
    }
    .nav__name {
        width: auto;        
        height: 30px;         
        max-width: 55vw;       
        object-fit: contain;  
    }
    
    .scroll-sync__container {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow: visible;
        contain: none;
    }
    
    .scroll-sync__lottie-container {
        position: relative;
        width: 100%;
        max-width: 720px;
        height: auto;
        margin: 0 auto 6px auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
        border-radius: 16px;
        border: none;
        overflow: visible;
        contain: none;
    }

    .scroll-sync__container > .scroll-sync__lottie-container {
        display: none !important;
    }
    
    .mobile-lottie-container {
        position: relative !important;
        width: 100% !important;
        max-width: 720px !important;
        height: auto !important;
        margin: 0 auto 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: transparent !important;
        border-radius: 16px !important;
        border: none !important;
        overflow: visible !important;
        contain: none !important;
    }
    
    .mobile-lottie-container dotlottie-wc {
        overflow: visible !important;
        contain: none !important;
    }
    
    .scroll-sync__content {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    padding: 0 4px;
    gap: 6px; 
        overflow: visible;
        contain: none;
    display: block !important;
    }
    
    .scroll-sync__text-block {
    margin-bottom: 4px;
    margin-top: 8px;
        text-align: left;
    padding: 4px 6px;
    gap: 6px; 
    min-height: auto !important; 
        overflow: visible;
        contain: none;
    }
    
    .scroll-sync__text-block:last-child {
        margin-bottom: 0;
    }
    
    .scroll-sync__text-block h2 {
        font-size: clamp(1.55rem, 1.45rem + 0.6vw, 1.85rem);
        font-weight: 500;
        margin-bottom: 6px;
        margin-top: 8px;
        color: #ffffff;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    
    .scroll-sync__text-block p {
        font-size: clamp(0.92rem, 0.9rem + 0.2vw, 1rem);
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 4px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    
    .scroll-sync__text-block button {
        padding: 10px 18px;
        font-size: 0.85rem;
        background: rgba(31, 164, 253, 0.15);
        border: 1px solid rgba(31, 164, 253, 0.4);
        color: #1fa5fd;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        width: 100%;
        max-width: 280px;
    }
    
    .scroll-sync__text-block button:hover {
        background: rgba(31, 164, 253, 0.25);
        color: #ffffff;
        transform: translateY(-1px);
        border-color: rgba(31, 164, 253, 0.6);
    }
}

@media (max-width: 500px) {
    .scroll-sync {
    padding: 20px 12px 28px;
    overflow-x: hidden;
    }

    .scroll-sync::after {
        bottom: -160px;
        height: 60px;
        z-index: 0;
    }
    
    .scroll-sync__header {
        text-align: left;
        padding-left: 15px;
        font-size: 2.6rem; 
        line-height: 1.2;
        margin-bottom: 25px;
        color: #ffffff;
        font-weight: 300;
    }

    .ai-showcase__header {
        font-size: clamp(2.2rem, 7.6vw, 3rem);
        margin-top: 20px;
        margin-bottom: 28px;
        line-height: 1.06;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .about-us__header {
        font-size: clamp(2.2rem, 7.6vw, 3rem);
        margin-top: 18px;
        margin-bottom: 22px;
        line-height: 1.06;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .nav {
        padding: 14px 14px;
    }
    .nav__icon {
        width: 52px;
        height: 52px;
    }
    .nav__name {
        height: 28px;
        max-width: 60vw;
    }
    
    .scroll-sync__lottie-container {
        max-width: 100%;
        height: auto;
        margin: 0 auto 0 auto !important;
    }
    
    .scroll-sync__text-block {
        padding: 2px 6px; 
        margin-bottom: 2px !important;
        margin-top: 2px !important;
        gap: 4px !important;
        min-height: auto !important;
    }
    
    .scroll-sync__text-block h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 4px !important;
        margin-top: 4px !important;
    }
    
    .scroll-sync__text-block p {
        font-size: 0.95rem;
        margin-bottom: 2px !important;
    }
    
    .scroll-sync__text-block button {
        padding: 10px 16px;
        font-size: 0.86rem;
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    dotlottie-wc#lottie-animation-1,
    dotlottie-wc#lottie-animation-2 {
        width: clamp(320px, 92vw, 720px) !important;
        height: clamp(280px, 80vw, 640px) !important;
        max-width: 100% !important;
        display: block;
    }
    .scroll-sync__lottie-container dotlottie-wc {
        width: clamp(320px, 92vw, 720px) !important;
        height: clamp(280px, 80vw, 640px) !important;
        max-width: 100% !important;
        display: block;
    }
}

@media (max-width: 1024px) {
    .about-us {
        padding: 60px 30px;
    }
    
    .about-us__container {
        gap: 40px;
    }
    
    .about-us__header h2 {
        font-size: 3rem;
    }
    
    .about-us__story {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 50px 20px;
    }
    
    .about-us__container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .about-us__header h2 {
        font-size: 2.5rem;
    }
    
    .about-us__story {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 500px) {
    .about-us {
        padding: 40px 15px;
    }
    
    .about-us__header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .about-us__story {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 1024px) {
    .faq {
        padding: 60px 30px;
    }
    
    .faq__container {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .faq {
        padding: 50px 20px;
    }
    
    .faq__header h2 {
        font-size: 2.5rem;
    }
    
    .faq__header p {
        font-size: 0.95rem;
    }
    
    .faq__question h3 {
        font-size: 1.1rem;
    }
    
    .faq__answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    .faq {
        padding: 40px 15px;
    }
    
    .faq__header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .faq__header p {
        font-size: 0.9rem;
    }
    
    .faq__item {
        padding: 15px;
    }
    
    .faq__question {
        padding: 10px 0;
    }
    
    .faq__question h3 {
        font-size: 1rem;
    }
    
    .faq__answer p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .faq__toggle {
        width: 24px;
        height: 24px;
    }
    
    .faq__toggle i {
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .cta {
        padding: 60px 30px;
    }
    
    .cta__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .cta {
        padding: 50px 20px;
        text-align: center;
    }
    
    .cta__title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .cta__btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 500px) {
    .cta {
        padding: 40px 15px;
    }
    
    .cta__title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    .cta__btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 1024px) {
    footer .footer__header {
        padding: 20px 30px;
    }
    
    footer .footer__content {
        padding: 30px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    footer .footer__header {
        padding: 15px 20px;
    }
    
    footer .footer__header .flex-container .nav__icon,
    footer .footer__header .flex-container .nav__name {
        max-height: 40px;
    }
    
    footer .footer__content {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
    }

    footer .footer__content div {
        width: 100%;
        text-align: center;
    }

    footer .footer__bottom ul {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 500px) {
    footer .footer__header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    footer .footer__header .flex-container .nav__icon,
    footer .footer__header .flex-container .nav__name {
        max-height: 35px;
    }
    
    footer .footer__content {
        padding: 20px 15px;
        gap: 20px;
    }
    
    footer .footer__content div h4 {
        font-size: 1rem;
    }
    
    footer .footer__content div ul li {
        font-size: 0.8rem;
    }
}