:root {
    --primary: #004aad;
    --primary-light: #1e5a9e;
    --secondary: #FF6B35;
    --accent: #00d4ff;
    --dark: #1a1a2e;
    --light: #f4f7fc;
    --text: #2d3436;
    --border: #e0e4e8;
    --success: #11a84b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f4f7fc 0%, #ffffff 100%);
    color: var(--text);
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(90deg, rgba(0, 74, 173, 0.98) 0%, rgba(30, 90, 158, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 74, 173, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.3rem;
    color: white !important;
    letter-spacing: -0.5px;
}

.navbar-brand img {
    height: 45px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    padding: 3px;
    transition: all 0.3s;
}

.navbar-brand:hover img { background: rgba(255, 255, 255, 0.25); transform: scale(1.05); }

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.3rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover { color: var(--accent) !important; }
.navbar-nav .nav-link.active { color: var(--accent) !important; border-bottom: 2px solid var(--accent); }

/* ===== HERO SECTION ===== */
.hero {
    background-image: linear-gradient(135deg, rgba(0, 74, 173, 0.8), rgba(0, 74, 173, 0.8)), url('https://i.imgur.com/MhJA9bY.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(20px); } }

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.brand-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; letter-spacing: -1px; }
.brand-subtitle { font-size: 1.3rem; font-weight: 300; margin-bottom: 2rem; opacity: 0.95; line-height: 1.6; }

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-hero {
    padding: 0.95rem 2.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary-hero { background: var(--accent); color: var(--primary); }
.btn-primary-hero:hover { background: white; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3); }

.btn-secondary-hero { background: transparent; color: white; border: 2px solid white; }
.btn-secondary-hero:hover { background: white; color: var(--primary); transform: translateY(-4px); }

/* ===== STATS SECTION ===== */
.stats-section {
    background: white;
    padding: 3rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.05);
}

.stat-box { text-align: center; padding: 2rem; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.9rem; color: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ===== EXPERTISE SECTION ===== */
.expertise-section { padding: 100px 0; background: var(--light); }

.section-title { font-size: 2.8rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; text-align: center; }
.section-subtitle { font-size: 1.1rem; color: #666; text-align: center; margin-bottom: 4rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; }

.expertise-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border-left: 5px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.expertise-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15); border-left-color: var(--secondary); }

.expertise-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.expertise-card h4 { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.expertise-card p { color: #666; line-height: 1.8; font-size: 0.95rem; }

/* ===== TECHNOLOGY SECTION ===== */
.tech-section { padding: 100px 0; background: white; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.tech-content h3 { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; }
.tech-content p { font-size: 1rem; color: #666; margin-bottom: 1.5rem; line-height: 1.8; }

.tech-feature { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }

.tech-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===== PORTFOLIO/PROJETOS ===== */
.portfolio-section { padding: 100px 0; background: var(--light); }

.portfolio-header { text-align: center; margin-bottom: 4rem; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2.5rem; }

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--secondary);
}

.project-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15); }

.project-header { padding: 2rem; background: linear-gradient(135deg, rgba(0, 74, 173, 0.05), rgba(0, 212, 255, 0.05)); border-bottom: 1px solid var(--border); }

.project-badge { display: inline-block; background: var(--success); color: white; padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.8rem; text-transform: uppercase; }

.project-title { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 0; }

.project-body { padding: 2rem; }

.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; font-size: 0.9rem; }

.project-meta-item { background: var(--light); padding: 1rem; border-radius: 8px; border-left: 3px solid var(--secondary); }

.project-meta-label { font-weight: 600; color: var(--primary); display: block; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 0.3rem; }

/* ===== BLOG SECTION ===== */
.blog-section { padding: 100px 0; background: white; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15); }

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-content { padding: 2rem; flex: 1; display: flex; flex-direction: column; }

.blog-meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.85rem; color: #999; }

.blog-category { display: inline-block; background: rgba(0, 74, 173, 0.1); color: var(--primary); padding: 0.3rem 0.8rem; border-radius: 20px; font-weight: 600; text-transform: uppercase; font-size: 0.75rem; }

.blog-title { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; line-height: 1.4; }

.blog-excerpt { color: #666; line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 100px 0; background: var(--light); }

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-stars { color: #ffc107; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: #666; margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial-author { font-weight: 700; color: var(--primary); margin-bottom: 0.3rem; }
.testimonial-role { font-size: 0.9rem; color: #999; }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    border-radius: 20px;
    margin: 100px 0;
}

.cta-section h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.95; }

.cta-button {
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.cta-button:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3); }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }

.footer-section h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--accent); }

.footer-section p, .footer-section li { color: rgba(255, 255, 255, 0.75); line-height: 1.8; margin-bottom: 0.8rem; }

.footer-section a { color: var(--accent); text-decoration: none; transition: color 0.3s; }

.footer-section a:hover { color: white; }

.footer-divider { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; margin-top: 2rem; }

.footer-bottom { text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

.faith-message {
    background: rgba(0, 212, 255, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-btn img { width: 60px; transition: transform 0.3s; }
.whatsapp-btn:hover img { transform: scale(1.1); }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ===== RESTRICTED AREAS ===== */
.restricted-area {
    background: white;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 4rem auto;
}

.restricted-icon { font-size: 5rem; margin-bottom: 2rem; }
.restricted-title { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.restricted-text { font-size: 1.05rem; color: #666; margin-bottom: 2rem; line-height: 1.8; }

/* ===== PAGE CONTENT ===== */
.page-content { display: none; }
.page-content.active { display: block; animation: fadeIn 0.5s ease-in; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .brand-title { font-size: 2.2rem; }
    .brand-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .hero { padding: 100px 0 80px; }
    .tech-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .btn-hero { width: 100%; }
    .stat-number { font-size: 2rem; }
    .project-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 1.8rem; }
}
