/* ========================================
   Grupo IC - Simple Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-bg: #0F172A;
    --color-surface: #1E293B;
    --color-cyan: #06B6D4;
    --color-cyan-glow: #22D3EE;
    --color-text: #F8FAFC;
    --color-muted: #94A3B8;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-error: #EF4444;
    --color-success: #22C55E;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page Container */
.page-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Background Decorations */
.bg-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.decoration-1 {
    width: 400px;
    height: 400px;
    background: var(--color-cyan);
    opacity: 0.1;
    top: -200px;
    right: -100px;
}

.decoration-2 {
    display:none;
    width: 300px;
    height: 300px;
    background: var(--color-cyan);
    opacity: 0.05;
    bottom: -150px;
    left: -100px;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
}

/* Logo */
.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo {
        height: 100px;
        max-width: 250px;
    }
}

/* Badge */
.badge {
    margin-bottom: 1rem;
}

.badge span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--color-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Title */
.title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.text-gradient {
    display: block;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.subtitle {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1rem;
    }
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--color-cyan) 0%, #0891B2 100%);
    color: white;
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
}

.btn-primary i,
.btn-secondary i {
    width: 18px;
    height: 18px;
}

/* Download Button Container */
.download-btn-container {
    margin-bottom: 2rem;
}

/* Metrics */
.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric {
    text-align: center;
    min-width: 100px;
}

.metric-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-text);
}

.metric-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-item:hover {
    color: var(--color-cyan);
}

.contact-item i {
    width: 18px;
    height: 18px;
    color: var(--color-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.social-links a i {
    width: 20px;
    height: 20px;
}

/* Form Section */
.form-section {
    width: 100%;
}

.form-container {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .form-container {
        padding: 2rem;
    }
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--color-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--color-surface);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

/* Error States */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--color-error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.error-message {
    display: none;
    color: var(--color-error);
    font-size: 0.75rem;
    margin-top: 0.375rem;
    padding-left: 0.25rem;
}

.form-group.has-error .error-message {
    display: block;
}

/* Form Status */
.form-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.form-status.hidden {
    display: none;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--color-success);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--color-error);
}

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

/* Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.hidden {
    display: none;
}

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

/* Footer */
.footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    color: var(--color-muted);
    font-size: 0.75rem;
}

@media (min-width: 1024px) {
    .footer {
        margin-top: 3rem;
    }
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in {
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 0.6s ease forwards;
    animation-delay: 0.3s;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* Selection */
::selection {
    background: rgba(6, 182, 212, 0.3);
    color: var(--color-text);
}

/* Mobile Specific */
@media (max-width: 479px) {
    .metrics {
        justify-content: space-between;
    }
    
    .metric {
        flex: 1;
        min-width: auto;
    }
    
    .metric-number {
        font-size: 1.5rem;
    }
    
    .contact-item span {
        font-size: 0.8rem;
    }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .page-container {
        padding: 2rem;
    }
    
    .content-grid {
        gap: 3rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .content-grid {
        gap: 6rem;
    }
}
