*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0f0d;
    --bg-secondary: #0d1512;
    --bg-card: #131c18;
    --bg-card-hover: #1a2620;
    --text-primary: #e8ede9;
    --text-secondary: #8a9b8f;
    --text-muted: #5a6b5f;
    --accent: #b8e04a;
    --accent-dim: #7fa832;
    --accent-glow: rgba(184, 224, 74, 0.15);
    --teal: #1a3a2a;
    --teal-light: #2a5a3a;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: slideDown 0.8s ease forwards;
    width: auto;
    max-width: calc(100% - 32px);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 30, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 6px 6px 6px 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-separator {
    opacity: 0.3;
}

[data-lang="en"] .lang-toggle .lang-flag:first-child {
    color: var(--accent);
}

[data-lang="ru"] .lang-toggle .lang-flag:last-child {
    color: var(--accent);
}

.nav-cta {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bg-primary);
    background: var(--text-primary);
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent);
    transform: scale(1.05);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(26, 58, 42, 0.5) 0%, rgba(10, 15, 13, 0) 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    animation: twinkle var(--dur, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.1; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(184, 224, 74, 0.1);
    border: 1px solid rgba(184, 224, 74, 0.2);
    border-radius: 100px;
    font-size: 12px;
    color: var(--accent);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(184, 224, 74, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(184, 224, 74, 0); }
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.5s both;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 20px;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    animation: underlineGrow 1s ease 1.2s both;
}

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 100%; }
}

.hero-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #c8f05a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 224, 74, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    padding: 14px 32px;
    font-size: 15px;
}

.btn-outline-light:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(184, 224, 74, 0.05);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.section-label.accent {
    color: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.case-studies {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.case-study-card {
    margin-bottom: 32px;
    position: relative;
}

.case-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
}

.case-card-inner:hover {
    border-color: rgba(184, 224, 74, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.case-card-reverse {
    direction: rtl;
}

.case-card-reverse > * {
    direction: ltr;
}

.case-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
}

.case-card-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.case-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(184, 224, 74, 0.08);
    color: var(--accent);
    border: 1px solid rgba(184, 224, 74, 0.15);
    transition: var(--transition);
}

.tag-pill:hover {
    background: rgba(184, 224, 74, 0.15);
}

.case-card-image {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: var(--bg-card);
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card-inner:hover .case-card-image img {
    transform: scale(1.05);
}

.marquee-section {
    padding: 20px 0;
    background: var(--accent);
    overflow: hidden;
    position: relative;
}

.marquee-alt {
    background: transparent;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-alt .marquee-item,
.marquee-alt .marquee-star {
    color: var(--text-secondary);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-reverse {
    animation: marqueeReverse 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.marquee-item {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--bg-primary);
    padding: 0 16px;
    white-space: nowrap;
}

.marquee-star {
    color: var(--bg-primary);
    font-size: 12px;
    padding: 0 8px;
}

.services-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(184, 224, 74, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 224, 74, 0.1);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.plus-icon {
    color: var(--accent);
    margin-right: 8px;
    font-weight: 700;
}

.story-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(26, 58, 42, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.story-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.story-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.typewriter {
    border-right: 3px solid var(--accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.story-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.beyond-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.beyond-header {
    margin-bottom: 48px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition-slow);
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    border-color: rgba(184, 224, 74, 0.15);
    transform: translateY(-4px);
}

.bento-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bento-card > p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-tech {
    grid-column: 1;
    grid-row: 1;
}

.bento-location {
    grid-column: 2 / 4;
    grid-row: 1;
    padding: 0;
    overflow: hidden;
    min-height: 250px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 10;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(10, 15, 13, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    color: var(--accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
}

.location-tag svg {
    color: #ff4444;
    fill: #ff4444;
    flex-shrink: 0;
}

.bento-book {
    grid-column: 1;
    grid-row: 2;
}

.book-info {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 16px;
}

.book-cover {
    width: 90px;
    height: 130px;
    flex-shrink: 0;
    position: relative;
    perspective: 500px;
}

.book-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a3a, #2a1a2a, #3a1a1a);
    border-radius: 4px 12px 12px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 4px 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
}

.book-cover:hover .book-front {
    transform: rotateY(-15deg);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #3a2a4a, #2a1a3a);
    border-radius: 4px 0 0 4px;
}

.book-title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.book-author-name {
    font-size: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.book-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.book-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.book-title-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.book-author {
    font-size: 13px;
    color: var(--text-muted);
}

.bento-persona {
    grid-column: 2 / 4;
    grid-row: 2;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(184, 224, 74, 0.08);
    color: var(--accent);
    border: 1px solid rgba(184, 224, 74, 0.15);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(184, 224, 74, 0.2);
    transform: scale(1.05);
}

.persona-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.persona-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}

.persona-tag:hover {
    transform: scale(1.08) rotate(-2deg);
}

.tag-green {
    background: rgba(184, 224, 74, 0.12);
    color: var(--accent);
    border: 1px solid rgba(184, 224, 74, 0.2);
}

.tag-yellow {
    background: rgba(255, 200, 50, 0.12);
    color: #ffc832;
    border: 1px solid rgba(255, 200, 50, 0.2);
}

.tag-blue {
    background: rgba(74, 144, 224, 0.12);
    color: #4a90e0;
    border: 1px solid rgba(74, 144, 224, 0.2);
}

.tag-purple {
    background: rgba(160, 100, 230, 0.12);
    color: #a064e6;
    border: 1px solid rgba(160, 100, 230, 0.2);
}

.tilted {
    transform: rotate(-6deg);
}

.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.faq-icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 120px;
}

.faq-big-icon {
    width: 140px;
    height: 140px;
    animation: float 5s ease-in-out infinite;
}

.faq-big-icon svg {
    width: 100%;
    height: 100%;
}

.faq-icon-text {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(184, 224, 74, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-toggle {
    font-size: 20px;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-answer.active {
    max-height: 300px;
    padding: 0 24px 18px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cta-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px 56px;
    background: linear-gradient(135deg, rgba(26, 58, 42, 0.6), rgba(10, 30, 20, 0.8));
    border: 1px solid rgba(184, 224, 74, 0.15);
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184,224,74,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card:hover {
    border-color: rgba(184, 224, 74, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-left a {
    color: var(--accent);
    font-weight: 500;
}

.footer-left a:hover {
    text-decoration: underline;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-link svg {
    flex-shrink: 0;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(184, 224, 74, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal-light);
}

.case-study-card::before,
.bento-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(184, 224, 74, 0.04), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.case-study-card:hover::before,
.bento-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    animation: pageLoad 0.8s ease 0.3s forwards;
    pointer-events: none;
}

@keyframes pageLoad {
    to { opacity: 0; visibility: hidden; }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-location {
        grid-column: 1 / -1;
    }

    .bento-persona {
        grid-column: 1 / -1;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-icon-block {
        position: static;
        flex-direction: row;
        justify-content: center;
    }

    .faq-big-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 12px;
    }

    .nav-container {
        padding: 4px 4px 4px 12px;
        gap: 4px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .nav-cta {
        padding: 6px 14px;
        font-size: 12px;
    }

    .lang-toggle {
        padding: 6px 10px;
        font-size: 11px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .highlight {
        font-size: 18px;
    }

    .case-card-inner {
        grid-template-columns: 1fr;
    }

    .case-card-reverse {
        direction: ltr;
    }

    .case-card-image {
        min-height: 200px;
        max-height: 280px;
    }

    .case-card-content {
        padding: 24px;
    }

    .case-card-content h3 {
        font-size: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-tech, .bento-location, .bento-book, .bento-persona {
        grid-column: 1;
        grid-row: auto;
    }

    .map-container {
        min-height: 200px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faq-icon-block {
        flex-direction: row;
        justify-content: center;
        position: static;
    }

    .faq-big-icon {
        width: 60px;
        height: 60px;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px 24px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 26px;
    }

    .story-title {
        font-size: 26px;
    }

    .story-desc {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .case-studies,
    .services-section,
    .story-section,
    .beyond-section,
    .faq-section {
        padding: 60px 0;
    }

    .book-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .nav-links {
        gap: 0;
    }

    .nav-link {
        padding: 6px 6px;
        font-size: 11px;
    }

    .nav-cta {
        padding: 6px 10px;
        font-size: 11px;
    }

    .lang-toggle {
        padding: 5px 8px;
        font-size: 10px;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .service-card {
        padding: 24px;
    }

    .faq-question {
        padding: 14px 18px;
        font-size: 13px;
    }

    .faq-answer.active {
        padding: 0 18px 14px;
    }
}
