/* ==========================================
   Variables CSS
   ========================================== */
:root {
    --primary-green: #67ad2b;
    --dark-green: #5a9624;
    --light-green: #7bc63f;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fdf3;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e5e5e5;
    --shadow-sm: rgba(0, 0, 0, 0.05);
    --shadow-md: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(103, 173, 43, 0.2);
}

/* ==========================================
   Reset y Base
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   Container
   ========================================== */
.coming-soon-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   Header
   ========================================== */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-header {
    max-width: 1400px;
    margin: 0 auto;
}

.logo-flag-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

/* Bandera de Colombia */
.colombia-flag {
    display: flex;
    flex-direction: column;
    width: 40px;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.flag-stripe {
    width: 100%;
}

.flag-stripe.yellow {
    height: 50%;
    background: #FCD116;
}

.flag-stripe.blue {
    height: 25%;
    background: #003893;
}

.flag-stripe.red {
    height: 25%;
    background: #CE1126;
}

/* ==========================================
   Main Content
   ========================================== */
.main-content {
    flex: 1;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

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

/* ==========================================
   Text Section
   ========================================== */
.text-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    border-radius: 50px;
    width: fit-content;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--shadow-lg);
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.2rem;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0;
}

.main-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.main-subtitle strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* ==========================================
   Features Grid
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    padding: 25px;
    background: white;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-icon.cangu-logo-icon {
    font-size: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon.cangu-logo-icon img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tarjeta destacada para CanGú */
.feature-card.highlight-card {
    background: linear-gradient(135deg, rgba(103, 173, 43, 0.08) 0%, rgba(103, 173, 43, 0.03) 100%);
    border-color: var(--primary-green);
    grid-column: 1 / -1;
}

.feature-card.highlight-card h3 {
    color: var(--primary-green);
    font-size: 1.25rem;
}

.feature-card.highlight-card:hover {
    background: linear-gradient(135deg, rgba(103, 173, 43, 0.12) 0%, rgba(103, 173, 43, 0.05) 100%);
    border-color: var(--dark-green);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.cta-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Newsletter Form */
.newsletter-form {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 10px;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(103, 173, 43, 0.1);
}

.submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-lg);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.form-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9375rem;
    display: none;
}

.form-message.success {
    background: rgba(103, 173, 43, 0.1);
    color: var(--dark-green);
    border: 1px solid var(--primary-green);
}

/* Social Links */
.social-links {
    text-align: center;
}

.social-title {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-md);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
    color: white;
}

.social-icon.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.social-icon.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

/* ==========================================
   Visual Section
   ========================================== */
.visual-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-logo {
    position: relative;
    z-index: 2;
}

.main-logo {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(103, 173, 43, 0.3));
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(103, 173, 43, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

.item-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.item-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.item-3 {
    bottom: 25%;
    left: 8%;
    animation-delay: 2s;
}

.item-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

.item-5 {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.item-6 {
    top: 55%;
    right: 5%;
    animation-delay: 5s;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--bg-secondary);
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 5px 0;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.separator {
    margin: 0 10px;
    color: var(--text-muted);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .main-title {
        font-size: 3rem;
    }

    .main-logo {
        width: 300px;
    }
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .visual-section {
        order: -1;
        min-height: 400px;
    }

    .visual-container {
        height: 400px;
    }

    .main-logo {
        width: 250px;
    }

    .float-item {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 20px;
    }

    .logo-flag-container {
        gap: 15px;
    }

    .brand-logo {
        height: 35px;
        max-width: 160px;
    }

    .colombia-flag {
        width: 32px;
        height: 24px;
    }

    .main-content {
        padding: 40px 20px;
    }

    .main-title {
        font-size: 2.25rem;
    }

    .main-subtitle {
        font-size: 1.125rem;
    }

    .cta-section {
        padding: 30px 25px;
    }

    .input-group {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.875rem;
    }

    .main-subtitle {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.8125rem;
        padding: 8px 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .cta-section {
        padding: 25px 20px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .visual-container {
        height: 350px;
    }

    .main-logo {
        width: 200px;
    }

    .float-item {
        font-size: 2rem;
    }

    .footer {
        padding: 25px 20px;
    }
}

/* ==========================================
   Accessibility
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
