/**
 * UILLIU Landing Page Styles
 * Design moderno e responsivo
 */

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

/* ===== LANDING PAGE BASE ===== */
.landing-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.landing-main {
    padding-top: 80px; /* Compensar o header fixo */
}

/* ===== NAVIGATION ===== */
/* Estilos de navegação movidos para header.css - usando sistema modular */

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 2rem 2rem 4rem!important;
     /* Padding ajustado para telas menores */
    margin-top: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem 3rem!important;;
    }
    
    .hero-container {
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem 2rem!important;;
    }
    
    .hero-container {
        gap: 2rem;
    }
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-badge ion-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;
}

@keyframes gradient-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

@media (max-width: 968px) {
    .hero-description {
        max-width: none;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: flex-start;
}

@media (max-width: 968px) {
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
}

.btn-hero-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: 160px;
}

@media (max-width: 640px) {
    .btn-hero-primary {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-hero-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        max-width: 240px;
    }
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    min-width: 160px;
}

@media (max-width: 640px) {
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-hero-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        max-width: 240px;
    }
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
}

@media (max-width: 968px) {
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
        justify-content: space-around;
    }
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-container {
    position: relative;
    perspective: 1000px;
}

.demo-screen {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    min-width: 400px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transform: rotateY(-5deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 968px) {
    .demo-screen {
        min-width: 350px;
        transform: none;
        animation: none;
    }
}

@media (max-width: 640px) {
    .demo-screen {
        min-width: 300px;
        padding: 1.25rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .demo-screen {
        min-width: 280px;
        padding: 1rem;
        border-radius: 12px;
    }
}

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

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-dots {
    display: flex;
    gap: 0.5rem;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #f97316, #eab308);
}

.demo-dots span:nth-child(2) {
    background: linear-gradient(135deg, #eab308, #84cc16);
}

.demo-dots span:nth-child(3) {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.demo-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
}

.demo-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.code-preview {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    font-size: 0.875rem;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.6s ease forwards;
}

.code-line.typing {
    animation: fadeInUp 0.6s ease 1s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.line-number {
    color: #6b7280;
    margin-right: 1rem;
    min-width: 20px;
}

.code-text {
    color: #e5e7eb;
}

.typing-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 0.5rem;
}

.typing-dots span {
    width: 4px;
    height: 4px;
    background: #6366f1;
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        gap: 1rem;
    }
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .feature-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.feature-icon ion-icon {
    font-size: 1.5rem;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* ===== DEMO SECTION ===== */
.demo-section {
    padding: 6rem 2rem;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}

.demo-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.demo-step {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 280px;
    position: relative;
    backdrop-filter: blur(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.step-content h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.demo-arrow {
    color: #6366f1;
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.demo-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-demo {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    padding: 1.25rem 3rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 6rem 2rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    color: #9ca3af;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #374151;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.discount {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.25rem;
    color: #9ca3af;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.amount.yearly {
    display: none;
}

.period {
    font-size: 1rem;
    color: #9ca3af;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #e5e7eb;
}

.plan-features ion-icon {
    color: #10b981;
    font-size: 1.25rem;
}

.btn-plan {
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    border: none;
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* ===== FOOTER ===== */
.landing-footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo ion-icon {
    font-size: 1.5rem;
    color: #6366f1;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #6366f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .demo-screen {
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 1rem;
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem 3rem!important;;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-flow {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .demo-screen {
        min-width: 280px;
        padding: 1rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 1.5rem;
    }
}