/* F-App Suite Hotsite - Modern & Impactful Design */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --bg-dark: #0f0f1a;
    --bg-darker: #080810;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #0ea5e9 50%, #22d3ee 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(14, 165, 233, 0.4) 100%);
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-nav {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(30px, 50px) scale(1.05); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.app-preview {
    perspective: 1000px;
}

.app-window {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: windowFloat 6s ease-in-out infinite;
}

@keyframes windowFloat {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-10px); }
}

.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.window-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.window-content {
    padding: 30px;
}

.workflow-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    opacity: 0.5;
    transition: var(--transition);
}

.workflow-step.active {
    opacity: 1;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.step-icon {
    font-size: 1.5rem;
}

.workflow-step span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.workflow-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    width: 65%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.status-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* Problem Section */
.problem-section {
    padding: 120px 0;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-header.light {
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-section {
    padding: 120px 0 60px;
    background: var(--bg-dark);
}

/* Features Section */
.features-section {
    padding: 60px 0 120px;
    background: var(--bg-dark);
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Feature Visuals */
.visual-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 40px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-files .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.file-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.file-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.file-item.new {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: slideIn 1s ease-out infinite;
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateX(-20px); }
    20% { opacity: 1; transform: translateX(0); }
    100% { opacity: 1; transform: translateX(0); }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.success::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Treatment Card */
.before-after {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.img-placeholder {
    flex: 1;
    height: 120px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.img-placeholder.before {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: var(--text-muted);
}

.img-placeholder.after {
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    color: white;
}

.treatment-arrow {
    font-size: 2rem;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.treatment-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.treatment-stats span {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    color: var(--primary-light);
}

/* Focus Card */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.focus-item {
    height: 100px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.focus-item.ok {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: 2px solid var(--success);
}

.focus-item.blur {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: 2px solid var(--danger);
    filter: blur(1px);
}

.focus-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.focus-item.ok .focus-badge {
    background: var(--success);
    color: white;
}

.focus-item.blur .focus-badge {
    background: var(--danger);
    color: white;
}

/* Faces Card */
.face-detection {
    text-align: center;
}

.face-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: var(--border-radius-sm);
    position: relative;
}

.face-marker {
    position: absolute;
    width: 50px;
    height: 60px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    animation: faceDetect 2s infinite;
}

.face-marker:nth-child(1) {
    top: 30px;
    left: 40px;
}

.face-marker:nth-child(2) {
    top: 50px;
    right: 40px;
    animation-delay: 0.5s;
}

@keyframes faceDetect {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.detection-label {
    color: var(--accent);
    font-weight: 600;
}

/* Upload Card */
.upload-animation {
    text-align: center;
    margin-bottom: 24px;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: uploadBounce 2s infinite;
}

@keyframes uploadBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upload-bars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.upload-bar {
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: uploadBar 1.5s infinite;
    animation-delay: var(--delay);
}

@keyframes uploadBar {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

.upload-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.platform {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Benefits Section */
.benefits-section {
    padding: 120px 0;
    background: var(--bg-darker);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .problem-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
