/* Ferramentas - Design Moderno */

/* Hero Section */
.projects-hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.3;
}

.projects-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.projects-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Project */
.featured-project {
    padding: 80px 0;
    background: #fafafa;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-visual {
    position: relative;
}

.project-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 30px;
}

.project-demo {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-screen {
    background: #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
}

.demo-header {
    background: #3a3a3a;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.demo-dots {
    display: flex;
    gap: 8px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
}

.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #28ca42; }

.demo-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.demo-content {
    padding: 30px;
}

.demo-input {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.typing-text {
    color: #4f46e5;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.demo-output {
    space-y: 10px;
}

.output-line {
    height: 8px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 4px;
    margin-bottom: 8px;
    animation: pulse 2s infinite;
}

.output-line.short { width: 60%; }
.output-line.medium { width: 80%; }

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

.project-info {
    space-y: 25px;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 20px 0 10px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 25px;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 35px;
}

.project-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 35px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    border-left: 4px solid #4f46e5;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.project-tech {
    margin: 35px 0;
}

.project-tech h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-status {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 35px 0;
    padding: 25px;
    background: #f8f9ff;
    border-radius: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-label {
    font-weight: 600;
    color: #666;
}

.status-value {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-value.development {
    background: #fef3c7;
    color: #92400e;
}

.project-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.btn-outline:hover {
    background: #4f46e5;
    color: white;
}

/* Project Details */
.project-details {
    padding: 80px 0;
    background: white;
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.detail-card {
    background: #fafafa;
    padding: 35px;
    border-radius: 15px;
    border-top: 4px solid #4f46e5;
}

.detail-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.detail-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4f46e5;
    font-weight: bold;
}

/* Other Projects */
.other-projects {
    padding: 80px 0;
    background: #fafafa;
}

.other-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.other-container h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.other-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.other-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.other-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.other-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.other-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.other-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.other-tech span {
    background: #e0e7ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.other-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.other-link:hover {
    color: #7c3aed;
}

/* Collaboration */
.collaboration {
    padding: 80px 0;
    background: white;
}

.collaboration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.collaboration h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collaboration p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.collaboration-ways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.collab-item {
    padding: 30px;
    background: #f8f9ff;
    border-radius: 15px;
    border-top: 4px solid #4f46e5;
}

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

.collab-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.collab-item p {
    color: #666;
    line-height: 1.6;
}

.collaboration-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.modal-content.large {
    max-width: 1000px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

.demo-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.demo-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.demo-input-area textarea {
    width: 100%;
    height: 200px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.demo-btn {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
}

.demo-output-area {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 8px;
}

.demo-suggestion h4 {
    color: #4f46e5;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-hero h1 {
        font-size: 2.5rem;
    }
    
    .projects-hero p {
        font-size: 1.1rem;
    }
    
    .project-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .project-info h2 {
        font-size: 2rem;
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
        justify-content: center;
    }
    
    .demo-interface {
        grid-template-columns: 1fr;
    }
    
    .project-status {
        flex-direction: column;
        gap: 10px;
    }
}

