/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f1f5f9;
    --accent-color: #06b6d4;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --background: #ffffff;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.nav-logo i {
    font-size: 28px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo a:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.nav-login:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

.nav-login i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.nav-login:hover i {
    transform: translateX(2px);
}

/* CTA Button - Super Destacado */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.4),
        0 4px 15px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: cta-mega-pulse 2.5s ease-in-out infinite;
    transform: scale(1.05);
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 12px 35px rgba(99, 102, 241, 0.5),
        0 8px 25px rgba(139, 92, 246, 0.4),
        0 0 30px rgba(6, 182, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    animation: none;
}

.nav-cta i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-cta:hover i {
    transform: scale(1.2) rotate(10deg);
}

.nav-cta span {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* CTA Mega Pulse Animation */
@keyframes cta-mega-pulse {
    0%, 100% { 
        box-shadow: 
            0 8px 25px rgba(99, 102, 241, 0.4),
            0 4px 15px rgba(139, 92, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 
            0 12px 35px rgba(99, 102, 241, 0.6),
            0 8px 25px rgba(139, 92, 246, 0.5),
            0 0 25px rgba(6, 182, 212, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* CTA Enhanced Glow Effect */
.cta-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-cta:hover .cta-glow {
    opacity: 0.8;
}

/* CTA Enhanced Shine Effect */
.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.nav-cta:hover::before {
    left: 100%;
}

/* CTA Enhanced Badge Effect */
.nav-cta::after {
    content: '🔥';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: badge-mega-bounce 1.8s ease-in-out infinite;
    box-shadow: 
        0 4px 12px rgba(255, 107, 107, 0.5),
        0 0 20px rgba(255, 142, 83, 0.3);
    border: 2px solid white;
}

@keyframes badge-mega-bounce {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
    }
    25% { 
        transform: scale(1.15) rotate(-5deg); 
    }
    50% { 
        transform: scale(1.2) rotate(0deg); 
    }
    75% { 
        transform: scale(1.15) rotate(5deg); 
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Column - Text Content */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 20px;
    gap: 40px;
    padding-top: 60px;
}

/* Right Column - IDE and Visual Elements */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    padding-left: 20px;
    gap: 20px;
}

/* AI Status positioning */
.ai-status {
    align-self: flex-start;
    margin-bottom: 0;
    order: 1;
}

/* Hero Text adjustments */
.hero-text {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    order: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    color: white;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 90%;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* AI Features Pills adjustments */
.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

/* Hero Buttons adjustments */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0;
    justify-content: flex-start;
}

/* Single button enhancement */
.hero-buttons .btn {
    min-width: 180px;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Graphic */
.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.node-1 {
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.node-2 {
    top: 150px;
    right: 50px;
    animation-delay: 1s;
}

.node-3 {
    bottom: 50px;
    left: 100px;
    animation-delay: 2s;
}

.flow-connection {
    position: absolute;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.connection-1 {
    width: 120px;
    top: 90px;
    left: 130px;
    transform: rotate(45deg);
}

.connection-2 {
    width: 100px;
    bottom: 90px;
    right: 130px;
    transform: rotate(-45deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features {
    background: var(--surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing */
.pricing-grid {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Contact */
.contact {
    background: var(--surface);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.125rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
    width: 24px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-light);
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 20px;
        justify-content: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: 0.3s;
        border-top: 1px solid var(--border);
        gap: 12px;
    }

    .nav-actions.active {
        right: 0;
    }

    .nav-login,
    .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .nav-cta {
        order: -1; /* CTA aparece primeiro no mobile */
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-left {
        padding: 0;
        gap: 24px; /* Reduz gap em mobile */
    }

    .hero-right {
        padding: 0;
    }

    .hero-text {
        gap: 20px; /* Reduz gap entre elementos do texto */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%; /* Full width em mobile */
    }

    .ai-status {
        align-self: center; /* Centraliza em mobile */
    }

    .ai-features {
        gap: 8px; /* Gap mínimo entre pills */
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero-buttons {
        justify-content: center;
        margin-top: 6px; /* Reduz margem em mobile */
    }

    .hero-buttons .btn {
        min-width: 200px; /* Largura otimizada para mobile pequeno */
    }

    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .futuristic-ide {
        margin-bottom: 0;
        max-width: 100%;
        order: 1;
    }

    .ide-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .ide-tabs {
        justify-content: center;
    }

    .ide-controls {
        justify-content: center;
    }

    .code-content {
        font-size: 12px;
        padding: 16px 16px 16px 60px;
    }

    .ai-brain {
        width: 150px;
        height: 150px;
    }

    .brain-core {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .float-element {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-graphic {
        height: 300px;
    }

    .flow-node {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    /* CTA Header em Mobile */
    .nav-cta {
        padding: 12px 24px;
        font-size: 15px;
        transform: scale(1.02);
    }

    .nav-cta:hover {
        transform: translateY(-2px) scale(1.05);
    }

    .nav-cta::after {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
        height: 65px;
    }

    .nav-menu {
        top: 65px;
        padding: 16px 0;
        gap: 16px;
    }

    .nav-actions {
        top: 65px;
        padding: 16px;
        gap: 10px;
    }

    .nav-login,
    .nav-cta {
        padding: 12px 20px;
        font-size: 14px;
    }

    .nav-cta span,
    .nav-login span {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-left {
        gap: 20px; /* Gap ainda menor em telas muito pequenas */
    }

    .hero-text {
        gap: 16px; /* Gap mínimo entre elementos do texto */
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2; /* Melhora legibilidade em telas pequenas */
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .ai-features {
        gap: 8px; /* Gap mínimo entre pills */
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero-buttons {
        gap: 12px; /* Reduz gap entre botões */
        margin-top: 0;
    }

    .hero-buttons .btn {
        min-width: 180px; /* Largura otimizada para mobile pequeno */
    }

    .hero-visual {
        width: 150px;
        height: 150px;
        margin: 16px auto 0; /* Reduz margem */
    }

    .tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .tab span {
        display: none;
    }

    .control-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .control-btn span {
        display: none;
    }

    .code-content {
        font-size: 11px;
        padding: 12px 12px 12px 50px;
    }

    .code-line-numbers {
        width: 40px;
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilos específicos para páginas de recursos */

/* Code Preview */
.code-preview {
    background: #1e1e1e;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.code-header {
    background: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #e2e8f0;
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.code-dots span:nth-child(2) {
    background: #f59e0b;
}

.code-dots span:nth-child(3) {
    background: #10b981;
}

.code-content {
    padding: 20px;
    margin: 0;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #e2e8f0;
    background: transparent;
    overflow-x: auto;
}

/* Code Examples */
.code-example {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.user-request {
    background: #f0f9ff;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #06b6d4;
}

.ai-response {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.ai-response pre {
    margin-top: 12px;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
}

.ai-response code {
    color: #e2e8f0;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.5;
}

/* Active navigation link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Feature cards com cores personalizadas */
.feature-card .feature-icon {
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Responsive para code examples */
@media (max-width: 768px) {
    .code-example {
        padding: 20px;
    }
    
    .code-content {
        font-size: 12px;
        padding: 16px;
    }
    
    .ai-response pre {
        padding: 16px;
    }
    
    .ai-response code {
        font-size: 12px;
    }
}

/* Syntax highlighting customization */
.token.comment {
    color: #6b7280;
}

.token.string {
    color: #10b981;
}

.token.keyword {
    color: #8b5cf6;
}

.token.function {
    color: #06b6d4;
}

.token.number {
    color: #f59e0b;
}

/* Melhorias para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Logo styles */
.logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Code Preview no Hero */
.hero .code-preview {
    max-width: 100%;
    margin: 0 auto 30px;
    font-size: 13px;
}

.hero .code-content {
    padding: 20px;
    font-size: 12px;
    line-height: 1.4;
    max-height: 300px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .hero .code-preview {
        font-size: 11px;
    }
    
    .hero .code-content {
        padding: 16px;
        font-size: 10px;
        max-height: 250px;
    }
    
    .hero .code-header {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* Futuristic Hero Styles */
.futuristic-hero {
    position: relative;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    overflow: hidden;
    color: white;
}

.futuristic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* AI Particles Background */
.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.ai-particles::before,
.ai-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #64ffda;
    border-radius: 50%;
    animation: float-particles 20s linear infinite;
    box-shadow: 
        0 0 10px #64ffda,
        0 0 20px #64ffda,
        0 0 30px #64ffda;
}

.ai-particles::before {
    top: -10px;
    left: 10%;
    animation-delay: 0s;
}

.ai-particles::after {
    top: -10px;
    left: 80%;
    animation-delay: 10s;
}

@keyframes float-particles {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px);
        opacity: 0;
    }
}

/* Neural Network Background */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(100, 255, 218, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 255, 218, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: neural-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes neural-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.1; }
}

/* AI Status Indicator */
.ai-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 12px 20px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.ai-indicator {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #64ffda;
    border-radius: 50%;
    animation: ai-pulse-animation 2s ease-in-out infinite;
}

.ai-indicator i {
    color: #64ffda;
    font-size: 14px;
    z-index: 1;
}

@keyframes ai-pulse-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.ai-status span {
    color: #64ffda;
    font-weight: 600;
    font-size: 14px;
}

/* Futuristic IDE */
.futuristic-ide {
    background: rgba(15, 15, 35, 0.9);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.ide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(26, 26, 46, 0.8);
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.ide-tabs {
    display: flex;
    gap: 8px;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #94a3b8;
}

.tab.active {
    background: rgba(100, 255, 218, 0.1);
    border-color: #64ffda;
    color: #64ffda;
}

.tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(100, 255, 218, 0.4);
}

.tab i {
    font-size: 12px;
}

.ide-controls {
    display: flex;
    gap: 12px;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    color: #64ffda;
}

.control-btn:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-1px);
}

.run-btn {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.run-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: translateY(-1px) scale(1.05);
}

.run-btn i {
    font-size: 16px;
    margin-left: 2px; /* Pequeno ajuste para centralizar visualmente o play */
}

/* IDE Content */
.ide-content {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.code-example {
    display: none;
    position: relative;
}

.code-example.active {
    display: block;
}

.code-line-numbers {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    background: rgba(26, 26, 46, 0.5);
    border-right: 1px solid rgba(100, 255, 218, 0.2);
    padding: 20px 0;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    counter-reset: line-number;
}

.code-line-numbers::before {
    content: counter(line-number);
    counter-increment: line-number;
    display: block;
    text-align: center;
    margin-bottom: 1.5em;
}

.code-content {
    padding: 20px 20px 20px 70px;
    margin: 0;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #e2e8f0;
    background: transparent;
    overflow-x: auto;
}

/* AI Terminal */
.ai-terminal {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(100, 255, 218, 0.2);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(26, 26, 46, 0.8);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.terminal-header i {
    color: #64ffda;
    margin-right: 8px;
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #22c55e;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.terminal-content {
    padding: 16px 20px;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt {
    color: #64ffda;
    font-weight: bold;
}

.output {
    color: #e2e8f0;
    animation: typing 3s steps(30) infinite;
}

.cursor {
    color: #64ffda;
    animation: blink 1s infinite;
}

@keyframes typing {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Text */
.hero-text {
    margin-top: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.animated-gradient {
    background: linear-gradient(45deg, #64ffda, #a855f7, #06b6d4, #64ffda);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-animation 3s ease-in-out infinite;
}

.python-text {
    color: #ffd43b;
    text-shadow: 0 0 20px rgba(255, 212, 59, 0.5);
}

@keyframes gradient-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* AI Features Pills */
.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: #64ffda;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

.feature-pill i {
    font-size: 12px;
}

/* Futuristic Buttons */
.futuristic-btn {
    position: relative;
    background: linear-gradient(45deg, #64ffda, #06b6d4);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.futuristic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.futuristic-btn:hover::before {
    left: 100%;
}

.futuristic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.futuristic-btn:hover .btn-glow {
    opacity: 0.7;
}

.futuristic-btn-outline {
    background: transparent;
    border: 2px solid #64ffda;
    color: #64ffda;
    position: relative;
    overflow: hidden;
}

.futuristic-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(100, 255, 218, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.futuristic-btn-outline:hover::before {
    width: 100%;
}

.futuristic-btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.2);
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    margin-top: 10px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64ffda;
    animation: float-around 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.python-logo {
    top: 20%;
    left: 20%;
    color: #ffd43b;
    border-color: rgba(255, 212, 59, 0.3);
    background: rgba(255, 212, 59, 0.1);
    animation-delay: 0s;
}

.ai-chip {
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.code-block {
    bottom: 30%;
    left: 25%;
    animation-delay: 4s;
}

.api-icon {
    bottom: 20%;
    right: 25%;
    animation-delay: 6s;
}

@keyframes float-around {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stream {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #64ffda, transparent);
    animation: stream-flow 4s linear infinite;
    animation-delay: var(--delay);
}

.stream:nth-child(1) { left: 25%; }
.stream:nth-child(2) { left: 50%; }
.stream:nth-child(3) { left: 75%; }

@keyframes stream-flow {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(300px); opacity: 0; }
}

/* Responsive Design for Futuristic Hero */
@media (max-width: 768px) {
    .futuristic-hero .hero-container {
        grid-template-rows: auto auto;
        gap: 40px;
        text-align: center;
        padding: 100px 20px 60px;
    }

    .hero-cta-top {
        margin-bottom: 10px;
    }

    .hero-main-cta {
        padding: 16px 32px;
        font-size: 16px;
        min-width: 250px;
        transform: scale(1.05);
        border-radius: 16px;
    }

    .hero-main-cta:hover {
        transform: translateY(-3px) scale(1.1);
    }

    .hero-main-cta i {
        font-size: 18px;
        margin-right: 10px;
    }

    .hero-main-cta span {
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    .hero-main-cta::after {
        width: 24px;
        height: 24px;
        font-size: 12px;
        top: -10px;
        right: -10px;
    }

    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        padding: 0;
        gap: 24px;
        padding-top: 0;
        order: 2;
    }

    .hero-right {
        padding: 0;
        gap: 20px;
        order: 1;
    }

    .hero-text {
        gap: 20px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .ai-status {
        align-self: center;
    }

    .ai-features {
        gap: 8px; /* Gap mínimo entre pills */
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* CTA Header em Mobile */
    .nav-cta {
        padding: 12px 24px;
        font-size: 15px;
        transform: scale(1.02);
    }

    .nav-cta:hover {
        transform: translateY(-2px) scale(1.05);
    }

    .nav-cta::after {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .futuristic-ide {
        margin-bottom: 0;
        max-width: 100%;
        order: 1;
    }

    /* IDE Content em Mobile */
    .ide-content {
        max-height: 350px;
    }

    .ide-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .ide-tabs {
        justify-content: center;
    }

    .ide-controls {
        justify-content: center;
    }

    .code-content {
        font-size: 12px;
        padding: 16px 16px 16px 60px;
    }
}

@media (max-width: 480px) {
    .hero-main-cta {
        padding: 14px 28px;
        font-size: 15px;
        min-width: 220px;
        transform: scale(1.02);
    }

    .hero-main-cta i {
        font-size: 16px;
        margin-right: 8px;
    }

    .hero-main-cta span {
        font-size: 15px;
        letter-spacing: 0.6px;
    }

    .hero-main-cta::after {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -8px;
        right: -8px;
    }

    .hero-left {
        gap: 20px;
    }

    .hero-text {
        gap: 16px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .ai-features {
        gap: 8px;
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero-visual {
        width: 150px;
        height: 150px;
        margin: 16px auto 0;
    }

    .tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .tab span {
        display: none;
    }

    .control-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .control-btn span {
        display: none;
    }

    .code-content {
        font-size: 11px;
        padding: 12px 12px 12px 50px;
    }

    .code-line-numbers {
        width: 40px;
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Syntax Highlighting for Futuristic IDE */
.code-content .token.comment {
    color: #6b7280;
    font-style: italic;
}

.code-content .token.string {
    color: #22c55e;
}

.code-content .token.keyword {
    color: #a855f7;
    font-weight: 600;
}

.code-content .token.function {
    color: #06b6d4;
}

.code-content .token.number {
    color: #f59e0b;
}

.code-content .token.operator {
    color: #64ffda;
}

.code-content .token.punctuation {
    color: #94a3b8;
}

.code-content .token.class-name {
    color: #fbbf24;
}

.code-content .token.decorator {
    color: #f472b6;
}

/* Enhanced Glow Effects */
.futuristic-hero .gradient-text {
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.5));
}

.python-text {
    filter: drop-shadow(0 0 15px rgba(255, 212, 59, 0.6));
}

/* Scrollbar Styling for IDE */
.ide-content::-webkit-scrollbar {
    width: 8px;
}

.ide-content::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
}

.ide-content::-webkit-scrollbar-thumb {
    background: rgba(100, 255, 218, 0.3);
    border-radius: 4px;
}

.ide-content::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 255, 218, 0.5);
}

/* Line Numbers Enhancement */
.code-line-numbers .line-number {
    padding: 0 8px;
    text-align: right;
    user-select: none;
    transition: color 0.3s ease;
}

.code-line-numbers .line-number:hover {
    color: #64ffda;
}

/* Enhanced Button Animations */
.futuristic-btn span {
    position: relative;
    z-index: 2;
}

.futuristic-btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.futuristic-btn:hover i {
    transform: scale(1.1);
}

/* AI Status Pulse Enhancement */
.ai-status {
    animation: status-glow 4s ease-in-out infinite;
}

@keyframes status-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    }
    50% { 
        box-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
    }
}

/* Code Execution Animation */
.code-executing {
    animation: code-pulse 2s ease-in-out;
    border: 2px solid rgba(34, 197, 94, 0.5) !important;
}

@keyframes code-pulse {
    0%, 100% { 
        background: rgba(15, 15, 35, 0.9);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        background: rgba(34, 197, 94, 0.05);
        box-shadow: 
            0 20px 40px rgba(34, 197, 94, 0.2),
            inset 0 1px 0 rgba(34, 197, 94, 0.2),
            0 0 30px rgba(34, 197, 94, 0.3);
    }
}

/* Enhanced Floating Particles */
.floating-particle {
    animation: float-particles 20s linear infinite;
}

/* Terminal Cursor Enhancement */
.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #64ffda;
    margin-left: 2px;
}

/* Feature Pills Hover Effects */
.feature-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.feature-pill:hover::before {
    opacity: 1;
}

/* AI Brain Interaction Enhancement */
.ai-brain:hover .neural-connections .connection {
    animation-duration: 1s;
}

.ai-brain:hover .brain-core {
    animation-duration: 1s;
}

/* Data Stream Enhancement */
.data-streams::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: data-flow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes data-flow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .ai-status {
        margin: 0 auto 20px;
    }
    
    .feature-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .terminal-content {
        padding: 12px 16px;
        font-size: 12px;
    }

    .futuristic-ide {
        margin-bottom: 30px;
    }

    .ide-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .ide-tabs {
        justify-content: center;
    }

    .ide-controls {
        justify-content: center;
    }

    .code-content {
        font-size: 12px;
        padding: 16px 16px 16px 60px;
    }

    .ai-brain {
        width: 150px;
        height: 150px;
    }

    .brain-core {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .float-element {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .tab span {
        display: none;
    }

    .control-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .control-btn span {
        display: none;
    }

    .code-content {
        font-size: 11px;
        padding: 12px 12px 12px 50px;
    }

    .code-line-numbers {
        width: 40px;
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Performance Optimizations */
.futuristic-hero * {
    will-change: transform;
}

.ai-particles,
.neural-network,
.floating-elements,
.data-streams {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Non-editable code styling */
.code-content[contenteditable="false"] {
    user-select: text;
    cursor: default;
}

.code-content[contenteditable="false"]:focus {
    outline: none;
}

/* Enhanced run button animation */
.run-btn:active {
    transform: scale(0.95);
    background: rgba(34, 197, 94, 0.3) !important;
}

/* Terminal output enhancements */
.terminal-content {
    min-height: 40px;
    display: flex;
    align-items: center;
}

.terminal-line {
    width: 100%;
}

/* Status indicator improvements */
.terminal-status {
    transition: all 0.3s ease;
}

.terminal-status.executing {
    color: #f59e0b;
}

.terminal-status.completed {
    color: #22c55e;
}

/* Code syntax highlighting improvements */
.code-content .language-python {
    color: #e2e8f0;
}

/* Print statements highlighting */
.code-content .token.builtin {
    color: #06b6d4;
    font-weight: 600;
}

/* Comments with emojis */
.code-content .token.comment:first-child {
    color: #64ffda;
    font-weight: 600;
    font-size: 14px;
}

/* Hero Container Layout */
.futuristic-hero .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
}

/* CTA Principal no Topo */
.hero-cta-top {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 10;
}

.hero-main-cta {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 20px;
    min-width: 280px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 30%, #06b6d4 70%, #10b981 100%);
    box-shadow: 
        0 12px 35px rgba(99, 102, 241, 0.4),
        0 8px 25px rgba(139, 92, 246, 0.3),
        0 4px 15px rgba(6, 182, 212, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.1);
    animation: hero-cta-mega-pulse 2s ease-in-out infinite;
    transform: scale(1.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-main-cta:hover {
    transform: translateY(-4px) scale(1.15);
    box-shadow: 
        0 20px 50px rgba(99, 102, 241, 0.5),
        0 15px 35px rgba(139, 92, 246, 0.4),
        0 10px 25px rgba(6, 182, 212, 0.3),
        0 0 40px rgba(16, 185, 129, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

.hero-main-cta i {
    font-size: 20px;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.hero-main-cta:hover i {
    transform: scale(1.3) rotate(15deg);
}

.hero-main-cta span {
    font-size: 18px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animação do CTA Principal */
@keyframes hero-cta-mega-pulse {
    0%, 100% { 
        box-shadow: 
            0 12px 35px rgba(99, 102, 241, 0.4),
            0 8px 25px rgba(139, 92, 246, 0.3),
            0 4px 15px rgba(6, 182, 212, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 
            0 20px 50px rgba(99, 102, 241, 0.6),
            0 15px 35px rgba(139, 92, 246, 0.5),
            0 10px 25px rgba(6, 182, 212, 0.4),
            0 0 30px rgba(16, 185, 129, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Badge do CTA Principal */
.hero-main-cta::after {
    content: '⚡';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    animation: hero-badge-bounce 1.5s ease-in-out infinite;
    box-shadow: 
        0 6px 15px rgba(251, 191, 36, 0.5),
        0 0 25px rgba(245, 158, 11, 0.3);
    border: 3px solid white;
}

@keyframes hero-badge-bounce {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
    }
    25% { 
        transform: scale(1.2) rotate(-10deg); 
    }
    50% { 
        transform: scale(1.3) rotate(0deg); 
    }
    75% { 
        transform: scale(1.2) rotate(10deg); 
    }
}

/* Conteúdo Principal em Grid */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Column - Text Content */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 20px;
    gap: 28px;
    padding-top: 0;
}

/* Right Column - IDE and Visual Elements */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    padding-left: 20px;
    gap: 20px;
}

.hero-visual {
    width: 150px;
    height: 150px;
    margin: 16px auto 0; /* Reduz margem */
}

.tab {
    padding: 6px 12px;
    font-size: 12px;
}

.tab span {
    display: none;
}

.control-btn {
    padding: 6px 10px;
    font-size: 11px;
}

.control-btn span {
    display: none;
}

.code-content {
    font-size: 11px;
    padding: 12px 12px 12px 50px;
}

.code-line-numbers {
    width: 40px;
}

.feature-pill {
    padding: 6px 12px;
    font-size: 12px;
}