/* ==========================================================================
   IntelliQ - Main Styles
   Estilos principais para o site da IntelliQ
   ========================================================================== */

/* Variáveis */
:root {
    /* Cores */
    --primary-purple: #8B5CF6;
    --primary-blue: #06B6D4;
    --primary-orange: #F97316;
    --neon-green: #10F470;
    
    --dark-bg: #0A0A0F;
    --dark-bg-lighter: #12121A;
    --dark-bg-lightest: #1A1A25;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-tertiary: #71717A;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    --gradient-secondary: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
    --gradient-tertiary: linear-gradient(135deg, var(--primary-blue), var(--neon-green));
    
    /* Tipografia */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Sora', sans-serif;
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Bordas */
    --border-radius: 12px;
    --border-radius-sm: 6px;
    --border-radius-lg: 24px;
    
    /* Sombras */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transições */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-fast: all 0.15s ease;
    
    /* Z-index */
    --z-negative: -1;
    --z-normal: 1;
    --z-elevated: 10;
    --z-navbar: 100;
    --z-modal: 1000;
    --z-preloader: 9999;
}

/* Reset e Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.loaded {
    overflow-y: auto;
}

body.no-webgl .floating-elements {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
}

input, textarea, select {
    font-family: var(--font-body);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Seções */
.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-preloader);
}

#preloader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loader-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.loader-progress {
    width: 300px;
    height: 4px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.loader-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Cursor Personalizado */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: var(--z-modal);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.cursor-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

/* WebGL Background */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-negative);
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: var(--z-navbar);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

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

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-line {
    overflow: hidden;
    display: block;
}

.hero-line:nth-child(1) {
    color: var(--primary-purple);
}

.hero-line:nth-child(2) {
    color: var(--primary-blue);
}

.hero-line:nth-child(4) {
    color: var(--primary-orange);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.floating-element.purple {
    width: 300px;
    height: 300px;
    background-color: rgba(139, 92, 246, 0.3);
    top: 20%;
    right: 10%;
    animation: float1 20s ease-in-out infinite;
}

.floating-element.blue {
    width: 250px;
    height: 250px;
    background-color: rgba(6, 182, 212, 0.3);
    top: 60%;
    right: 20%;
    animation: float2 15s ease-in-out infinite;
}

.floating-element.orange {
    width: 200px;
    height: 200px;
    background-color: rgba(249, 115, 22, 0.3);
    top: 40%;
    right: 30%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-30px, 30px);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(40px, -40px);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-20px, -30px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about {
    background-color: rgba(10, 10, 15, 0.5);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(139, 92, 246, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
}

.about-card:hover::before,
.about-card:hover::after {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-list li i {
    color: var(--primary-blue);
    margin-right: 0.75rem;
}

/* Services Section */
.services {
    position: relative;
}

.services-container {
    position: relative;
    padding: 2rem 0;
}

.services-swiper {
    width: 100%;
    overflow: visible;
}

.service-card {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-purple);
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 15, 0.8);
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(139, 92, 246, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: var(--primary-purple);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-purple);
    opacity: 1;
}

/* Stats Section */
.stats {
    background: rgba(10, 10, 15, 0.5);
    padding: var(--spacing-lg) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    display: inline-block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.stats-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.stats-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stats-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Portfolio Section */
.portfolio {
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: rgba(10, 10, 15, 0.8);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-tags {
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.portfolio-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-purple);
    font-weight: 500;
}

.portfolio-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.portfolio-link:hover i {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    background: rgba(10, 10, 15, 0.5);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(139, 92, 246, 0.2);
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.author-position {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    pointer-events: none;
}

.form-group label.active {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-purple);
    background: var(--dark-bg-lighter);
    padding: 0 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-purple);
    background: var(--dark-bg-lighter);
    padding: 0 0.5rem;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-purple);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--dark-bg-lighter);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-tagline {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links-column ul {
    list-style: none;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 0.75rem;
}

.footer-links-column ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

/* Media Queries */
@media (max-width: 1200px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease;
    }
    
    .nav-menu.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Performance Mode */
body.performance-low .floating-element,
body.performance-low .cursor,
body.reduced-motion * {
    animation: none !important;
    transition: none !important;
}

body.performance-low #webgl-canvas {
    opacity: 0.5;
}

body.no-webgl #webgl-canvas {
    display: none;
}



/* Logo Symbol Styling */
.logo-symbol {
    height: 30px; /* Adjust as needed */
    margin-right: 10px;
    vertical-align: middle;
}

.footer-logo-symbol {
    height: 25px; /* Adjust as needed */
    margin-right: 8px;
    vertical-align: middle;
}


