/* ===== CSS Variables ===== */
:root {
    /* Dark theme (default) */
    --background: hsl(222.2, 84%, 4.9%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(222.2, 84%, 4.9%);
    --card-foreground: hsl(210, 40%, 98%);
    --popover: hsl(222.2, 84%, 4.9%);
    --popover-foreground: hsl(210, 40%, 98%);
    --primary: hsl(263, 70%, 50%);
    --primary-foreground: hsl(210, 40%, 98%);
    --secondary: hsl(217.2, 32.6%, 17.5%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(217.2, 32.6%, 17.5%);
    --muted-foreground: hsl(215, 20.2%, 65.1%);
    --accent: hsl(217.2, 32.6%, 17.5%);
    --accent-foreground: hsl(210, 40%, 98%);
    --destructive: hsl(0, 62.8%, 30.6%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(217.2, 32.6%, 17.5%);
    --input: hsl(217.2, 32.6%, 17.5%);
    --ring: hsl(263, 70%, 50%);
    --radius: 0.5rem;

    /* Afrofuturist palette */
    --afro-purple: #4B0082;
    --afro-blue: #00BFFF;
    --afro-cyan: #00FFFF;
    --afro-magenta: #FF00FF;
    --afro-gold: #FFD700;
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Light theme */
body.light, html.light {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222.2, 84%, 4.9%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(222.2, 84%, 4.9%);
    --primary: hsl(263, 70%, 50%);
    --primary-foreground: hsl(210, 40%, 98%);
    --secondary: hsl(210, 40%, 96.1%);
    --secondary-foreground: hsl(222.2, 47.4%, 11.2%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --accent: hsl(210, 40%, 96.1%);
    --accent-foreground: hsl(222.2, 47.4%, 11.2%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --input: hsl(214.3, 31.8%, 91.4%);
    --ring: hsl(263, 70%, 50%);
}

/* Dark theme (default) */
body.dark, html.dark {
    --background: hsl(222.2, 84%, 4.9%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(222.2, 84%, 4.9%);
    --card-foreground: hsl(210, 40%, 98%);
    --popover: hsl(222.2, 84%, 4.9%);
    --popover-foreground: hsl(210, 40%, 98%);
    --primary: hsl(263, 70%, 50%);
    --primary-foreground: hsl(210, 40%, 98%);
    --secondary: hsl(217.2, 32.6%, 17.5%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(217.2, 32.6%, 17.5%);
    --muted-foreground: hsl(215, 20.2%, 65.1%);
    --accent: hsl(217.2, 32.6%, 17.5%);
    --accent-foreground: hsl(210, 40%, 98%);
    --destructive: hsl(0, 62.8%, 30.6%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(217.2, 32.6%, 17.5%);
    --input: hsl(217.2, 32.6%, 17.5%);
    --ring: hsl(263, 70%, 50%);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, #a855f7, #3b82f6, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(to right, #4f46e5, #3b82f6);
}

.gradient-bg:hover {
    background: linear-gradient(to right, #6366f1, #60a5fa);
}

.w-full {
    width: 100%;
}

.hero-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Light mode hero pattern */
body.light .hero-pattern {
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
}

/* Light mode hero gradient overlay */
body.light .hero-gradient-overlay {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), var(--background));
}

/* Light mode hero glow */
body.light .hero-glow {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%);
}

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: var(--secondary);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--accent);
}

.btn-ghost {
    background-color: transparent;
    color: inherit;
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-icon {
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.btn-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-icon-right {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

/* ===== Logo Styles ===== */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-wrapper {
    position: relative;
    background: white;
    border-radius: 0.25rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-small {
    width: 8rem;
    height: 2.5rem;
    padding: 0.25rem 0.5rem;
}

.logo-medium {
    width: 12rem;
    height: 3rem;
    padding: 0.375rem 0.75rem;
}

.logo-large {
    width: 16rem;
    height: 4rem;
    padding: 0.5rem 1rem;
}

/* ===== Navbar Styles ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--background);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-actions {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--background);
    z-index: 100;
    transition: right 0.3s ease;
    box-shadow: -4px 0 6px -1px rgba(0, 0, 0, 0.3);
    border-left: 1px solid var(--border);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: var(--foreground);
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(5, 10, 26, 0.5), var(--background));
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-visual {
    position: relative;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-visual.visible {
    opacity: 1;
}

.hero-visual-container {
    position: relative;
    height: 400px;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-visual-container {
        height: 500px;
    }
}

.hero-glow {
    position: absolute;
    width: 16rem;
    height: 16rem;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    filter: blur(48px);
}

.hero-glow-1 {
    top: 0;
    right: 0;
    animation: pulse-glow 5s ease-in-out infinite alternate;
}

.hero-glow-2 {
    bottom: 0;
    left: 0;
    animation: pulse-glow 6s ease-in-out infinite alternate 1s;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.hero-float-animation {
    position: relative;
    height: 100%;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-logo-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    max-width: 20rem;
    background: var(--card);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.hero-logo-image {
    position: relative;
    width: 100%;
    height: 8rem;
    margin-bottom: 1rem;
}

.hero-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-logo-bar {
    height: 0.25rem;
    width: 100%;
    background: linear-gradient(to right, #4f46e5, #3b82f6);
    border-radius: 9999px;
}

.hero-info-card {
    position: absolute;
    background: var(--card);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    max-width: 16rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-info-card-right {
    bottom: -1rem;
    right: -1rem;
}

@media (min-width: 768px) {
    .hero-info-card-right {
        bottom: 1rem;
        right: 1rem;
    }
}

.hero-info-card-left {
    top: -1rem;
    left: -1rem;
}

@media (min-width: 768px) {
    .hero-info-card-left {
        top: 1rem;
        left: 1rem;
    }
}

.hero-info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.hero-info-icon.primary-bg {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary);
}

.hero-info-icon.blue-bg {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.hero-info-content h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.hero-info-content p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background), transparent);
    z-index: 10;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    display: inline;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 2.25rem;
    }
}

.stat-suffix {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    display: inline;
}

@media (min-width: 768px) {
    .stat-suffix {
        font-size: 2.25rem;
    }
}

.stat-label {
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services-section {
    padding: 4rem 0 5rem;
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.service-image {
    position: relative;
    height: 10rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.service-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    flex: 1;
}

.service-features {
    margin-bottom: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.service-features li svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.service-features .more-features {
    color: var(--primary);
    font-weight: 500;
}

/* ===== Clients Section ===== */
.clients-section {
    padding: 3rem 0;
    background: var(--background);
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .clients-grid {
        gap: 5rem;
    }
}

.client-logo {
    position: relative;
    height: 7rem;
    width: 12rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .client-logo {
        width: 14rem;
    }
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    padding: 5rem 0;
    background: var(--background);
}

.portfolio-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .portfolio-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.portfolio-header-text {
    max-width: 32rem;
}

.portfolio-header-text .section-title {
    margin-bottom: 1rem;
    text-align: left;
}

.portfolio-header-text .section-description {
    text-align: left;
    margin: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-card {
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    overflow: hidden;
}

.portfolio-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category-overlay {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.8);
    color: white;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.portfolio-title-overlay {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(79, 70, 229, 0.2), rgba(30, 58, 138, 0.2));
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.cta-container {
    position: relative;
    z-index: 10;
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.cta-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-logo .logo-wrapper {
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    max-width: 20rem;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-block;
    background: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.footer-tagline {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--foreground);
}

.footer-newsletter-text {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--secondary);
    color: var(--foreground);
    font-size: 0.875rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-legal a {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--foreground);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.modal-content {
    padding: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.625rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--secondary);
    color: var(--foreground);
    font-size: 0.875rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Animations ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(20px);
    animation: slideLeft 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideRight 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Page Content Styles ===== */
.page-content {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

.page-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

/* ===== About Page Styles ===== */
.about-section {
    margin-bottom: 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    order: 2;
}

@media (min-width: 768px) {
    .about-text {
        order: 1;
    }
}

.section-subtitle {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.about-paragraph {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    order: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .about-image {
        order: 2;
    }
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Values Section */
.values-section {
    margin-bottom: 5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.value-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.value-description {
    color: var(--muted-foreground);
}

/* Vision Section */
.vision-section {
    margin-bottom: 5rem;
    padding: 3rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.vision-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===== Services Page Styles ===== */
.services-page-grid {
    gap: 2rem;
}

.service-card-full {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-full .service-image {
    height: 12rem;
}

.service-card-full .service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-features-full {
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-features-full h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.service-features-full ul {
    list-style: none;
}

.service-features-full li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.service-features-full li svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* Why Choose Section */
.why-choose-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 2rem auto 0;
}

@media (min-width: 768px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-choose-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.why-choose-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.why-choose-card p {
    color: var(--muted-foreground);
}

/* ===== Clients Page Styles ===== */
.clients-intro {
    max-width: 56rem;
    margin: 0 auto 4rem;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    text-align: center;
}

.industries-section {
    margin-bottom: 3rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.industries-list {
    list-style: none;
}

.industries-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}

.industries-list li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.highlight-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.highlight-box p {
    color: var(--foreground);
    font-size: 1.125rem;
}

.client-logos-section {
    margin-bottom: 4rem;
}

/* Testimonials */
.testimonials-section {
    margin-top: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.testimonial-content {
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-info strong {
    display: block;
    color: var(--foreground);
    font-size: 0.875rem;
}

.author-info span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ===== Contact Page Styles ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .contact-page-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-page-form .form-group {
    margin-bottom: 1rem;
}

.required {
    color: #ef4444;
}

.form-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.office-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .office-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.office-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.office-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.office-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-item p {
    color: var(--foreground);
    font-size: 0.875rem;
    line-height: 1.5;
}

.business-hours-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.business-hours-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hours-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.hours-item strong {
    display: block;
    color: var(--foreground);
    font-size: 0.875rem;
}

.hours-item p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary);
}

/* Text center utility */
.text-center {
    text-align: center;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ANIMATED GRADIENT TEXT ===== */
.gradient-text-animated {
    background: linear-gradient(270deg, #a855f7, #3b82f6, #22d3ee, #a855f7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== GLASSMORPHISM NAVBAR ===== */
.navbar {
    background: rgba(5, 10, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.light .navbar {
    background: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled {
    background: rgba(5, 10, 26, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

body.light .navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== ENHANCED NAV LINK UNDERLINE ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #a855f7, #3b82f6);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== MAGNETIC BUTTON HOVER ===== */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(139, 92, 246, 0.4);
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
}

/* ===== ENHANCED CARD HOVER EFFECTS ===== */
.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.2);
}

.service-card .service-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-card .service-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(139, 92, 246, 0.25);
}

/* ===== STAT CARD GLOW ON HOVER ===== */
.stat-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-card .stat-icon {
    transition: transform 0.4s ease, background 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15);
    background: rgba(139, 92, 246, 0.2);
}

/* ===== PORTFOLIO CARD ENHANCED ===== */
.portfolio-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
}

/* ===== SCROLL REVEAL ANIMATIONS (Enhanced) ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.reveal-rotate {
    opacity: 0;
    transform: perspective(800px) rotateY(15deg) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-rotate.revealed {
    opacity: 1;
    transform: perspective(800px) rotateY(0) translateY(0);
}

/* ===== TYPING CURSOR EFFECT ===== */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--primary);
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== FLOATING PARTICLES CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}

.back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25D366;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 1.25rem;
    z-index: 95;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cookie-consent-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.cookie-consent p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 48rem;
}

.cookie-consent p a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ===== HERO TYPING ANIMATION ===== */
.hero-typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary);
    animation: typewriter 3s steps(30) 1s forwards, blinkCaret 0.75s step-end infinite;
    width: 0;
}

.hero-typewriter.typed {
    width: auto;
    border-right-color: transparent;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCaret {
    0%, 100% { border-color: var(--primary); }
    50% { border-color: transparent; }
}

/* ===== ANIMATED GRADIENT BORDER ===== */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(270deg, #a855f7, #3b82f6, #22d3ee, #a855f7);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* ===== SMOOTH IMAGE REVEAL ===== */
.img-reveal {
    position: relative;
    overflow: hidden;
}

.img-reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.img-reveal.revealed::after {
    transform: scaleX(0);
}

/* ===== TESTIMONIAL CARD ENHANCED ===== */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(139, 92, 246, 0.2);
}

/* ===== VALUE CARD ENHANCED ===== */
.value-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.value-card .value-icon {
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
}

/* ===== FEATURE CARD ENHANCED ===== */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-card .feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

/* ===== WHY CHOOSE CARD ENHANCED ===== */
.why-choose-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

/* ===== OFFICE CARD ENHANCED ===== */
.office-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.15);
}

/* ===== CLIENT LOGO HOVER ===== */
.client-logo {
    filter: grayscale(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo:hover {
    filter: grayscale(0);
    transform: scale(1.08);
}

/* ===== MARQUEE / INFINITE SCROLL CLIENTS ===== */
.clients-marquee {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--background), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--background), transparent);
}

.clients-marquee-track {
    display: flex;
    gap: 5rem;
    animation: marquee 20s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    justify-content: center;
}

.breadcrumb a {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--border);
}

.breadcrumb .current {
    color: var(--foreground);
    font-weight: 500;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 0;
}

.faq-grid {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    font-family: inherit;
    gap: 1rem;
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ===== SMOOTH SECTION DIVIDERS ===== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 0;
}

/* ===== ANIMATED COUNTER ===== */
.stat-value {
    transition: color 0.3s ease;
}

/* ===== CTA SECTION ENHANCED ===== */
.cta-section {
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-glow 6s ease-in-out infinite alternate;
}

/* ===== SMOOTH FOCUS STYLES ===== */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== SOCIAL LINK HOVER ===== */
.social-links .btn-ghost:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-links .btn-ghost {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FOOTER LINK HOVER ===== */
.footer-nav a {
    position: relative;
    display: inline-block;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

/* ===== LMS PLATFORM SHOWCASE ===== */
.lms-showcase {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.lms-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(59, 130, 246, 0.03));
    pointer-events: none;
}

.lms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .lms-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.lms-content {
    position: relative;
    z-index: 1;
}

.lms-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lms-badge i {
    width: 1rem;
    height: 1rem;
}

.lms-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
}

@media (max-width: 768px) {
    .lms-title {
        font-size: 1.75rem;
    }
}

.lms-description {
    font-size: 1.05rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.lms-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lms-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.lms-feature-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.lms-feature-icon i {
    width: 1.1rem;
    height: 1.1rem;
}

.lms-feature-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.lms-feature-icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.lms-feature-icon.green {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.lms-feature-icon.orange {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.lms-feature-icon.cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #06b6d4;
}

.lms-feature-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.15rem;
}

.lms-feature-text p {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.lms-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* LMS Screenshots Carousel */
.lms-screenshots {
    position: relative;
    z-index: 1;
}

.lms-screenshot-carousel {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.15);
}

.lms-screenshot-slide {
    display: none;
    width: 100%;
    animation: lmsFadeIn 0.5s ease;
}

.lms-screenshot-slide.active {
    display: block;
}

.lms-screenshot-slide img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes lmsFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.lms-screenshot-caption {
    padding: 1rem 1.25rem;
    background: var(--card);
    border-top: 1px solid var(--border);
}

.lms-screenshot-caption h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.2rem;
}

.lms-screenshot-caption p {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

/* Carousel Navigation */
.lms-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.lms-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.lms-carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.lms-carousel-dot:hover {
    border-color: var(--primary);
}

.lms-carousel-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lms-carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.lms-carousel-btn i {
    width: 1rem;
    height: 1rem;
}

/* Decorative glow behind screenshots */
.lms-screenshots::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .clients-marquee-track {
        animation: none;
    }
    .page-loader {
        display: none;
    }
}
