
/* ═══════════════════════════════════════════════
   DESIGN TOKENS — Dark Premium (Falkon IT Inspired)
   ═══════════════════════════════════════════════ */
:root {
    --bg: #050505;
    --bg-card: #0e0e0e;
    --bg-card-2: #141414;
    --bg-elevated: #1a1a1a;
    --accent: #0066FF;
    --accent-glow: rgba(0, 102, 255, 0.5);
    --accent-dim: rgba(0, 102, 255, 0.15);
    --white: #ffffff;
    --gray-100: #f0f0f0;
    --gray-300: #a0a0a0;
    --gray-500: #666666;
    --gray-700: #333333;
    --radius: 16px;
    --radius-lg: 24px;
    --font: 'Outfit', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-700) var(--bg);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

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

/* ═══════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.brand__logo {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.3));
}

.brand span {
    color: var(--accent);
}

.nav__links {
    display: flex;
    gap: 36px;
}

.nav__links a {
    color: var(--gray-300);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s, text-shadow 0.3s;
    text-transform: uppercase;
}

.nav__links a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease);
}

.nav__cta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.3s;
}

.nav__cta:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 30px var(--accent-glow);
}

.nav__cta:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
}

.burger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* Burger active state */
.burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -300px;
    left: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero__tag::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.hero__title {
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero__title span {
    color: var(--accent);
    text-shadow: 0 0 40px var(--accent-glow);
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--gray-300);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.75;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    border: 1px solid var(--accent);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.btn--primary:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 35px var(--accent-glow);
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s;
}

.btn:hover svg {
    transform: translateX(4px);
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.hero__image {
    width: 100%;
    height: auto;
    filter: brightness(0.85) contrast(1.05);
    transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.hero__box:hover .hero__image {
    filter: brightness(1) contrast(1);
    transform: scale(1.02);
}

/* Floating Badge */
.hero__badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: rgba(14, 14, 14, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: floating 3s ease-in-out infinite alternate;
}

@keyframes floating {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.hero__badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.hero__badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero__badge-text span {
    display: block;
    color: var(--gray-300);
    font-weight: 400;
    font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════ */
.section {
    padding: 100px 0;
    position: relative;
}

.section--border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section__tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section__subtitle {
    font-size: 0.98rem;
    color: var(--gray-300);
    max-width: 600px;
    line-height: 1.7;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════
   FEATURES SECTION (Особливості)
   ═══════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 0 var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-bottom: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    border-radius: 0 0 0 var(--radius);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-dim);
}

.feature-card:hover::before,
.feature-card:hover::after {
    opacity: 0.7;
}

.feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s, color 0.3s;
}

.feature-card__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card:hover .feature-card__icon {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 15px var(--accent-glow);
}

.feature-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card__desc {
    font-size: 0.88rem;
    color: var(--gray-300);
    line-height: 1.6;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════
   SERVICES SECTION (Послуги / Підхід)
   ═══════════════════════════════════════════════ */
.services-highlight {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.services-highlight__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services-highlight__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.services-highlight__title span {
    color: var(--accent);
}

.services-highlight__desc {
    color: var(--gray-300);
    line-height: 1.75;
    margin-bottom: 32px;
    font-size: 0.95rem;
    font-weight: 300;
}

.services-highlight__visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.services-highlight__img {
    width: 100%;
    height: auto;
    filter: brightness(0.85);
    transition: filter 0.5s;
}

.services-highlight__visual:hover .services-highlight__img {
    filter: brightness(1);
}

/* ═══════════════════════════════════════════════
   PORTFOLIO SECTION
   ═══════════════════════════════════════════════ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px var(--accent-dim);
}

.portfolio-card__img-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.5 / 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-card__img {
    transform: scale(1.05);
}

/* Hover overlay */
.portfolio-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-card__overlay {
    opacity: 1;
}

.portfolio-card__overlay-btn {
    padding: 12px 24px;
    background: var(--accent);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(15px);
    transition: all 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-card__overlay-btn {
    transform: translateY(0);
}

.portfolio-card__overlay-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.portfolio-card__info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.portfolio-card:hover .portfolio-card__title {
    color: var(--accent);
}

.portfolio-card__domain {
    font-size: 0.85rem;
    color: var(--gray-300);
    font-weight: 500;
    margin-bottom: 12px;
}

.portfolio-card__link {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.3s;
}

.portfolio-card__link svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.3s;
}

.portfolio-card__link:hover {
    gap: 10px;
}

.portfolio-card__link:hover svg {
    transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS SECTION (Відгуки)
   ═══════════════════════════════════════════════ */
.slider-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px; /* space for arrows */
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    cursor: grab;
    border-radius: var(--radius-lg);
}

.slider-viewport:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    padding: 12px;
}

.slide-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(320px, 60vh, 500px);
    transition: all 0.4s var(--ease);
    overflow: hidden;
    position: relative;
}

.slide-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 0 var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.slide-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    border-radius: 0 0 0 var(--radius);
    opacity: 0;
    transition: opacity 0.3s;
}

.slide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px var(--accent-dim);
}

.slide-card:hover::before,
.slide-card:hover::after {
    opacity: 0.6;
}

.slide-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.05);
    transition: filter 0.3s;
    user-select: none;
    pointer-events: none; /* prevents image drag interference */
}

.slide-card:hover img {
    filter: brightness(1) contrast(1);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 14, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s var(--ease);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.slider-arrow--prev {
    left: 0;
}

.slider-arrow--next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.slider-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Responsive columns */
@media (max-width: 768px) {
    .slider-container {
        padding: 0; /* remove arrow space, arrows position at bottom or hide */
    }
    .slider-arrow {
        display: none; /* hide arrows on mobile to use touch swipe */
    }
}

/* ═══════════════════════════════════════════════
   WORKFLOW SECTION (Етапи роботи)
   ═══════════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

/* Line connecting steps */
.steps-grid::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.step-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.step-card__num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    transition: all 0.4s var(--ease);
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.step-card:hover .step-card__num {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: scale(1.05);
}

.step-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.step-card__desc {
    font-size: 0.88rem;
    color: var(--gray-300);
    line-height: 1.6;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════
   ETHICAL PRINCIPLES (З ким не працюю)
   ═══════════════════════════════════════════════ */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.principle-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-top: 4px solid var(--accent);
    transition: all 0.4s var(--ease);
}

.principle-card:nth-child(1) { border-top-color: #ff3366; } /* Highlight "З ким не працюю" with custom red color */
.principle-card:nth-child(2) { border-top-color: var(--accent); }
.principle-card:nth-child(3) { border-top-color: #00E5FF; }

.principle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.principle-card__icon {
    margin-bottom: 24px;
    color: var(--accent);
}

.principle-card:nth-child(1) .principle-card__icon { color: #ff3366; }
.principle-card:nth-child(2) .principle-card__icon { color: var(--accent); }
.principle-card:nth-child(3) .principle-card__icon { color: #00E5FF; }

.principle-card__icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.principle-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.principle-card__desc {
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.65;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.15);
    background: var(--bg-card-2);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    text-align: left;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: transform 0.3s var(--ease), color 0.3s;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s var(--ease);
    padding: 0 30px;
    color: var(--gray-300);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Large enough to fit text */
    padding-bottom: 24px;
    transition: max-height 0.4s cubic-bezier(0.5, 0, 0, 1), padding 0.4s var(--ease);
}

/* ═══════════════════════════════════════════════
   FINAL CALL TO ACTION (CTA)
   ═══════════════════════════════════════════════ */
.cta-section {
    text-align: center;
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-section::after {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 55%);
    pointer-events: none;
}

.cta-section__container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-section__title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.cta-section__title span {
    color: var(--accent);
    text-shadow: 0 0 35px var(--accent-glow);
}

.cta-section__desc {
    font-size: 1.05rem;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    background: #020202;
}

.footer__grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__brand {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer__brand span {
    color: var(--accent);
}

.footer__copyright {
    color: var(--gray-500);
    font-size: 0.8rem;
    font-weight: 400;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: var(--gray-500);
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--white);
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(7) { transition-delay: 0.47s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(8) { transition-delay: 0.54s; opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero__content {
        align-items: center;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__badge {
        left: -10px;
        bottom: 20px;
    }

    .section__title {
        font-size: 2.2rem;
    }

    .services-highlight {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .services-highlight__info {
        align-items: center;
        text-align: center;
    }

    .services-highlight__title {
        font-size: 1.6rem;
    }

    .cta-section__title {
        font-size: 2.2rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none; /* Hide workflow line on smaller screens */
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principle-card:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        transition: right 0.4s var(--ease);
        z-index: 100;
        box-shadow: -20px 0 60px rgba(0,0,0,0.8);
    }

    .nav__links.open {
        right: 0;
    }

    .nav__cta {
        display: none;
    }

    .nav__links .nav__cta-mobile {
        display: inline-flex !important;
        margin-top: 20px;
    }

    .burger {
        display: flex;
    }

    .section {
        padding: 70px 0;
    }

    .hero__title {
        font-size: 2rem;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .services-highlight__title {
        font-size: 1.4rem;
    }

    .cta-section__title {
        font-size: 1.8rem;
    }

    .portfolio-grid,
    .testimonials-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principle-card:nth-child(3) {
        grid-column: span 1;
    }

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

    .step-card {
        align-items: center;
        text-align: center;
    }

    .step-card__num {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__grid {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__badge {
        display: none; /* Hide badge on very small screens to avoid clutter */
    }

    .hero__tag {
        font-size: 0.7rem;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .hero__title {
        font-size: 1.6rem;
        word-break: normal;
        overflow-wrap: break-word;
        line-height: 1.25;
    }

    .section__title {
        font-size: 1.4rem;
    }

    .services-highlight__title {
        font-size: 1.25rem;
    }

    .cta-section__title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 20px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }

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