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

:root {
    /* Colors - HubGen Brand */
    --primary-color: #115740;
    --primary-dark: #0a3a2a;
    --primary-light: #1a6b50;
    --secondary-color: #c9a96b;
    --secondary-dark: #a8893f;
    --secondary-light: #dcc48e;
    --accent-color: #c9a96b;
    --text-dark: #2d2d2d;
    --text-light: #5a5a5a;
    --background-light: #f7f6f3;
    --white: #ffffff;
    --gray-100: #f3f2f1;
    --gray-200: #e1dfdd;
    --gray-300: #c8c6c4;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-lg);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--font-size-xl);
}

.nav-logo-img {
    height: 75px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a3a2a 0%, #115740 50%, #1a6b50 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    padding: 120px 0 var(--spacing-2xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.15)"/><circle cx="80" cy="30" r="0.8" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ai-prefix {
    display: block;
    font-size: 1.2rem;
    color: #c9a96b;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #c9a96b, 0 0 10px #c9a96b, 0 0 15px #c9a96b;
    }
    to {
        text-shadow: 0 0 10px #c9a96b, 0 0 20px #c9a96b, 0 0 30px #c9a96b;
    }
}

.highlight {
    color: #c9a96b;
    position: relative;
    background: linear-gradient(120deg, transparent 0%, rgba(201, 169, 107, 0.3) 50%, transparent 100%);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(120deg, #c9a96b 0%, #115740 100%);
    opacity: 0.8;
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ai-highlight {
    color: #c9a96b;
    font-weight: 600;
    position: relative;
}

.ai-highlight::before {
    content: '★';
    margin-right: 4px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #115740, #1a6b50);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(17, 87, 64, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a3a2a, #115740);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 87, 64, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #c9a96b;
    color: #c9a96b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 107, 0.2);
}

/* Hero Graphics */
.hero-graphic {
    position: relative;
    height: 500px;
    width: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 48px rgba(201, 169, 107, 0.3);
}

.floating-card i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #115740, #c9a96b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.floating-card span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-align: center;
}

.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: -1s;
}

.card-2 {
    top: 5%;
    right: 25%;
    animation-delay: -3s;
}

.card-3 {
    top: 35%;
    right: 5%;
    animation-delay: -2s;
}

.card-4 {
    bottom: 25%;
    left: 15%;
    animation-delay: -4s;
}

.card-5 {
    bottom: 35%;
    right: 15%;
    animation-delay: -5s;
}

.card-6 {
    bottom: 10%;
    left: 40%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

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

.section-header h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* AI Innovation Section */
.ai-innovation {
    background: linear-gradient(135deg, #041f12 0%, #0a3a2a 50%, #115740 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.ai-innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(201,169,107,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-10px) translateY(-10px); }
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-text h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.ai-text h2 i {
    color: #c9a96b;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-subtitle {
    color: #c9a96b;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-text p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.85);
}

.ai-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.ai-stat {
    text-align: center;
    flex: 1;
}

.ai-stat h3 {
    font-size: var(--font-size-2xl);
    color: #c9a96b;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(201, 169, 107, 0.5);
}

.ai-stat p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain i {
    font-size: 4rem;
    color: #c9a96b;
    z-index: 2;
    position: relative;
    animation: brainPulse 3s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px #c9a96b);
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px #c9a96b);
    }
}

.ai-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(201, 169, 107, 0.3);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ai-circuits {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, transparent 40%, rgba(201, 169, 107, 0.1) 45%, transparent 50%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Services Section */
.services {
    padding: var(--spacing-2xl) 0;
    background-color: var(--background-light);
}

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

.service-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.ai-featured {
    background: linear-gradient(135deg, #f7faf8 0%, #e8f5e9 100%);
    border: 2px solid rgba(17, 87, 64, 0.3);
    position: relative;
}

.ai-featured::after {
    content: '🤖 AI-POWERED';
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: linear-gradient(135deg, #115740, #c9a96b);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ai-featured .service-icon {
    background: linear-gradient(135deg, #115740, #c9a96b);
    animation: aiGlow 3s ease-in-out infinite;
}

@keyframes aiGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(17, 87, 64, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(201, 169, 107, 0.4);
    }
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-md);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

.about-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.about-text p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.highlight-box {
    background: linear-gradient(135deg, var(--background-light), #e8f5e9);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.highlight-box h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.highlight-box h4 i {
    color: var(--accent-color);
}

.highlight-box p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0;
}

.stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.image-placeholder h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

/* Why Choose Section */
.why-choose {
    padding: var(--spacing-2xl) 0;
    background-color: var(--background-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.benefit {
    text-align: center;
    padding: var(--spacing-lg);
}

.benefit i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.benefit h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.benefit p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: var(--spacing-2xl) 0;
}

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

.contact-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.form-group label {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    color: var(--text-light);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: var(--spacing-sm);
    font-size: 0.8rem;
    color: var(--primary-color);
    background-color: var(--white);
    padding: 0 4px;
}

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

/* Footer */
.footer {
    background-color: #0a3a2a;
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-300);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-300);
}

/* Trace4.eu Section */
.trace4-section {
    padding: 6rem 0;
    background: linear-gradient(160deg, #041f12 0%, #0a3a2a 25%, #115740 60%, #1a6b50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.trace4-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 169, 107, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    animation: trace4Pulse 8s ease-in-out infinite;
}

.trace4-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(17, 87, 64, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: trace4Pulse 10s ease-in-out infinite reverse;
}

@keyframes trace4Pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.trace4-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(201, 169, 107, 0.5), transparent),
        radial-gradient(2px 2px at 30% 70%, rgba(201, 169, 107, 0.3), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(201, 169, 107, 0.6), transparent),
        radial-gradient(1px 1px at 70% 50%, rgba(201, 169, 107, 0.4), transparent),
        radial-gradient(2px 2px at 90% 30%, rgba(201, 169, 107, 0.3), transparent),
        radial-gradient(1px 1px at 20% 90%, rgba(201, 169, 107, 0.4), transparent),
        radial-gradient(2px 2px at 80% 80%, rgba(201, 169, 107, 0.2), transparent);
    animation: trace4Float 18s ease-in-out infinite;
}

@keyframes trace4Float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(0.5deg); }
    66% { transform: translateY(-8px) rotate(-0.5deg); }
}

.trace4-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.trace4-badge-wrapper {
    margin-bottom: var(--spacing-lg);
}

.trace4-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a96b, #a8893f);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(201, 169, 107, 0.4);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(201, 169, 107, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(201, 169, 107, 0.7); }
}

.trace4-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(201, 169, 107, 0.3);
}

.trace4-logo-text {
    background: linear-gradient(135deg, #c9a96b, #dcc48e, #c9a96b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trace4-logo-dot {
    color: #dcc48e;
    -webkit-text-fill-color: #dcc48e;
}

.trace4-tagline {
    font-size: 1.6rem;
    color: #c9a96b;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 25px rgba(201, 169, 107, 0.4);
    animation: taglinePulse 4s ease-in-out infinite;
}

@keyframes taglinePulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; text-shadow: 0 0 35px rgba(201, 169, 107, 0.6); }
}

.trace4-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.trace4-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.trace4-highlight {
    background: rgba(201, 169, 107, 0.06);
    border: 1px solid rgba(201, 169, 107, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.trace4-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9a96b, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trace4-highlight:hover::before {
    opacity: 1;
}

.trace4-highlight:hover {
    background: rgba(201, 169, 107, 0.12);
    border-color: rgba(201, 169, 107, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(201, 169, 107, 0.2);
}

.trace4-highlight-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #115740, #c9a96b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 4px 15px rgba(201, 169, 107, 0.4);
    transition: all 0.3s ease;
}

.trace4-highlight:hover .trace4-highlight-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(201, 169, 107, 0.6);
}

.trace4-highlight-icon i {
    font-size: 1.2rem;
    color: white;
}

.trace4-highlight h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.trace4-highlight p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.trace4-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-trace4-primary {
    background: linear-gradient(135deg, #c9a96b, #a8893f);
    color: white;
    box-shadow: 0 4px 25px rgba(201, 169, 107, 0.4);
    font-size: 1.1rem;
    padding: var(--spacing-md) 2.5rem;
    letter-spacing: 0.5px;
}

.btn-trace4-primary:hover {
    background: linear-gradient(135deg, #a8893f, #8c7030);
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(201, 169, 107, 0.5);
}

.btn-trace4-outline {
    background: transparent;
    color: #c9a96b;
    border: 2px solid rgba(201, 169, 107, 0.5);
    font-size: 1.1rem;
    padding: var(--spacing-md) 2.5rem;
    letter-spacing: 0.5px;
}

.btn-trace4-outline:hover {
    background: rgba(201, 169, 107, 0.1);
    border-color: #c9a96b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 107, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .ai-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .trace4-highlights {
        grid-template-columns: 1fr 1fr;
    }
    
    .trace4-title {
        font-size: 3.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: var(--spacing-xl);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero-graphic {
        height: 350px;
        margin-top: var(--spacing-xl);
    }
    
    .floating-card {
        padding: var(--spacing-sm);
        transform: scale(0.9);
    }
    
    .floating-card i {
        font-size: 1.4rem;
    }
    
    .floating-card span {
        font-size: 0.75rem;
    }
    
    .card-5, .card-6 {
        display: none;
    }
    
    .ai-brain {
        width: 150px;
        height: 150px;
    }
    
    .ai-brain i {
        font-size: 3rem;
    }
    
    .ai-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
    }
    
    .hero {
        padding: 100px 0 var(--spacing-xl);
    }
    
    .hero-title {
        font-size: var(--font-size-xl);
    }
    
    .section-header h2 {
        font-size: var(--font-size-xl);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-card {
        padding: var(--spacing-sm);
    }
    
    .floating-card i {
        font-size: 1.5rem;
    }
    
    .floating-card span {
        font-size: 0.8rem;
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}