:root {
    --bg-color: #050b0c;
    --card-bg: rgba(23, 52, 54, 0.4);
    --primary-color: #00f2ff;
    --secondary-color: #00f2ff;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --font-main: 'Outfit', sans-serif;
    --glass-border: 1px solid rgba(0, 242, 255, 0.1);
    --midnight: #050b0c;
}

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

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 85px;
}

/* ============================================
   AURA GLOW AMBIENT EFFECT
   ============================================ */
.aura-glow {
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.15) 0%, rgba(0, 242, 255, 0.05) 30%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 242, 255, 0.4);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* ============================================
   NAVBAR — FLOATING PILL SHAPE
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px !important;
    height: 60px;
    position: fixed;
    width: 90%;
    max-width: 1100px;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(23, 52, 54, 0.4);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 9999px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar:hover {
    border-color: rgba(0, 242, 255, 0.3);
    background: rgba(23, 52, 54, 0.6);
}

.logo-container {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.main-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.15));
    transition: transform 0.3s ease;
}

.navbar-brand {
    position: absolute;
    left: 35%;
    transform: translateX(-50%);
    pointer-events: none;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .main-logo {
        height: 40px;
    }

    .brand-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .navbar-brand {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* ============================================
   BUTTONS — LIQUID FILL EFFECT
   ============================================ */
.btn-primary {
    padding: 14px 32px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 9999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 300%;
    background: var(--primary-color);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%) scale(0) rotate(45deg);
    z-index: -1;
    border-radius: 40%;
}

.btn-primary:hover::after {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.btn-primary:hover {
    color: var(--midnight);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    border: none;
    border-radius: 9999px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5% 0 4%;
    position: relative;
    overflow: hidden;
    background-attachment: scroll;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 11, 12, 0.85) 0%, rgba(5, 11, 12, 0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title,
.hero-subtitle,
.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-section.hero-active .hero-overlay {
    opacity: 1;
}

.hero-section.hero-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-section.hero-active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero-section.hero-active .hero-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 242, 255, 0.3);
    bottom: 0;
    right: 0;
    animation-delay: -3s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
    opacity: 0.15;
}

@keyframes float {

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

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 0.95;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-style: italic;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #00f2ff 50%, #fff 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ============================================
   GLASS CARD — TEAL TINTED ETHEREAL
   ============================================ */
.glass-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 1rem;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    border-color: rgba(0, 242, 255, 0.4);
    background: rgba(23, 52, 54, 0.6);
}

/* ============================================
   SECTIONS — GENERAL
   ============================================ */
section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-style: italic;
}

.section-title-left {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-style: italic;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.solutions-title {
    font-size: 2.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #00f2ff 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-style: italic;
}

.solutions-hook {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
    border-left: 2px solid rgba(0, 242, 255, 0.3);
    padding-left: 20px;
    padding: 20px;
    border-radius: 0 1rem 1rem 0;
    background: rgba(0, 242, 255, 0.03);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

/* Solution cards — clean teal glass */
.solution-item {
    padding: 32px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    border: 1px solid rgba(0, 242, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.solution-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.4);
    background: rgba(23, 52, 54, 0.6);
}

.solution-item h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: #fff;
}

.solution-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.solution-item ul {
    list-style: none;
    margin-top: 12px;
    padding-left: 0;
}

.solution-item ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
}

.solution-item ul li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.solution-item strong {
    color: #fff;
}

/* Solutions Footer */
.solutions-footer {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    border: 1px solid rgba(0, 242, 255, 0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.solutions-footer:hover {
    border-color: rgba(0, 242, 255, 0.4);
    background: rgba(23, 52, 54, 0.6);
    transform: translateY(-5px);
}

.solutions-footer h4 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-style: italic;
    color: #fff;
}

.solutions-footer p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 16px auto;
}

.solutions-footer strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.profile-img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(0, 242, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    filter: grayscale(20%) contrast(1.1);
    transition: all 0.5s ease;
}

.profile-img:hover {
    filter: grayscale(0%) contrast(1);
    border-color: rgba(0, 242, 255, 0.3);
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.about-text-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.features-list {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    border-top: 1px solid rgba(0, 242, 255, 0.08);
    padding-top: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(0, 242, 255, 0.08);
    padding: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 255, 0.15);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ============================================
   TECHNICAL SECTION
   ============================================ */
.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tech-card {
    padding: 32px;
    border-top: 2px solid rgba(0, 242, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.5);
    border-top-width: 2px;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary-color);
    -webkit-text-fill-color: unset;
}

.tech-icon i {
    color: var(--primary-color);
}

/* Reveal Animations */
.reveal-left,
.reveal-bottom,
.reveal-right {
    opacity: 0;
    filter: blur(10px);
    transition:
        opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
    transform: translateX(-120px) scale(0.9);
}

.reveal-bottom {
    transform: translateY(120px) scale(0.9);
}

.reveal-right {
    transform: translateX(120px) scale(0.9);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    filter: blur(0);
}

/* ============================================
   SERVICES / PROJECTS SECTION
   ============================================ */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 255, 0.08);
    cursor: pointer;
    border-radius: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover {
    border-color: rgba(0, 242, 255, 0.4);
    background: rgba(23, 52, 54, 0.6);
    transform: translateY(-8px);
}

.full-width-card {
    grid-column: span 2;
    flex-direction: row;
    align-items: stretch;
}

.full-width-card .project-image-wrapper {
    width: 50%;
    border-bottom: none;
    border-right: 1px solid rgba(0, 242, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.full-width-card .project-img-full {
    height: 100%;
    object-fit: cover;
}

.full-width-card .project-img-placeholder {
    height: 100%;
    width: 100%;
}

/* Project Visual — Image Based */
.project-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 242, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.project-img-full {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.85;
}

.project-card:hover .project-img-full {
    transform: scale(1.03);
    opacity: 1;
}

.project-content {
    padding: 24px;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.project-tagline {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Placeholder specific styles */
.project-img-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 11, 12, 0.8) 0%, rgba(5, 11, 12, 0) 40%);
    pointer-events: none;
    z-index: 1;
}

.coms-visual {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.3) 0%, rgba(253, 29, 29, 0.3) 50%, rgba(252, 176, 69, 0.3) 100%);
}

.redes-visual {
    background: linear-gradient(135deg, rgba(28, 181, 224, 0.3) 0%, rgba(0, 8, 81, 0.3) 100%);
}

.chatbot-visual {
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.3) 0%, rgba(56, 239, 125, 0.3) 100%);
}

.web-visual {
    background: linear-gradient(135deg, rgba(252, 74, 26, 0.3) 0%, rgba(247, 183, 51, 0.3) 100%);
}

.project-icon-bg {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(-15deg) scale(1.5);
}

/* ============================================
   VISION / PHILOSOPHY SECTION
   ============================================ */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.vision-item {
    padding: 32px;
    border-left: 2px solid rgba(0, 242, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.vision-item:hover {
    transform: translateY(-5px);
    border-left-color: var(--primary-color);
    background: rgba(23, 52, 54, 0.6);
}

.vision-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.vision-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to bottom, rgba(0, 242, 255, 0.3), rgba(0, 242, 255, 0.08));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Space Grotesk', sans-serif;
    font-style: italic;
}

.vision-header h3 {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #fff 0%, #00f2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    font-weight: 700;
}

.vision-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.vision-list {
    list-style: none;
    padding: 0;
}

.vision-list li {
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 15px;
    border-left: 1px solid rgba(0, 242, 255, 0.2);
    line-height: 1.6;
}

.vision-list strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}

/* Vision CTA Highlight */
.vision-highlight {
    margin-top: 60px;
    padding: 50px;
    text-align: center;
    position: relative;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    border: 1px solid rgba(0, 242, 255, 0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.vision-highlight:hover {
    border-color: rgba(0, 242, 255, 0.4);
    background: rgba(23, 52, 54, 0.6);
    transform: translateY(-5px);
}

.vision-highlight p {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.5;
}

.vision-cta-signature {
    margin-top: 24px;
}

.metallic-text {
    background: linear-gradient(135deg, #fff 0%, #00f2ff 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.vision-cta-signature h4.metallic-text {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-style: italic;
}

.vision-cta-signature p.phone {
    font-size: 1.5rem;
    font-style: normal;
    letter-spacing: 0.15em;
}

/* ============================================
   RESPONSIVE — 900px
   ============================================ */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-showcase {
        grid-template-columns: 1fr;
    }

    .full-width-card {
        grid-column: span 1;
        flex-direction: column;
    }

    .full-width-card .project-image-wrapper {
        width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 242, 255, 0.05);
    }

    .section-title {
        font-size: 2.2rem;
    }

    .navbar {
        width: 95%;
        padding: 0 20px !important;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.cta-text {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.contact-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(23, 52, 54, 0.4);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 0.75rem;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(23, 52, 54, 0.6);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

textarea {
    height: 150px;
    resize: vertical;
}

button[type="submit"] {
    grid-column: span 2;
    margin-top: 16px;
    font-size: 0.85rem;
}

/* ============================================
   CHATBOT CONTAINER
   ============================================ */
#chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--primary-color);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.1);
    background: rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.chat-widget {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(5, 11, 12, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    padding: 15px;
    background: rgba(0, 242, 255, 0.05);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.05em;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.chat-close:hover {
    color: var(--primary-color);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.message.bot {
    background: rgba(23, 52, 54, 0.6);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: rgba(0, 242, 255, 0.15);
    border: 1px solid rgba(0, 242, 255, 0.2);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid rgba(0, 242, 255, 0.08);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 9999px;
    background: rgba(23, 52, 54, 0.4);
    border: 1px solid rgba(0, 242, 255, 0.1);
    color: #fff;
    font-size: 0.85rem;
}

.chat-input-area input:focus {
    outline: none;
    background: rgba(23, 52, 54, 0.6);
    border-color: rgba(0, 242, 255, 0.3);
}

.chat-input-area button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-input-area button:hover {
    transform: scale(1.1);
}

.typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1s infinite;
}

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

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    button[type="submit"] {
        grid-column: span 1;
    }

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

    .chat-widget {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        transform: translateY(100%);
        z-index: 3000;
    }

    .chat-widget.active {
        transform: translateY(0);
    }

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

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

/* ============================================
   MODAL STYLES
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 12, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    background: rgba(23, 52, 54, 0.8) !important;
    border: 1px solid rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 242, 255, 0.1);
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2001;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    filter: grayscale(30%);
}

.modal-content {
    position: relative;
    z-index: 1;
    padding: 50px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 255, 0.3) transparent;
}

.modal-content::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 255, 0.3);
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s, transform 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #00f2ff 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    font-style: italic;
}

.modal-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 400;
    padding: 0 20px;
}

.modal-section {
    margin-bottom: 32px;
    padding: 0 20px;
}

.modal-section h3 {
    background: linear-gradient(135deg, #fff 0%, #00f2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.modal-section ul {
    list-style: none;
    padding: 0;
}

.modal-section li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.modal-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-section li strong {
    color: #fff;
    font-weight: 600;
}

.modal-description-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: center;
    padding: 0 40px;
}

.modal-highlight-box {
    background: rgba(0, 242, 255, 0.04);
    border: 1px solid rgba(0, 242, 255, 0.12);
    border-radius: 1rem;
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}

.modal-highlight-box h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-highlight-box p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 15px;
    }

    .modal-title {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .modal-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .modal-section h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .modal-section li {
        font-size: 0.9rem;
    }
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-muted);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(5, 11, 12, 0.95);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(0, 242, 255, 0.1);
        border-radius: 1rem;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    /* Mobile Text & Spacing Polish */
    section {
        padding: 60px 5% !important;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem) !important;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem) !important;
    }

    .differential-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
    }

    /* Project List Indentation Fix */
    .project-features li {
        display: flex;
        align-items: flex-start;
        padding-left: 0 !important;
        text-indent: 0 !important;
    }

    .project-features li::before {
        content: '→';
        flex-shrink: 0;
        margin-right: 10px;
        position: static !important;
    }
}

/* ============================================
   GLOW EFFECT (used on hero CTA)
   ============================================ */
.glow-effect {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.glow-effect:hover {
    box-shadow: 0 0 35px rgba(0, 242, 255, 0.35);
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

/* ============================================
   PRIVACY TRIGGER SECTION
   ============================================ */
.privacy-trigger-section {
    padding: 40px 5%;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(0, 242, 255, 0.05);
    border-bottom: 1px solid rgba(0, 242, 255, 0.05);
}

#open-privacy {
    opacity: 0.7;
    font-size: 0.7rem;
}

#open-privacy:hover {
    opacity: 1;
}

#open-privacy i {
    margin-right: 8px;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.main-footer {
    padding: 60px 5% 40px;
    background: rgba(3, 8, 9, 0.95);
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}