/* ============================================
   SOFTWEBER — Main Stylesheet
   ============================================ */

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

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

:root {
    /* ----- DARK THEME (default) ----- */
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: #1a1a3e;
    --bg-card-hover: #222250;
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0c0;
    --text-muted: #6a6a8a;
    --accent: #7c5cfc;
    --accent-hover: #6a48e8;
    --accent-glow: rgba(124, 92, 252, 0.3);
    --accent-secondary: #00e5c8;
    --border-color: #2a2a5a;
    --gradient-1: linear-gradient(135deg, #7c5cfc, #00e5c8);
    --gradient-2: linear-gradient(135deg, #ff6b6b, #ffa94d);
    --gradient-3: linear-gradient(135deg, #7c5cfc, #a78bfa);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(124, 92, 252, 0.15);
    --code-bg: #0d0d24;
    --code-text: #c0c0e0;
    --nav-bg: rgba(10, 10, 26, 0.85);
    --card-border: #2a2a5a;
    --input-bg: #161638;
    --quote-bg: #12122a;
    --scrollbar-thumb: #3a3a6a;
    --scrollbar-track: #0a0a1a;
}

[data-theme="light"] {
    --bg-primary: #f4f4fc;
    --bg-secondary: #e8e8f8;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0ff;
    --text-primary: #1a1a3a;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aaa;
    --accent: #6c4ce0;
    --accent-hover: #5b3dcc;
    --accent-glow: rgba(108, 76, 224, 0.2);
    --accent-secondary: #00b894;
    --border-color: #d0d0e8;
    --gradient-1: linear-gradient(135deg, #6c4ce0, #00b894);
    --gradient-2: linear-gradient(135deg, #e05050, #ff8c42);
    --gradient-3: linear-gradient(135deg, #6c4ce0, #9b7bfa);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(108, 76, 224, 0.1);
    --code-bg: #1e1e3a;
    --code-text: #d0d0e8;
    --nav-bg: rgba(244, 244, 252, 0.9);
    --card-border: #d0d0e8;
    --input-bg: #ffffff;
    --quote-bg: #ffffff;
    --scrollbar-thumb: #b0b0d0;
    --scrollbar-track: #e8e8f8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section__desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ----- BUTTONS ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.header--scrolled {
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.logo__icon {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: monospace;
}

.logo__text {
    letter-spacing: 1px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav__link:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.theme-toggle__icon {
    transition: transform 0.4s ease;
    display: inline-block;
}

.theme-toggle:hover .theme-toggle__icon {
    transform: rotate(30deg);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

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

.hero__bg-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.hero__stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Code block */
.code-block {
    background: var(--code-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    transition: transform 0.3s ease;
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: var(--gradient-1);
    z-index: -1;
    opacity: 0.15;
}

.code-block:hover {
    transform: translateY(-4px);
}

.code-block__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-block__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.code-block__dot--red { background: #ff5f57; }
.code-block__dot--yellow { background: #febc2e; }
.code-block__dot--green { background: #28c840; }

.code-block__file {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 8px;
    font-family: monospace;
}

.code-block__body {
    padding: 20px;
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
}

.code-block__body code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    color: var(--code-text);
}

.code-tag { color: #c678dd; }
.code-key { color: #61afef; }
.code-str { color: #98c379; }
.code-func { color: #e5c07b; }

.hero__scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   TEASER
   ============================================ */
.teaser {
    padding: 0 0 40px;
}

.teaser__banner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    padding: 20px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.service-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card__sticker {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   JOKES / БАЙКИ
   ============================================ */
.jokes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.joke-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.4s ease;
    position: relative;
}

.joke-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.joke-card__emoji {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.joke-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.joke-card__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.joke-card__tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.joke-card--featured {
    grid-column: 1 / -1;
    background: var(--gradient-1);
    border: none;
}

.joke-card--featured .joke-card__title,
.joke-card--featured .joke-card__text {
    color: #fff;
}

.joke-card--featured .joke-card__tag {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* ============================================
   PROCESS
   ============================================ */
.process__timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process__timeline::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
    opacity: 0.3;
}

.process__step {
    display: flex;
    gap: 40px;
    padding: 32px 0;
    position: relative;
}

.process__step-num {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: monospace;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.process__step:hover .process__step-num {
    transform: scale(1.1);
    border-color: var(--accent);
}

.process__step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process__step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   QUOTES
   ============================================ */
.quotes {
    background: var(--bg-secondary);
}

.quotes__slider {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.quotes__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote {
    flex: 0 0 100%;
    text-align: center;
    padding: 40px 20px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 0;
    font-style: normal;
    line-height: 1;
}

.quotes__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.quotes__btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quotes__btn:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.quotes__dots {
    display: flex;
    gap: 8px;
}

.quotes__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.quotes__dot--active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.form__group {
    position: relative;
    margin-bottom: 20px;
}

.form__input {
    width: 100%;
    padding: 16px 20px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.form__input::placeholder {
    color: var(--text-muted);
}

.form__label {
    position: absolute;
    left: 20px;
    top: -8px;
    background: var(--input-bg);
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form__input:focus + .form__label {
    opacity: 1;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__disclaimer {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.contact__card:hover {
    transform: translateX(6px);
    border-color: var(--accent);
}

.contact__card span {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact__card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact__card--joke {
    background: var(--gradient-1);
    border: none;
}

.contact__card--joke p {
    color: #fff;
}

/* ============================================
   CAPTCHA — перетащи букет девушке
   ============================================ */
.captcha {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.captcha--solved {
    border-color: #28c840;
    background: rgba(40, 200, 64, 0.05);
}

.captcha__label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 500;
}

.captcha__track {
    position: relative;
    height: 60px;
    background: var(--bg-primary);
    border-radius: 30px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    touch-action: none;
}

.captcha__bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha__hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.6;
    pointer-events: none;
}

.captcha__thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
    min-width: 80px;
}

.captcha__thumb:active {
    cursor: grabbing;
}

.captcha__thumb--dragging {
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.5);
}

.captcha__roses {
    font-size: 1.5rem;
    line-height: 1;
    white-space: nowrap;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: roses-sway 2s ease-in-out infinite;
}

@keyframes roses-sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.captcha__target {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.captcha__girl {
    font-size: 2.2rem;
    line-height: 1;
    display: block;
    animation: girl-bounce 2s ease-in-out infinite;
}

@keyframes girl-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.captcha__status {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.captcha__status--success {
    color: #28c840;
}

.captcha__status--fail {
    color: #e63946;
}

/* Captcha progress fill */
.captcha__track::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--progress, 0%);
    background: rgba(40, 200, 64, 0.15);
    border-radius: 30px;
    transition: width 0.1s linear;
    z-index: 0;
}

/* Hearts on success */
.captcha--solved .captcha__thumb {
    background: linear-gradient(135deg, #28c840, #20b038);
}

.captcha--solved .captcha__roses {
    animation: none;
}

.captcha--solved .captcha__girl {
    animation: girl-happy 0.5s ease infinite alternate;
}

@keyframes girl-happy {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-6px) scale(1.1); }
}

/* ============================================
   CAPTCHA — RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .captcha__track {
        height: 52px;
    }

    .captcha__thumb {
        min-width: 64px;
        padding: 0 12px;
    }

    .captcha__roses {
        font-size: 1.2rem;
    }

    .captcha__girl {
        font-size: 1.8rem;
    }

    .captcha__hint {
        font-size: 0.75rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background: var(--bg-secondary);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer__brand .logo__icon {
    font-size: 1.8rem;
}

.footer__brand .logo__text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer__tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer__nav a:hover {
    color: var(--accent);
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer__bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.footer__bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer__heart {
    display: inline-block;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

.footer__tech-note {
    font-family: monospace;
    font-size: 0.8rem !important;
    opacity: 0.7;
}

/* ============================================
   REVEAL ANIMATION (Intersection Observer)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* 1024px - tablet landscape */
@media (max-width: 1024px) {
    .hero__inner {
        gap: 40px;
    }
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .jokes__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px - tablet portrait */
@media (max-width: 768px) {
    .header__inner {
        height: 60px;
    }

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 20px 24px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
    }

    .nav--open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav__list {
        flex-direction: column;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 12px 16px;
        font-size: 1.1rem;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__visual {
        display: none;
    }

    .hero__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero__scroll-hint {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .jokes__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process__step {
        gap: 20px;
    }

    .process__step-num {
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }

    .process__timeline::before {
        left: 28px;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* 480px - mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .hero__stats {
        flex-direction: column;
        gap: 16px;
    }

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

    .section__title {
        font-size: 1.5rem;
    }

    .process__step {
        flex-direction: column;
        gap: 12px;
        padding: 20px 0;
    }

    .process__timeline::before {
        display: none;
    }

    .process__step-num {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__nav {
        align-items: center;
    }

    .footer__social {
        justify-content: center;
    }

    .contact__card {
        padding: 16px;
    }

    .quote {
        font-size: 1rem;
        padding: 20px 12px;
    }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__badge,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__stats {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero__badge { animation-delay: 0.1s; }
.hero__title { animation-delay: 0.2s; }
.hero__subtitle { animation-delay: 0.35s; }
.hero__actions { animation-delay: 0.5s; }
.hero__stats { animation-delay: 0.65s; }

.hero__visual {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}
