/* Variables & Reset */
:root {
    --primary-color: #3b82f6;
    /* Electric Blue */
    --primary-dark: #3b82f6;
    --primary-light: #5FA3EB;
    --secondary-color: #2A2A2D;
    /* Dark Slate */
    --accent-color: #3b82f6;
    --text-color: #2A2A2D;
    --text-light: #64748B;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    --success-color: #aea4e7;
    --danger-color: #222252;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.99' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    --gradient-start: radial-gradient(circle at top right, rgba(174, 164, 231, 0.3), transparent 40%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.3), transparent 40%);
    ;
    --gradient-end: radial-gradient(circle at top left, rgba(59, 130, 246, 0.3), transparent 40%),
        radial-gradient(circle at bottom right, rgba(174, 164, 231, 0.3), transparent 40%);
    ;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.logo img {
    height: 3rem;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    border-radius: var(--radius-md);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.btn-primary {
    color: var(--white);
    padding: 0.5rem 1.25rem;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Grain Overlay Effect */
.grain-overlay {
    position: relative;
}

.grain-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--noise);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.grain-overlay>* {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: var(--gradient-start);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--noise);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.visual-card {
    position: absolute;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 260px;
    z-index: 2;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.float-animation-delayed {
    animation: float 6s ease-in-out 3s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Comparison Section */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
}

.comparison {
    background: var(--gradient-end);
    position: relative;
}

.comparison::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--noise);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.comparison-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    flex-wrap: nowrap;

    height: 22rem;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comparison-card.before {
    border-top: 4px solid var(--danger-color);
}

.comparison-card.after {
    border-top: 4px solid var(--success-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header h3 {
    font-size: 1.25rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.text-danger {
    color: var(--danger-color);
}

.text-success {
    color: var(--success-color);
}

.comparison-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Services Section */

.services {
    background: radial-gradient(circle at top right, rgba(174, 164, 231, 0.3), transparent 40%);
    position: relative;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--noise);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* AI Agent Section */
.ai-agent {
    background-image: linear-gradient(to bottom, #F5F7F9, var(--bg-color));
}

.ai-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-tag {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.ai-feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ai-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.ai-feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.chat-interface {
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.chat-header {
    background: var(--primary-color);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.chat-header .avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-info .name {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-info .status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 300px;
    background: #f1f5f9;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    max-width: 80%;
    line-height: 1.4;
}

.message.received {
    background: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 0;
    box-shadow: var(--shadow-sm);
}

.message.sent {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 0;
    box-shadow: var(--shadow-sm);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 1rem;
    align-self: flex-start;
    width: fit-content;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-content {
    padding: 2rem;
    position: relative;
}

.case-header {
    margin-bottom: 1.5rem;
}

.case-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.case-title {
    font-size: 1.25rem;
    margin: 0;
    color: var(--secondary-color);
    line-height: 1.4;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(var(--primary-rgb, 33, 150, 243), 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    line-height: 1;
}

.result-label {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.2;
}

.case-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-info.expanded {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
}

.case-problem {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-problem:last-child {
    margin-bottom: 0;
}

.case-problem strong {
    color: var(--secondary-color);
}

.expand-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.expand-btn:hover {
    background: rgba(var(--primary-rgb, 33, 150, 243), 0.05);
    border-color: var(--primary-color);
}

.expand-btn:active {
    transform: scale(0.98);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expand-btn[aria-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}

.expand-btn[aria-expanded="true"] .btn-text {
    color: var(--secondary-color);
}

/* Adaptive design */
@media (max-width: 768px) {
    .case-content {
        padding: 1.5rem;
    }

    .case-results {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .result-item {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .result-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .result-value {
        font-size: 1.25rem;
    }

    .case-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .case-content {
        padding: 1.25rem;
    }

    .case-category {
        font-size: 0.7rem;
    }

    .case-title {
        font-size: 1rem;
    }

    .expand-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* Animation for expanded content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-info.expanded .case-problem {
    animation: fadeIn 0.5s ease forwards;
}

.case-info.expanded .case-problem:nth-child(2) {
    animation-delay: 0.1s;
}

.gradient-overlay {
    background: linear-gradient(to left top, #aea4e7, #8884b5, #666485, #474657, #2a2a2d);
}

/* About Section */
.about {
    color: var(--white);
}

.about .section-title {
    color: var(--white);
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.team-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.team-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.team-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    position: relative;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.form-group {
    flex: 1;
}

.cta-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
}

.cta-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr 1.5fr;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-contacts-data {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
        margin-top: 2rem;
    }

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

    .comparison-arrow {
        transform: rotate(90deg);
        margin: 1rem auto;
    }

    .ai-content-wrapper {
        grid-template-columns: 1fr;
    }

    .ai-visual {
        order: -1;
        margin-bottom: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 4rem 2rem;
        transition: 0.4s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle,
    .nav-close {
        display: block;
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-form {
        flex-direction: column;
    }

    /* Hide cursor effects on mobile */
    .cursor-glow,
    .cursor-trail {
        display: none !important;
    }

    .chat-interface {
        display: none;
    }

    .hero-visual {
        display: none;
    }
}

/* ===== MOUSE EFFECTS STYLES ===== */

/* Cursor Glow - Main glow that follows mouse */
.cursor-glow {
    position: fixed;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(0, 75, 196, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    mix-blend-mode: screen;
}

/* Cursor Trail - Larger, softer glow that follows slower */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(32, 9, 161, 0.203) 0%, rgba(59, 131, 246, 0.812) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s, opacity 0.4s;
}

/* Cursor hover state - grows when hovering interactive elements */
.cursor-glow.cursor-hover {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, transparent 70%);
}

.cursor-trail.cursor-hover {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(174, 164, 231, 0.25) 0%, rgba(59, 130, 246, 0.12) 40%, transparent 70%);
}

/* Click Ripple Effect */
.click-ripple {
    position: fixed;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9997;
    animation: ripple-expand 0.6s ease-out forwards;
}

@keyframes ripple-expand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

/* Smooth transform transitions for cards */
.service-card,
.case-card,
.comparison-card,
.visual-card,
.chat-interface {
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Enhanced hover glow for cards */
.service-card:hover,
.case-card:hover,
.comparison-card:hover {
    box-shadow:
        var(--shadow-lg),
        0 0 40px rgba(59, 130, 246, 0.15),
        0 0 80px rgba(174, 164, 231, 0.1);
}

/* Magnetic elements need smooth transitions */
.btn,
.nav-link,
.social-links a {
    transition: transform 0.2s ease-out, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Interactive highlight on hover */
.btn:hover {
    box-shadow:
        var(--shadow-md),
        0 0 30px rgba(59, 130, 246, 0.3);
}

/* Spotlight effect for sections */
.hero::after,
.comparison::after,
.services::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(59, 130, 246, 0.03) 0%,
            transparent 50%);
    pointer-events: none;
    z-index: 0;
}