:root {
    --bg-color: #0a0a0f;
    --text-color: #e0e0e0;
    --primary-color: #00f0ff;
    /* Cyan */
    --secondary-color: #7000ff;
    /* Electric Purple */
    --accent-color: #00ff9d;
    /* Neon Green */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Enhanced Glassmorphism for Cards */
.benefit-card,
.service-card,
.review-card,
.cta-content,
.contact-item,
.contact-form,
.about-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto !important;
    /* Force default cursor */
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    margin-bottom: 1.5rem;
    color: #a0a0a0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(112, 0, 255, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(112, 0, 255, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.btn:hover::before {
    left: 100%;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

.section {
    padding: 100px 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
    transition: all var(--transition-speed);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Choose Us Section */
.why-us-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.why-us-list li {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.why-us-list .marker {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    position: relative;
}

.why-us-list .marker::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-speed);
}

.why-us-list li:hover .marker::after {
    transform: scaleX(1);
}

.why-us-list li:hover .marker {
    color: #fff;
}

.why-us-list h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.why-us-list p {
    font-size: 1rem;
    color: #a0a0a0;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

.review-header {
    margin-bottom: 20px;
}

.review-header h4 {
    margin-bottom: 5px;
    color: #fff;
}

.review-header span {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-card p {
    font-style: italic;
    color: #d0d0d0;
    margin-bottom: 0;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.05) 0%, rgba(10, 10, 15, 0) 70%);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 5px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.2);
    backdrop-filter: blur(5px);
    transition: background var(--transition-speed), padding var(--transition-speed), backdrop-filter var(--transition-speed);
}

header.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height var(--transition-speed);
}

header.scrolled .logo img {
    height: 48px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e0e0e0;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a0a0a0;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: #fff;
}

.lang-btn.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: #b0b0b0;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, rgba(10, 10, 15, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 20px;
    transition: transform var(--transition-speed), border-color var(--transition-speed);
    position: relative;
    overflow: hidden;
}

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

.benefit-card .icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: #fff;
    transition: color var(--transition-speed);
}

.benefit-card .icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card:hover .icon {
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #fff;
}

.benefit-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Fix background-clip lint */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(112, 0, 255, 0.1) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-content h2 {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #d0d0d0;
    position: relative;
    z-index: 1;
}

.cta-content .btn {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    /* Distribute items evenly */
    height: 100%;
    /* Ensure it takes full height */
}

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 25px;
    border-radius: 15px;
    flex: 1;
    /* Stretch to fill available height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    margin-bottom: 0;
    color: #e0e0e0;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:nth-of-type(3) {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group textarea {
    min-height: 150px;
    height: 100%;
    resize: vertical;
}

.messengers {
    margin-left: 10px;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--accent-color) !important;
    text-decoration: none;
    transition: background var(--transition-speed), transform 0.2s;
}

.messenger-link svg {
    width: 18px;
    height: 18px;
}

.messenger-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    transform: translateY(-2px);
}

.telegram-link {
    color: #229ED9 !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 20px;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}

/* Hamburger default hidden */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 5px 0;
        transition: 0.3s;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 20px;
    }

    nav ul li {
        margin-left: 0;
    }

    nav ul li a {
        font-size: 1.5rem;
    }
}



.no-scroll {
    overflow: hidden;
}

/* --- Liquid Morphism Styles --- */

/* Animated Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            #0a0a0a 0%,
            #1a0a2e 25%,
            #0a0a0a 50%,
            #16213e 75%,
            #0a0a0a 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    z-index: -2;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' /%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: blob-move 12s infinite ease-in-out;
    mix-blend-mode: screen;
    z-index: -2;
}

.blob1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.3));
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.blob2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), rgba(14, 165, 233, 0.3));
    bottom: 5%;
    right: 10%;
    animation-delay: 3s;
}

.blob3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), rgba(217, 70, 239, 0.3));
    top: 50%;
    right: 5%;
    animation-delay: 6s;
}

.blob4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), rgba(124, 58, 237, 0.3));
    bottom: 20%;
    left: 15%;
    animation-delay: 9s;
}

@keyframes blob-move {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(60px, -60px) scale(1.15) rotate(90deg);
    }

    50% {
        transform: translate(-40px, 50px) scale(0.9) rotate(180deg);
    }

    75% {
        transform: translate(50px, 40px) scale(1.1) rotate(270deg);
    }
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.15;
    animation: float-shape 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.shape1 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.shape2 {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    top: 70%;
    right: 15%;
    animation-delay: 2s;
}

.shape3 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(30deg);
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.15;
    }

    50% {
        transform: translate(30px, -30px) rotate(180deg);
        opacity: 0.25;
    }
}

/* Enhanced Glass Cards (3D Tilt & Deep Glass) */
.benefit-card,
.service-card,
.review-card,
.contact-form,
.contact-item {
    background: rgba(255, 255, 255, 0.03);
    /* Lighter base for better glass effect */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transform-style: preserve-3d;
    /* Enable 3D transform */
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    /* Faster transform for tilt */
}

.benefit-card::before,
.service-card::before,
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0.5;
}

.benefit-card:hover,
.service-card:hover,
.review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(99, 102, 241, 0.2);
    /* Transform is handled by JS for tilt */
}