/* Atmit Labs - Clean & Balanced */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #0AD27C;
    --teal: #05927D;
    --teal-dark: #046b5a;
    --blue: #27AAE1;
    --charcoal: #4F4F4F;
    --gray: #6A6A6A;
    --light: #F9F9F9;
    --lighter: #F4F4F4;
    --white: #FFFFFF;
    --border: #E5E5E5;
    --teal-light: rgba(5, 146, 125, 0.08);
    --blue-light: rgba(39, 170, 225, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--white);
    position: relative;
}

/* Connecting trail lines */
main {
    position: relative;
    z-index: 1;
}

.trail-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.trail-path {
    stroke: var(--teal);
    stroke-width: 2;
    stroke-dasharray: 10, 8;
    opacity: 0.4;
    fill: none;
}

section {
    position: relative;
    z-index: 1;
}

section::before {
    display: none;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.section-label {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), rgba(5, 146, 125, 0.3));
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.highlight {
    position: relative;
    display: inline;
    padding: 0 4px;
}

.highlight::before {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 2px;
    height: 40%;
    background: linear-gradient(90deg, var(--green), rgba(10, 210, 124, 0.7));
    transform: skewX(-3deg);
    z-index: -1;
    border-radius: 2px;
}

.company-name {
    font-weight: 600;
    color: var(--charcoal);
    background: linear-gradient(180deg, transparent 60%, rgba(5, 146, 125, 0.2) 60%);
    padding: 0 2px;
}

.tagline-gradient {
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline-pill {
    font-weight: 600;
    background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.tagline-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--teal);
}

.highlight-annotation {
    position: relative;
    display: inline-block;
    padding: 0 4px;
}

.highlight-annotation::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    width: calc(100% + 12px);
    height: calc(100% + 8px);
    border: 3px solid var(--blue);
    border-radius: 50% 45% 50% 45% / 60% 55% 45% 50%;
    opacity: 0.9;
    pointer-events: none;
    animation: handDrawn 0.3s ease-out;
}

@keyframes handDrawn {
    0% {
        transform: translate(-50%, -50%) rotate(-2deg) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) rotate(-2deg) scale(1);
        opacity: 0.9;
    }
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 75px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-cta {
    padding: 10px 20px !important;
    background: var(--teal) !important;
    color: var(--white) !important;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--charcoal) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.lang-toggle {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    background: transparent;
    border: 2px solid var(--charcoal);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.lang-toggle:hover {
    background: var(--charcoal);
    color: var(--white);
}

[dir="rtl"] .lang-toggle {
    margin-left: 0;
    margin-right: 8px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero */
.hero {
    padding: 0;
    background: #e8e4df;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    min-height: 600px;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    padding-top: 120px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 400px;
}

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: var(--teal);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
    opacity: 0;
    animation: heroFade 15s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes heroFade {
    0% { opacity: 0; }
    5% { opacity: 1; }
    33% { opacity: 1; }
    38% { opacity: 0; }
    100% { opacity: 0; }
}

/* Services */
.services {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--teal) 0%, #046b5a 50%, #034d42 100%);
    color: var(--white);
}

.services .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.services .section-label::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

.services .section-title {
    color: var(--white);
}

.services .section-label,
.services .section-title {
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.service {
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--white);
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service:hover .service-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.service p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Use cases - tabbed layout */
.use-cases {
    padding: 100px 24px;
    background: linear-gradient(180deg, #f0f7f6 0%, #e8f4f2 100%);
}

.use-cases .section-label,
.use-cases .section-title {
    text-align: left;
}

.use-cases-tabs {
    margin-top: 48px;
}

.use-cases-tablist {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.use-cases-tablist::-webkit-scrollbar {
    height: 4px;
}

.use-cases-tablist::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.use-cases-tablist [role="tab"] {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    background: transparent;
    border: none;
    padding: 16px 4px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.use-cases-tablist [role="tab"]:hover {
    color: var(--charcoal);
}

.use-cases-tablist [role="tab"][aria-selected="true"] {
    color: var(--charcoal);
    border-bottom-color: var(--teal);
    font-weight: 600;
}

.use-case-panel {
    animation: useCaseFade 0.5s ease-out;
}

.use-case-panel--hidden {
    display: none;
}

@keyframes useCaseFade {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.use-case-card--flair {
    padding: 36px 40px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.use-case-card--flair::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--teal), var(--blue));
    border-radius: 4px 0 0 4px;
}

.use-case-card--flair:hover {
    box-shadow: 0 12px 32px rgba(5, 146, 125, 0.12);
    border-color: rgba(5, 146, 125, 0.25);
}

.use-case-card--flair h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--charcoal);
}

.use-case-blurb {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 20px;
}

.use-case-metrics {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 18px 20px;
    font-size: 0.9375rem;
    color: var(--gray);
    background: linear-gradient(135deg, rgba(5, 146, 125, 0.06), rgba(39, 170, 225, 0.04));
    border-radius: 10px;
    border-left: 3px solid var(--teal);
}

.use-case-metrics::before {
    content: 'Key metrics';
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
    margin-bottom: 12px;
}

.use-case-metrics li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.use-case-metrics li:last-child {
    margin-bottom: 0;
}

.use-case-metrics li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 0.5rem;
    top: 0.4em;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tag-professional-services { background: rgba(5, 146, 125, 0.14); color: #047a6a; }
.tag-real-estate { background: rgba(39, 170, 225, 0.18); color: #1a7fa8; }
.tag-contracting { background: rgba(10, 210, 124, 0.2); color: #058a4a; }
.tag-ecommerce { background: rgba(79, 79, 79, 0.12); color: #3a3a3a; }
.tag-consulting { background: rgba(100, 80, 180, 0.18); color: #4a3a9e; }
.tag-social-media { background: rgba(220, 100, 50, 0.18); color: #b85c2a; }
.tag-pr { background: rgba(180, 60, 120, 0.18); color: #8a2a5a; }
.tag-medical { background: rgba(30, 130, 150, 0.2); color: #0d6b7a; }

/* Tools we work with - vertical scroll */
.tools {
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(160deg, #3a3a3a 0%, var(--charcoal) 40%, #3d4a4f 100%);
}

.tools .section-label {
    color: var(--green);
}

.tools .section-label::after {
    background: linear-gradient(90deg, var(--green), transparent);
}

.tools .section-title {
    color: var(--white);
}

.tools .container {
    padding: 0 24px;
}

.tools .section-label,
.tools .section-title {
    text-align: left;
}

.tools-carousel {
    margin-top: 48px;
    overflow: hidden;
    position: relative;
}

.tools-carousel::before,
.tools-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tools-carousel::before {
    left: 0;
    background: linear-gradient(to right, #3a3a3a, transparent);
}

.tools-carousel::after {
    right: 0;
    background: linear-gradient(to left, #3d4a4f, transparent);
}

.tools-track {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    animation: toolsScroll 30s linear infinite;
    width: max-content;
}

.tools-carousel:hover .tools-track {
    animation-play-state: paused;
}

@keyframes toolsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tool-card {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
    background: var(--white);
    border: none;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(5, 146, 125, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tool-card:hover {
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px) scale(1.02);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 100%;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.tool-logo img {
    max-height: 44px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-logo img {
    transform: scale(1.08);
}

.tool-logo img[alt="Keragon"] {
    max-width: 200px;
    max-height: 75px;
}

.tool-logo img[alt="Make"] {
    max-width: 90px;
    max-height: 36px;
}

.tool-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.tool-desc {
    font-size: 0.8125rem;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .tool-card {
        flex: 0 0 170px;
        padding: 24px 20px;
    }
}

/* About */
.about {
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e6f3f1 0%, #dceef5 100%);
}

.about::before,
.about::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.about::before {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--teal), var(--blue));
    filter: blur(60px);
}

.about::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle, var(--green), var(--teal));
    filter: blur(50px);
}

.about .container {
    position: relative;
    z-index: 1;
}

.about .container::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: radial-gradient(ellipse, var(--blue), transparent);
    border-radius: 40% 60% 50% 50%;
    filter: blur(40px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.about-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--light);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-image:hover img {
    box-shadow: 0 12px 40px rgba(5, 146, 125, 0.2);
    transform: scale(1.05);
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-content .about-signature {
    font-family: 'Caveat', cursive;
    font-size: 2.25rem !important;
    font-weight: 600;
    color: var(--charcoal);
    margin-top: 24px;
}

/* FAQ */
.faq {
    padding: 100px 24px;
    background: var(--white);
}

.faq .section-label,
.faq .section-title {
    text-align: left;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.faq-item {
    padding: 28px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 12px rgba(5, 146, 125, 0.08);
}

.faq-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--teal) 0%, #047a8a 50%, var(--blue) 100%);
}

.contact .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.contact .section-label::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

.contact .section-title {
    color: var(--white);
}

.contact .contact-sub {
    color: rgba(255, 255, 255, 0.85);
}

.contact-header {
    text-align: left;
    max-width: none;
    margin: 0 0 48px;
}

.contact-sub {
    color: var(--gray);
}

.contact-paths {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-path {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.contact-path-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-path-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}

.contact-path-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5, 146, 125, 0.1), rgba(39, 170, 225, 0.08));
    border-radius: 10px;
    color: var(--teal);
}

.contact-path-icon svg {
    width: 20px;
    height: 20px;
}

.contact-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-divider span {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 50px;
}

.contact-path--cta {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-path--cta .contact-path-header {
    justify-content: flex-start;
}

.contact-path-desc {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.contact-path--cta .btn {
    margin-top: auto;
    align-self: flex-start;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.0625rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form input,
.form textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    transition: all 0.2s ease;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(5, 146, 125, 0.1);
    transform: translateY(-1px);
}

.form textarea {
    resize: vertical;
}

.form .btn {
    margin-top: 8px;
    align-self: flex-start;
}

.contact-alt {
    margin-top: 32px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.contact-alt a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.contact-alt a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-paths {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-divider {
        padding: 8px 0;
    }

    .contact-divider span {
        padding: 8px 24px;
    }
}

/* Footer */
.footer {
    padding: 60px 24px 40px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2d2d2d 100%);
    border-top: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        padding: 140px 24px 40px;
    }

    .hero-sub {
        max-width: none;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 350px;
    }

    .hero-slide {
        mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        text-align: left;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .nav-cta {
        margin-top: 16px;
        text-align: center;
    }

    .nav-links .lang-toggle {
        margin: 16px 0 0 0;
        width: 100%;
        padding: 12px;
    }

    [dir="rtl"] .nav-links a {
        text-align: right;
    }

    [dir="rtl"] .nav-links {
        direction: rtl;
    }

    [dir="rtl"] .nav-links .lang-toggle {
        margin: 16px 0 0 0;
    }
}

@media (max-width: 600px) {
    .trail-svg {
        display: none;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        height: 280px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .services,
    .results,
    .use-cases,
    .about,
    .faq,
    .contact {
        padding: 80px 24px;
    }

    .use-case-card--flair {
        padding: 24px 20px;
    }

    .use-cases-tablist [role="tab"] {
        padding: 12px 2px;
        font-size: 0.875rem;
    }

    .use-cases-tablist {
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .result-quote {
        font-size: 1.125rem;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .section-label,
[dir="rtl"] .section-title,
[dir="rtl"] .contact-header {
    text-align: right;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-sub {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .nav-container {
    direction: rtl;
}

[dir="rtl"] .nav-links {
    direction: rtl;
}


[dir="rtl"] .hero-container {
    direction: rtl;
}

[dir="rtl"] .hero-image {
    right: auto;
    left: 0;
}

[dir="rtl"] .hero-slide {
    mask-image: linear-gradient(to left, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 25%);
}

[dir="rtl"] .section-label::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .services-grid,
[dir="rtl"] .faq-grid {
    direction: rtl;
}

[dir="rtl"] .use-cases-tablist {
    direction: rtl;
}

[dir="rtl"] .use-case-card--flair {
    text-align: right;
}

[dir="rtl"] .use-case-card--flair::before {
    left: auto;
    right: 0;
    border-radius: 0 4px 4px 0;
}

[dir="rtl"] .use-case-tags {
    justify-content: flex-start;
}

[dir="rtl"] .use-case-metrics {
    border-left: none;
    border-right: 3px solid var(--teal);
}

[dir="rtl"] .use-case-metrics li {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .use-case-metrics li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .tools-track {
    animation-direction: reverse;
}

[dir="rtl"] .tools-carousel::before {
    left: auto;
    right: 0;
    background: linear-gradient(to left, #3a3a3a, transparent);
}

[dir="rtl"] .tools-carousel::after {
    right: auto;
    left: 0;
    background: linear-gradient(to right, #3d4a4f, transparent);
}

[dir="rtl"] .about-layout {
    direction: rtl;
}

[dir="rtl"] .contact-paths {
    direction: rtl;
}

[dir="rtl"] .contact-path {
    text-align: right;
}

[dir="rtl"] .contact-path-header {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .contact-path--cta {
    text-align: right;
}

[dir="rtl"] .contact-path--cta .contact-path-header {
    justify-content: flex-end;
}

[dir="rtl"] .form {
    text-align: right;
}

[dir="rtl"] .form input,
[dir="rtl"] .form textarea {
    text-align: right;
}

[dir="rtl"] .form .btn {
    align-self: flex-start;
}

[dir="rtl"] .contact-path--cta .btn {
    align-self: flex-start;
}

[dir="rtl"] .contact-path-desc {
    text-align: right;
}

[dir="rtl"] .contact-alt {
    text-align: center;
}

[dir="rtl"] .highlight::before {
    transform: skewX(3deg);
}

[dir="rtl"] .company-name {
    background: linear-gradient(180deg, transparent 60%, rgba(5, 146, 125, 0.2) 60%);
}

@media (max-width: 900px) {
    [dir="rtl"] .hero-slide {
        mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
    }
}
