/* ==========================================
   COLBEC S.Á.R.L. - AI LANDING PAGE STYLES
   ========================================== */

/* === ROOT VARIABLES === */
:root {
    /* Color Palette - All with transparency for particle visibility */
    --deep-space-blue: rgba(10, 17, 40, 0.85);
    --electric-blue: rgba(0, 212, 255, 0.90);
    --cyber-purple: rgba(123, 44, 191, 0.80);
    --neural-pink: rgba(236, 64, 122, 0.75);
    
    --dark-overlay: rgba(0, 0, 0, 0.60);
    --light-overlay: rgba(255, 255, 255, 0.08);
    --text-white: rgba(255, 255, 255, 0.95);
    --text-gray: rgba(176, 176, 176, 0.90);
    
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-hover: rgba(255, 255, 255, 0.04);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max-width: 1200px;
}

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: #000;
    line-height: 1.6;
    overflow-x: hidden;
}

body.particle-background {
    min-height: 100vh;
    position: relative;
}

/* === PARTICLE CANVAS === */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #000000;
}

/* === CONTAINER === */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* === SECTION STYLES === */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 2;
}

/* === GLASSMORPHISM CARDS === */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
}

/* === ADMIN LOGIN BUTTON === */
.admin-login {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 500;
    
    transition: all 0.3s ease;
}

.admin-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--electric-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.company-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: glow 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 212, 255, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* === BUTTONS === */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-blue), var(--cyber-purple));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--electric-blue);
}

#neural-toggle {
    transition: all 0.3s ease;
}

#neural-toggle.active {
    background: linear-gradient(135deg, var(--neural-pink), #dc3545);
    color: white;
}

.btn-full {
    width: 100%;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    font-size: 1.5rem;
}

/* === TYPOGRAPHY === */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--electric-blue), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.section-subtitle.center {
    text-align: center;
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

/* === ABOUT SECTION === */
.about-card {
    max-width: 900px;
    margin: 0 auto;
}

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* === SERVICES SECTION === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* === WHY COLBEC SECTION === */
.why-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--electric-blue), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-card p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* === CONTACT SECTION === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-form,
.contact-info {
    padding: 2.5rem;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

/* === FORM STYLES === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(176, 176, 176, 0.5);
}

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

/* === CONTACT INFO === */
.info-item {
    margin-bottom: 2rem;
}

.info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-white);
    line-height: 1.6;
}

.info-value a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-value a:hover {
    color: var(--cyber-purple);
    text-decoration: underline;
}

/* === FOOTER === */
.footer {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

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

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

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(123, 44, 191, 0.7));
    }
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .admin-login {
        top: 1rem;
        right: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .company-logo {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .services-grid,
    .why-grid-new {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .company-logo {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* === UTILITY CLASSES === */
.center {
    text-align: center;
}

/* === SMOOTH SCROLLING === */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
