/* Techline T.I. Design System - Vanilla CSS */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    /* Core Brand Colors */
    --tech-black: #000000;
    --tech-dark-blue: #0A1A3F;
    --tech-light-gray: #F2F2F2;
    --tech-white: #FFFFFF;
    --tech-green: #28A745;
    
    /* Gradients */
    --gradient-tech: linear-gradient(135deg, #000000, #0A1A3F);
    --gradient-subtle: linear-gradient(180deg, rgba(10, 26, 63, 0.9), rgba(0, 0, 0, 0.9));
    
    /* Shadows & Effects */
    --shadow-tech: 0 10px 30px -10px rgba(10, 26, 63, 0.3);
    --shadow-glow: 0 0 40px rgba(40, 167, 69, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Text Utilities */
.text-green { color: var(--tech-green); }
.text-white { color: var(--tech-white); }
.text-black { color: var(--tech-black); }

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-cta {
    background: var(--tech-green);
    color: var(--tech-white);
    box-shadow: var(--shadow-glow);
}

.btn-cta:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-tech);
}

.btn-cta-outline {
    background: transparent;
    color: var(--tech-white);
    border: 2px solid var(--tech-white);
}

.btn-cta-outline:hover {
    background: var(--tech-white);
    color: var(--tech-dark-blue);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-pulse {
    animation: pulse-glow 2s infinite;
}

.btn-icon-only {
    width: 48px;
    height: 48px;
    padding: 0;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
    max-width: 768px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 60px rgba(40, 167, 69, 0.6); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0, -10px, 0); }
    70% { transform: translate3d(0, -5px, 0); }
    90% { transform: translate3d(0, -2px, 0); }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.animate-fade-in { animation: fade-in 0.6s ease-out; }
.animate-slide-up { animation: slide-up 0.8s ease-out; }
.animate-scale-in { animation: scale-in 0.6s ease-out; }
.animate-bounce { animation: bounce 2s infinite; }

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--tech-green);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.particle-1 {
    top: 80px;
    left: 40px;
    width: 8px;
    height: 8px;
    opacity: 0.6;
}

.particle-2 {
    top: 160px;
    right: 80px;
    width: 4px;
    height: 4px;
    opacity: 0.4;
    animation: ping 2s infinite;
}

.particle-3 {
    bottom: 128px;
    left: 25%;
    width: 6px;
    height: 6px;
    opacity: 0.5;
}

.particle-4 {
    bottom: 80px;
    right: 33%;
    width: 4px;
    height: 4px;
    opacity: 0.3;
    animation: ping 2s infinite;
}

.hero-logo {
    margin-bottom: 32px;
    text-align: center;
}

.logo-img {
    height: 96px;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    margin-bottom: 24px;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--tech-white);
    margin-bottom: 16px;
    line-height: 1.1;
}

.title-gradient {
    background: linear-gradient(45deg, var(--tech-white), var(--tech-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-white {
    color: var(--tech-white);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 896px;
    margin: 0 auto;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.hero-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 768px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--tech-green);
    margin: 0 auto 8px;
}

.service-card p {
    color: var(--tech-white);
    font-size: 14px;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--tech-green);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 12px;
    background: var(--tech-green);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* About Section */
.about-section {
    background: var(--tech-dark-blue);
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--tech-white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-text {
    margin-bottom: 32px;
}

.about-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.key-points {
    margin-bottom: 32px;
}

.key-point {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.point-icon {
    width: 24px;
    height: 24px;
    color: var(--tech-green);
    flex-shrink: 0;
}

.key-point span {
    color: var(--tech-white);
    font-size: 1rem;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-tech);
}

.image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.floating-stat {
    position: absolute;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.stat-1 {
    bottom: -24px;
    right: -24px;
    background: var(--tech-green);
    color: var(--tech-white);
    box-shadow: var(--shadow-glow);
}

.stat-2 {
    top: -24px;
    left: -24px;
    background: var(--tech-white);
    color: var(--tech-black);
    box-shadow: var(--shadow-card);
    animation-delay: 2s;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Services Section */
.services-section {
    background: var(--tech-light-gray);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.service-card-full {
    background: var(--tech-white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.service-card-full:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-tech);
}

.service-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-full:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.service-icon-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
}

.service-icon-overlay svg {
    width: 32px;
    height: 32px;
    color: var(--tech-green);
}

.service-content {
    padding: 24px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tech-black);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.service-card-full:hover .service-title {
    color: var(--tech-green);
}

.service-description {
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 8px;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--tech-green);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-btn {
    width: 100%;
    transition: var(--transition-smooth);
}

.service-card-full:hover .service-btn {
    background: var(--tech-green);
    color: var(--tech-white);
}

.services-cta {
    text-align: center;
}

.cta-card {
    background: var(--gradient-tech);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-tech);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tech-white);
    margin-bottom: 16px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), url('./assets/security.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    overflow: hidden;
}

.benefits-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 12px;
    height: 100%;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(40, 167, 69, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    background: rgba(40, 167, 69, 0.3);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--tech-green);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tech-white);
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-title {
    color: var(--tech-green);
}

.benefit-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 24px;
}

.benefit-line {
    width: 48px;
    height: 2px;
    background: var(--tech-green);
    border-radius: 2px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-line {
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tech-green);
    margin-bottom: 8px;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    background: var(--tech-dark-blue);
    padding: 80px 0;
}

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

.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tech-white);
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--tech-white);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--tech-green);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

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

.form-submit {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(40, 167, 69, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--tech-green);
}

.contact-label {
    font-weight: 600;
    color: var(--tech-white);
    margin-bottom: 4px;
}

.contact-value {
    color: rgba(255, 255, 255, 0.8);
    word-break: break-all;
}

.social-section {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
}

.social-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tech-white);
    margin-bottom: 16px;
}

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

.emergency-contact {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 12px;
    padding: 24px;
}

.emergency-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.emergency-icon {
    width: 24px;
    height: 24px;
    color: var(--tech-green);
}

.emergency-title {
    font-weight: 600;
    color: var(--tech-white);
}

.emergency-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.emergency-btn {
    width: 100%;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 56px;
    height: 56px;
    background: var(--tech-green);
    color: var(--tech-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
    animation: pulse-glow 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    background: var(--tech-green);
    animation: ping 2s infinite;
    pointer-events: none;
}

.ring-1 {
    inset: 0;
    opacity: 0.2;
}

.ring-2 {
    inset: 8px;
    opacity: 0.3;
    animation-delay: 0.5s;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-services {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Dynamic Particles */
.benefits-particles .dynamic-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--tech-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.4;
}

/* Additional Utility Classes */
.hidden { display: none; }
.visible { display: block; }

/* Focus States for Accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--tech-green);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .scroll-indicator,
    .hero-particles,
    .benefits-particles {
        display: none;
    }
}