* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0b0f1a;
    --bg-alt: #0f172a;
    --surface: rgba(15, 23, 42, 0.62);
    --surface-strong: rgba(15, 23, 42, 0.85);
    --border: rgba(148, 163, 184, 0.2);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #7c3aed;
    --accent-dark: #6d28d9;
    --accent-2: #22d3ee;
    --accent-3: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
    --ring: rgba(34, 211, 238, 0.55);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
    --transition: all 0.3s ease;
    --radius-lg: 20px;
    --radius-md: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top, rgba(124, 58, 237, 0.15), transparent 55%),
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), transparent 40%),
        linear-gradient(135deg, #070b13 0%, #0b1221 60%, #0f172a 100%);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

::selection {
    background: rgba(34, 211, 238, 0.25);
}

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

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
    transition: transform 0.2s ease;
    z-index: 999;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(1200px, 100% - 3rem);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
    scroll-margin-top: 96px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.section-title-left {
    text-align: left;
    margin-bottom: 16px;
}

.section-subtitle {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.highlight-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.52));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.38);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(34, 211, 238, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: rgba(34, 211, 238, 0.38);
}

.site-header {
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.2), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.12), transparent 40%);
    opacity: 0.7;
    z-index: -1;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
    padding: 30px 0 80px;
}

.hero-content {
    animation: moveUp 1.2s ease;
}

.hero-kicker {
    color: var(--accent-2);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.24rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cv-button:hover {
    transform: translateY(-2px);
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid var(--accent-2);
    white-space: nowrap;
    animation: blink-caret 0.75s step-end infinite;
}

.hero-media {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.hero-media dotlottie-player {
    width: 100%;
    height: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.skill-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-6px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.chart-container {
    position: relative;
    height: 260px;
}

.skills-list {
    display: grid;
    gap: 16px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-name {
    font-weight: 500;
}

.skill-name i {
    margin-right: 8px;
    color: var(--accent-2);
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 999px;
    transition: width 1s ease;
}

.skill-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--muted);
}

.skill-status {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
}

.status-learning {
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-2);
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.star {
    color: #fbbf24;
}

.empty-star {
    color: rgba(148, 163, 184, 0.4);
}

.quote-master-container {
    margin-top: 24px;
}

.quote-theatre {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--border);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.quote-theatre::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
    opacity: 0.6;
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

.quote-stage {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-text {
    font-size: 2rem;
    line-height: 1.5;
    color: var(--text);
    font-weight: 500;
    margin: 0 auto 20px;
    max-width: 780px;
    opacity: 0;
    transform: translateY(20px) rotateX(90deg);
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 3rem;
    color: rgba(124, 58, 237, 0.2);
    position: absolute;
    font-family: serif;
}

.quote-text::before {
    top: -1.5rem;
    left: -1rem;
}

.quote-text::after {
    bottom: -2rem;
    right: -1rem;
}

.quote-author {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.9s ease;
    font-family: 'Montserrat', sans-serif;
}

.quote-control-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    gap: 16px;
}

.quote-progress-container {
    width: 200px;
    height: 4px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.quote-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left center;
}

.quote-nav {
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quote-nav:hover {
    transform: scale(1.06);
}

.cosmic-in.show {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
}

.row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.about-grid {
    align-items: center;
}

.about-col-1 {
    flex: 1;
    min-width: 260px;
}

.about-col-2 {
    flex: 1.5;
    min-width: 280px;
}

.about-text {
    color: var(--muted);
    margin-bottom: 24px;
}

.tilt-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: tilt 9s infinite ease-in-out;
}

.tab-titles {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tab-links {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-links.active-link,
.tab-links:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.tab-contents ul {
    list-style: none;
    padding: 0;
}

.tab-contents li {
    margin-bottom: 12px;
    color: var(--muted);
}

.tab-contents li span {
    color: var(--accent-2);
    font-weight: 600;
}

.chat-section {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.ai-lottie-wrapper {
    width: 240px;
    height: 240px;
    background: var(--surface);
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.chat-container {
    flex: 1;
    min-width: 280px;
    max-width: 560px;
    height: 540px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.chat-header {
    padding: 16px 20px;
    background: var(--surface-strong);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contents {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.header-texts h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.header-texts p {
    font-size: 0.8rem;
    color: var(--muted);
}

.icon-button {
    background: none;
    border: none;
    color: var(--text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 85%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: messageIn 0.3s ease-out forwards;
    opacity: 0;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text);
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
}

.welcome-message .message-content {
    background: rgba(124, 58, 237, 0.18);
}

.message-time {
    font-size: 0.7rem;
    color: var(--muted);
}

.chat-input-container {
    padding: 16px;
    border-top: 1px solid var(--border);
    position: relative;
}

.chat-input {
    display: flex;
    gap: 8px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.chat-input button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    cursor: pointer;
}

.quick-replies {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-reply {
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    cursor: pointer;
}

.quick-reply:hover {
    background: rgba(124, 58, 237, 0.2);
}

.options-list {
    margin: 8px 0;
    padding-left: 16px;
}

.option-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    margin-right: 6px;
    font-size: 0.75rem;
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    position: absolute;
    top: -32px;
    left: 16px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--muted);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--muted);
    border-radius: 50%;
    opacity: 0.4;
    animation: typingAnimation 1.5s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.telegram-bot-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.telegram-bot-card:hover {
    transform: translateY(-4px);
    transition: var(--transition);
}

.card-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), transparent 70%);
    animation: gradientShift 12s infinite alternate;
}

.bot-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.bot-icon {
    background: linear-gradient(135deg, #2AABEE, #0088cc);
    border-radius: 14px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(42, 171, 238, 0.3);
    animation: subtleFloat 6s infinite ease-in-out;
}

.bot-description {
    color: var(--muted);
    margin-bottom: 20px;
}

.invite-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2AABEE, #0088cc);
    color: white;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.invite-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 171, 238, 0.3);
}

.button-hover-effect {
    display: none;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.service-box {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border);
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.service-box:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
}

.lottie-container {
    display: flex;
    justify-content: center;
}

.lottie-container dotlottie-player {
    width: 320px;
    height: 320px;
}

.contact-form-section {
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius-lg);
    margin: 0 0 90px;
    padding: 60px 0;
    border: 1px solid var(--border);
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text);
}

.section-heading .greeting {
    color: var(--muted);
}

.section-heading .title {
    color: var(--accent-2);
    font-size: 2.2rem;
}

.animated-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    background: transparent;
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--muted);
    pointer-events: none;
    transition: var(--transition);
}

.form-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--accent);
}

.form-group input:focus ~ .underline,
.form-group textarea:focus ~ .underline {
    width: 100%;
}

.radio-group {
    margin-bottom: 24px;
}

.radio-question {
    margin-bottom: 12px;
    color: var(--muted);
}

.radio-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-button {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--muted);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.radio-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    transition: var(--transition);
}

.radio-button input:checked ~ .radio-custom {
    border-color: var(--accent);
}

.radio-button input:checked ~ .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.hidden {
    display: none;
}

.show {
    display: block;
}

.professional-footer {
    background-color: rgba(7, 10, 20, 0.9);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

@keyframes moveUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes tilt {
    0%,
    100% {
        transform: rotate3d(1, 1, 0, 0deg);
    }
    50% {
        transform: rotate3d(1, 1, 0, 8deg);
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: var(--accent-2);
    }
}

@keyframes pulse {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    100% {
        transform: rotate(180deg);
        opacity: 0.1;
    }
}

@keyframes progress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes typingAnimation {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@media (max-width: 900px) {
    .site-nav {
        flex-direction: column;
        gap: 16px;
    }

    .hero {
        padding-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .quote-text {
        font-size: 1.6rem;
    }

    .chat-container {
        height: 480px;
    }

    .footer-content,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: min(1200px, 100% - 2rem);
    }

    .nav-links {
        justify-content: center;
    }

    .lottie-container dotlottie-player {
        width: 240px;
        height: 240px;
    }
}
