/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #000000;
    --color-text: #FFFFFF;
    --color-accent: #FF6A00;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    --container-max: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    z-index: 1001;
}

.logo-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    pointer-events: auto;
    transition: opacity 0.2s ease;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active,
.logo-link:visited {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    background: none;
    border: none;
    opacity: 0.8;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a.nav-cta {
    color: var(--color-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Navigation Styles */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px var(--spacing-lg) var(--spacing-lg);
        gap: var(--spacing-md);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: var(--spacing-sm) 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a.nav-cta {
        background: var(--color-accent);
        color: var(--color-bg);
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: 8px;
        text-align: center;
        border: none;
        margin-top: var(--spacing-sm);
    }

    .nav-links a.nav-cta::after {
        display: none;
    }

    .nav-links a:hover::after {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-xxl) + 80px) 0 var(--spacing-xxl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* AI Background */
.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.ai-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 106, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 106, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 30%, rgba(255, 106, 0, 0.08) 0%, transparent 50%);
    animation: gradientMove 20s ease infinite;
    opacity: 0.6;
}

.ai-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 106, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 0, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite;
    opacity: 0.5;
}

.ai-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@keyframes gradientMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(5%, 5%) scale(1.1);
    }
    66% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subheadline {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

/* AI Agents Section */
.ai-agents {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.ai-agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: var(--spacing-lg);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.service-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Digital Marketing Services Section */
.services {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.01);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-item {
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }
.service-item:nth-child(7) { animation-delay: 0.7s; }

.service-item:hover {
    padding-left: calc(var(--spacing-lg) + 8px);
    border-bottom-color: rgba(255, 106, 0, 0.3);
}

.service-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.service-item-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Stats/Metrics Section */
.stats {
    padding: var(--spacing-xl) 0;
    background: rgba(255, 106, 0, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Us Section */
.about {
    padding: var(--spacing-xxl) 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    text-align: left;
}

.about-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.about-feature p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Portfolio/Case Studies Section */
.portfolio {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.01);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-top: var(--spacing-sm);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: var(--spacing-lg);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }

.portfolio-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.portfolio-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.portfolio-metrics {
    display: flex;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xxl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: var(--spacing-lg);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-item:nth-child(1) { animation-delay: 0.1s; }
.testimonial-item:nth-child(2) { animation-delay: 0.2s; }
.testimonial-item:nth-child(3) { animation-delay: 0.3s; }

.testimonial-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--color-accent);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Contact Form Section */
.contact {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.01);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info {
    padding-right: var(--spacing-lg);
}

.contact-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
}

.contact-detail svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-detail span {
    font-size: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-secondary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF6A00' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

@media (max-width: 480px) {
    .form-group select {
        background-position: right 0.75rem center;
        padding-right: 2.5rem;
        background-size: 10px;
    }
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9375rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        padding: var(--spacing-sm) 0;
    }

    .logo {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .nav {
        padding: var(--spacing-sm) 0;
    }

    .tags-section {
        padding: var(--spacing-sm) 0;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin: 0 0.25rem;
    }

    .tags-row-1 {
        animation: scrollLeft 30s linear infinite;
    }

    .tags-row-2 {
        animation: scrollRight 35s linear infinite;
    }

    .tags-row-3 {
        animation: scrollLeft 40s linear infinite;
    }

    .hero {
        padding: calc(var(--spacing-xl) + 70px) 0 var(--spacing-xl);
        min-height: auto;
    }

    .ai-gradient {
        opacity: 0.4;
    }

    .ai-grid {
        opacity: 0.3;
        background-size: 60px 60px;
    }

    .ai-canvas {
        opacity: 0.2;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: var(--spacing-sm);
    }

    .hero-subheadline {
        font-size: clamp(1rem, 4vw, 1.125rem);
        margin-bottom: var(--spacing-md);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: var(--spacing-sm);
    }

    .section-subtitle {
        font-size: clamp(0.9375rem, 3vw, 1rem);
    }

    .ai-agents-grid,
    .services-grid,
    .stats-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    .stats {
        padding: var(--spacing-lg) 0;
    }

    .stat-number {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .service-card,
    .service-item,
    .portfolio-item,
    .testimonial-item {
        padding: var(--spacing-md);
    }

    .service-title,
    .service-item-title,
    .portfolio-title {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    .service-description,
    .service-item-description,
    .portfolio-description {
        font-size: 0.9375rem;
    }

    .about {
        padding: var(--spacing-xl) 0;
    }

    .about-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
        text-align: center;
    }

    .about-feature h4 {
        font-size: 1.125rem;
    }

    .about-feature p {
        font-size: 0.9375rem;
    }

    .portfolio {
        padding: var(--spacing-xl) 0;
    }

    .portfolio-metrics {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .testimonials {
        padding: var(--spacing-xl) 0;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .contact {
        padding: var(--spacing-xl) 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .contact-details {
        align-items: center;
        gap: var(--spacing-sm);
    }

    .contact-form {
        padding: var(--spacing-md);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .footer-nav {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .footer-nav a {
        font-size: 0.875rem;
    }

    .footer-bottom {
        padding-top: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .nav {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.125rem;
    }

    .hero {
        padding: calc(var(--spacing-lg) + 60px) 0 var(--spacing-lg);
    }

    .hero-headline {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
        line-height: 1.2;
    }

    .hero-subheadline {
        font-size: clamp(0.9375rem, 4vw, 1rem);
        line-height: 1.5;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .service-card,
    .service-item,
    .portfolio-item,
    .testimonial-item {
        padding: var(--spacing-sm);
        border-radius: 16px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--spacing-sm);
    }

    .stat-number {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .portfolio-metrics {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

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

    .metric-label {
        font-size: 0.75rem;
    }

    .contact-form {
        padding: var(--spacing-sm);
        border-radius: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .testimonial-text {
        font-size: 0.9375rem;
    }

    .about-description {
        font-size: 0.9375rem;
    }
}

@media (max-width: 360px) {
    .nav-links {
        width: 100%;
        max-width: 100%;
    }

    .hero-ctas {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
    }
}

/* Animated Tags Section */
.tags-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) 0;
    z-index: 100;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    overflow: hidden;
    width: 100%;
}

.tags {
    display: flex;
    white-space: nowrap;
    margin: 0;
    width: 100%;
}

.tags-row-1 {
    animation: scrollLeft 40s linear infinite;
}

.tags-row-2 {
    animation: scrollRight 45s linear infinite;
}

.tags-row-3 {
    animation: scrollLeft 50s linear infinite;
}

.tag {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.25rem;
    margin: 0 var(--spacing-xs);
    border-radius: 50px;
    cursor: default;
    transition: var(--transition-smooth);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.tag:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.05);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Mobile Menu Overlay */
@media (max-width: 968px) {
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        animation: fadeIn 0.3s ease forwards;
    }

    .nav-links {
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

