/* ===================================
   OVERSEAS TRADING - SOLUÇÕES CSS
   Arquivo: assets/css/solucoes.css
=================================== */

/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-blue: #00d4ff;
    --accent-cyan: #00ffff;
    --accent-green: #39ff14;
    --accent-orange: #ff8c00;
    --accent-purple: #8a2be2;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #888888;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
    --border-color: rgba(0, 212, 255, 0.1);
    --card-hover: rgba(0, 212, 255, 0.05);
    --font-family: 'Inter', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 212, 255, 0.2);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

/* Typography */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.03) 0%, transparent 70%);
    width: 100%;
    overflow: hidden;
    padding: 110px 0 50px;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
    width: 100%;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: block;
}

.feature-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

/* Soluções Section */
.solucoes-section {
    padding: 8rem 0;
    background: var(--secondary-dark);
    width: 100%;
    overflow: hidden;
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

.solucao-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.solucao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.solucao-card:hover::before {
    left: 100%;
}

.solucao-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.solucao-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    position: relative;
    z-index: 2;
}

.solucao-icon svg {
    width: 40px;
    height: 40px;
}

.solucao-card h3 {
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.solucao-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: clamp(0.95rem, 2vw, 1rem);
    position: relative;
    z-index: 2;
}

.solucao-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.solucao-card li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.5;
}

.solucao-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    width: 100%;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.cta-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    color: var(--accent-cyan);
    border: 2px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 255, 255, 0.2) 100%);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.25);
}

.btn-icon {
    font-size: clamp(1rem, 2vw, 1.2rem);
    transition: transform 0.3s ease;
}

.btn-secondary:hover .btn-icon {
    transform: translateX(5px);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solucoes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 85vh;
        padding: 90px 0 35px;
    }
    
    .hero-description {
        margin-bottom: 2.8rem;
    }
    
    .hero-features {
        margin-top: 2.8rem;
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .solucoes-section {
        padding: 4rem 0;
    }
    
    .solucoes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solucao-card {
        padding: 2rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        min-width: 220px;
        justify-content: center;
        padding: 1rem 1.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 75px 0 30px;
        min-height: 80vh;
    }
    
    .hero-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        margin-bottom: 2.3rem;
    }
    
    .hero-features {
        margin-top: 2.3rem;
        gap: 1.2rem;
    }
    
    .feature-card {
        padding: 1.3rem;
    }
    
    .feature-icon {
        font-size: 2.3rem;
        margin-bottom: 1rem;
    }
    
    .solucoes-section {
        padding: 3rem 0;
    }
    
    .solucao-card {
        padding: 1.5rem;
    }
    
    .solucao-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .solucao-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .btn {
        min-width: 200px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-icon {
        font-size: 1rem;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .solucoes-section {
        padding: 3rem 0;
    }
}

/* Performance optimizations */
.solucao-card {
    will-change: transform;
}

.feature-card {
    will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus states for accessibility */
.btn:focus,
.solucao-card:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-section,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .gradient-text {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(0, 212, 255, 0.3);
        --text-secondary: #d0d0d0;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .solucao-card,
    .feature-card {
        backdrop-filter: blur(20px) saturate(180%);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    opacity: 0;
    transform: translateY(100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* WhatsApp Button Positioning */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 12px;
        left: 12px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }

    .whatsapp-float {
        bottom: 12px;
        right: 12px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .whatsapp-float svg {
        width: 18px;
        height: 18px;
    }
}