/* ===========================
   OXOEN - Premium Red-Black Theme
   =========================== */

:root {
    /* Colors */
    --primary-red: #DC143C;
    --deep-red: #8B0000;
    --bright-red: #FF0000;
    --pure-black: #000000;
    --charcoal: #1A1A1A;
    --dark-gray: #0D0D0D;
    --white: #FFFFFF;
    --light-gray: #CCCCCC;
    --gray: #666666;

    /* Gradients */
    --gradient-red: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
    --gradient-text: linear-gradient(135deg, #DC143C 0%, #FFFFFF 100%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--pure-black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
    /* Hide default cursor */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   ANIMATED BACKGROUND
   =========================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        var(--pure-black);
}

#particleCanvas {
    width: 100%;
    height: 100%;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 20, 60, 0.1);
    z-index: 10001;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background-image: url('images/logo-dot.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* ===========================
   BUTTONS
   =========================== */
.cta-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(220, 20, 60, 0.6);
}

.primary-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5);
}

.secondary-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.secondary-btn:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: var(--bright-red);
    transform: translateY(-3px) scale(1.05);
}

.secondary-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.nav-cta {
    background: var(--gradient-red);
    color: var(--white);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    /* Heavily favoring the visual for max impact */
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 24px;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--light-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s backwards;
}

.hero-cta .cta-btn {
    position: relative;
    overflow: hidden;
}

.hero-cta .cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-cta .cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '%';
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-box {
    width: 100%;
    max-width: 850px;
    aspect-ratio: 16/11;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.15) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(220, 20, 60, 0.35);
    animation: float 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.5s ease;
}

.hero-visual-box:hover img {
    transform: scale(1.05);
}


.floating-card {
    position: absolute;
    padding: 24px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.4);
    animation-play-state: paused;
}

.card-1 {
    top: 50px;
    left: 50px;
}

.card-2 {
    top: 200px;
    right: 50px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 100px;
    left: 100px;
    animation-delay: 2s;
}

.card-icon {
    font-size: 32px;
}

.card-text {
    font-weight: 600;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-25px) rotate(-2deg);
    }

    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(220, 20, 60, 0.6), 0 0 60px rgba(220, 20, 60, 0.3);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(-45deg) translateY(0);
    }

    50% {
        transform: rotate(-45deg) translateY(10px);
    }
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services {
    padding: var(--section-padding);
}

/* Horizontal Scrolling Services */
.horizontal-services {
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
}

.scroll-indicator-inline {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.6;
    z-index: 10;
}

.scroll-indicator-inline span {
    font-size: 11px;
    color: var(--light-gray);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.scroll-indicator-inline svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-red);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.center-card {
    position: relative;
}

.horizontal-services-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--charcoal);
}

.horizontal-services-track::-webkit-scrollbar {
    height: 8px;
}

.horizontal-services-track::-webkit-scrollbar-track {
    background: var(--charcoal);
    border-radius: 50px;
}

.horizontal-services-track::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 50px;
}

.horizontal-service-card {
    min-width: 350px;
    max-width: 350px;
    padding: 40px;
    background: var(--charcoal);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    flex-shrink: 0;
}

.horizontal-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.4);
}

.horizontal-service-card .service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 50px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.horizontal-service-card:hover .service-icon {
    background: var(--gradient-red);
    transform: scale(1.1) rotate(5deg);
}

.horizontal-service-card .service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-red);
}

.horizontal-service-card:hover .service-icon svg {
    stroke: var(--white);
}

.horizontal-service-card .service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.horizontal-service-card .service-description {
    color: var(--light-gray);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 15px;
}

.horizontal-service-card .service-features {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}

.horizontal-service-card .service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--light-gray);
    font-size: 14px;
}

.horizontal-service-card .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
}

.horizontal-service-card .service-btn {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.horizontal-service-card .service-btn:hover {
    background: var(--gradient-red);
    transform: translateY(-2px);
}

/* Regular Grid Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Colorful Services Grid */
.colorful-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 300px);
    gap: 25px;
    margin-top: 60px;
}

.colorful-service-card {
    border-radius: 50px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.colorful-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.colorful-service-card:hover::before {
    opacity: 1;
}

.colorful-service-card.large {
    grid-column: span 2;
}

.colorful-service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 70px rgba(220, 20, 60, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-label {
    position: relative;
    z-index: 2;
    margin-bottom: auto;
}

.service-label h3 {
    font-size: 28px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.colorful-service-card:hover .service-label h3 {
    transform: translateX(5px);
    letter-spacing: 1.5px;
}

.service-mockup {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 45%;
    height: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-mockup svg {
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.colorful-service-card:hover .service-mockup {
    opacity: 0.35;
    transform: scale(1.15) rotate(3deg);
    bottom: 25px;
    right: 25px;
}

.colorful-service-card:hover .service-mockup svg {
    stroke: rgba(255, 255, 255, 0.9);
}

.mockup-placeholder {
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.services-cta {
    text-align: center;
    margin-top: 70px;
}

.large-btn {
    padding: 20px 55px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.5);
    transition: all 0.3s ease;
}

.large-btn:hover {
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.7);
    transform: translateY(-3px);
}



.service-card {
    padding: 40px;
    background: var(--charcoal);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.3);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
    border-color: var(--primary-red);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--gradient-red);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 50px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-red);
}

.service-card:hover .service-icon {
    animation: iconGlow 1s ease;
}

@keyframes iconGlow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(220, 20, 60, 0);
    }

    50% {
        box-shadow: 0 0 30px rgba(220, 20, 60, 0.6);
    }
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--light-gray);
    margin-bottom: 24px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 8px 0;
    color: var(--light-gray);
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
}

.service-btn {
    background: transparent;
    border: none;
    color: var(--primary-red);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}

.service-btn:hover {
    transform: translateX(5px);
}

/* ===========================
   AI DEMO SECTION
   =========================== */
.ai-demo {
    padding: var(--section-padding);
    background: var(--charcoal);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-description {
    color: var(--light-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.chat-window {
    background: var(--pure-black);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.2);
}

.chat-header {
    padding: 20px;
    background: var(--charcoal);
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00FF00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-messages {
    padding: 20px;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--charcoal);
}

.message-content {
    background: var(--charcoal);
    padding: 12px 16px;
    border-radius: 50px;
    max-width: 70%;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: var(--gradient-red);
}

.chat-input {
    display: flex;
    padding: 20px;
    background: var(--charcoal);
    border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--pure-black);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.send-btn {
    margin-left: 12px;
    padding: 12px 16px;
    background: var(--gradient-red);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.send-btn svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.send-btn:hover {
    transform: scale(1.05);
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */
.portfolio {
    padding: var(--section-padding);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    height: 350px;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark-gray) 100%);
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 40px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.view-project {
    padding: 12px 24px;
    background: var(--white);
    color: var(--deep-red);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.view-project:hover {
    transform: scale(1.05);
}

/* ===========================
   PROCESS SECTION
   =========================== */
.process {
    padding: var(--section-padding);
    background: var(--charcoal);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, var(--primary-red) 0%, transparent 100%);
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials {
    padding: var(--section-padding);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    background: var(--charcoal);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 50px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.3);
}

.rating {
    color: var(--primary-red);
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 50%;
    font-weight: 700;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
}

/* ===========================
   CONTACT FORM SECTION
   =========================== */
.contact-section {
    padding: var(--section-padding);
    background: var(--charcoal);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-description {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-features {
    margin-bottom: 40px;
}

.contact-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-feature .feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.feature-text p {
    color: var(--gray);
    font-size: 14px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(220, 20, 60, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 50px;
    transition: var(--transition);
}

.contact-detail-item:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: var(--primary-red);
}

.contact-detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.contact-detail-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail-item a:hover {
    color: var(--primary-red);
}

.contact-form-wrapper {
    background: var(--pure-black);
    padding: 40px;
    border-radius: 50px;
    border: 1px solid rgba(220, 20, 60, 0.2);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.1);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--charcoal);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--charcoal);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.form-checkbox label {
    font-size: 14px;
    color: var(--light-gray);
    cursor: pointer;
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 18px;
    position: relative;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 13px;
    margin-top: -8px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    padding: 80px 0 40px;
    background: var(--pure-black);
    border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-description {
    color: var(--light-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 50px;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-red);
    border-color: transparent;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(220, 20, 60, 0.1);
    color: var(--gray);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-red);
}

/* ===========================
   CHAT WIDGET
   =========================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--gradient-red);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
    transition: var(--transition);
    z-index: 999;
}

.chat-widget:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.7);
}

.chat-widget-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.chat-widget-text {
    font-weight: 600;
    color: var(--white);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .horizontal-service-card {
        min-width: 300px;
        max-width: 300px;
    }

    .colorful-services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .colorful-service-card.large {
        grid-column: span 2;
    }

    .demo-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-service-card {
        min-width: 280px;
        max-width: 280px;
        padding: 30px;
    }

    .colorful-services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }

    .colorful-service-card.large {
        grid-column: span 1;
    }

    .service-label h3 {
        font-size: 20px;
    }

    .mockup-placeholder {
        font-size: 80px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .demo-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-feature {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .chat-widget-text {
        display: none;
    }

    .chat-widget {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}