/* =========================================
   OCriaLojas - Premium Dark/Red Theme LP
========================================= */

:root {
    /* Color Palette - Black & Red Focus */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    
    --primary-red: #e60000;
    --primary-red-hover: #ff1a1a;
    --primary-red-glow: rgba(230, 0, 0, 0.4);
    
    --text-main: #f5f5f5;
    --text-muted: #a3a3a3;
    
    --success-green: #22c55e;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(230, 0, 0, 0.3);

    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 24px;
}

/* ================== GLOBAL ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

.highlight-red {
    color: var(--primary-red);
}

.highlight-white {
    color: #fff;
}

p {
    color: var(--text-muted);
}

/* ================== COMPONENTS ================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a40000 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-red-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-red-glow);
    background: linear-gradient(135deg, var(--primary-red-hover) 0%, #c40000 100%);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-red);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

/* ================== ANIMATIONS ================== */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(230, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

@keyframes greenPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

.pulse-btn {
    animation: pulseGlow 2s infinite;
}

.whatsapp-pulse {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: greenPulseGlow 2s infinite;
}
.whatsapp-pulse:hover {
    background: linear-gradient(135deg, #2cf576 0%, #17b3a0 100%);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.animate-pulse {
    animation: pulseStatus 2s infinite;
}

/* Intersection Observer Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* ================== NAVBAR ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-logo .site-logo {
    height: 60px;
    filter: grayscale(100%) brightness(200%);
}

/* ================== HERO SECTION ================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230,0,0,0.15) 0%, rgba(10,10,10,0) 70%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(230, 0, 0, 0.1);
    border: 1px solid var(--border-highlight);
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-title span {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual .glow-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,0,0,0.2) 0%, rgba(10,10,10,0) 70%);
    z-index: -1;
    animation: float 6s ease-in-out infinite reverse;
}

/* Phone Mockup Animation */
.phone-mockup {
    width: 320px;
    height: 550px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 10px rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 130px; height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, #111 0%, #050505 100%);
    position: relative;
    padding: 60px 16px 16px;
    overflow: hidden;
}

.mockup-app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.app-logo {
    height: 24px;
    width: auto;
}

.mockup-app-header span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.notification-cascade {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: scrollUp 15s linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-380px); }
}

.notif-card {
    background: rgba(30,30,30,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border-top: 2px solid var(--primary-red);
}

.notif-card .mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.notif-card .mockup-header ion-icon {
    font-size: 20px;
    color: var(--primary-red);
}

.notif-card .amount {
    font-size: 1.6rem;
    color: var(--success-green);
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.notif-card .status {
    color: var(--success-green);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notif-card .time {
    color: #666;
    font-size: 0.75rem;
    margin-top: 6px;
}

/* ================== PROBLEM SECTION ================== */
.problem-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0f0a0a);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.problem-card {
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.03);
}

.red-icon {
    color: var(--primary-red);
    background: rgba(230, 0, 0, 0.1);
}

.problem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* ================== CONTRAST SECTION ================== */
.contrast-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.comparison-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.compare-card {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.compare-card.dark {
    background: rgba(10, 10, 10, 0.8);
    opacity: 0.8;
}

.compare-card.highlight-border {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.compare-header h3 {
    font-size: 1.5rem;
}

.big-icon {
    font-size: 40px;
}

.green-icon {
    color: var(--success-green);
}

.compare-list {
    list-style: none;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.compare-list li ion-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.negative-card .compare-list li ion-icon {
    color: var(--primary-red);
}

.positive-card .compare-list li ion-icon {
    color: var(--success-green);
}

.positive-card .compare-list li {
    color: #fff;
    font-weight: 500;
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    z-index: 3;
    color: var(--text-muted);
}

/* ================== SOLUTION SECTION ================== */
.solution-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(30,10,10,1) 0%, var(--bg-dark) 70%);
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.check-icon {
    width: 48px;
    height: 48px;
    background: rgba(230, 0, 0, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.solution-image-placeholder {
    position: relative;
    width: 100%;
}

.cyber-frame {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(230,0,0,0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 50px rgba(230,0,0,0.1);
    overflow: hidden;
}

.cyber-frame::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(230,0,0,0.1), transparent);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 200%; }
}

.frame-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.progress-bar-wrap {
    margin-top: 20px;
}

.progress-bar-wrap span {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--primary-red);
    border-radius: 10px;
    transition: width 2s ease-out;
}

.scrolled .progress-fill {
    width: 95%;
}

/* ================== PORTFOLIO ================== */
.portfolio-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-dark), #0f0a0a);
}

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

.portfolio-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(145deg, rgba(30,30,30,0.8) 0%, rgba(20,20,20,0.9) 100%);
    transition: var(--transition);
}

.portfolio-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
    transition: transform 0.8s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(230,0,0,0.15);
    border-color: rgba(230,0,0,0.3);
}

.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(230,0,0,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay ion-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.portfolio-overlay span {
    font-size: 1.2rem;
    font-weight: 700;
}

.portfolio-info {
    position: relative;
    z-index: 5;
    padding: 80px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
    width: 100%;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================== AUTHORITY ================== */
.authority-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.authority-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.auth-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.auth-card:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-5px);
}

.auth-icon {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 24px;
}

.auth-card h4 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* ================== CTA FINAL ================== */
.cta-section {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.5);
    border-top: 1px solid rgba(230,0,0,0.2);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230,0,0,0.1) 0%, rgba(10,10,10,0) 60%);
    z-index: -1;
}

.cta-container {
    max-width: 800px;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.cta-note {
    margin-top: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ================== FOOTER ================== */
footer {
    padding: 40px 0;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-red);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .hero-container, .content-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title { font-size: 3rem; }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .comparison-container {
        flex-direction: column;
        align-items: center;
    }
    
    .compare-card {
        width: 100%;
        max-width: 500px;
    }

    .compare-card.highlight-border {
        transform: scale(1);
    }
    
    .vs-badge {
        position: relative;
        transform: none;
        top: 0; left: 0;
        margin: 20px auto;
    }

    .authority-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    
    .hero { padding-top: 100px; padding-bottom: 40px; min-height: auto; }
    .hero-title { font-size: 2.2rem; margin-bottom: 16px; }
    .section-title, .cta-title { font-size: 2rem; margin-bottom: 20px; }
    
    .problem-section, .authority-section, .portfolio-section { padding: 60px 0; }
    .contrast-section, .solution-section, .cta-section { padding: 60px 0; }
    
    .comparison-container { margin-top: 30px; gap: 20px; }
    .content-row { gap: 40px; }
    .authority-cards { margin-top: 30px; gap: 20px; }
    .section-intro { margin-bottom: 30px; }
    .problem-grid { gap: 16px; }
    
    .phone-mockup {
        width: 280px;
        height: 500px;
        margin: 0 auto;
    }
    
    .problem-grid, .features-list {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 24px; }
    .section-title, .cta-title { font-size: 1.6rem; }
    
    .problem-section, .authority-section, .portfolio-section { padding: 50px 0; }
    .contrast-section, .solution-section, .cta-section { padding: 50px 0; }
    
    .badge { font-size: 0.8rem; padding: 4px 12px; margin-bottom: 16px; }
    
    .btn { width: 100%; font-size: 1rem; }
    .btn-large { padding: 16px; }
    
    .nav-btn { display: none; }
    .logo-link .site-logo { height: 32px; }
    
    .phone-mockup {
        width: 260px;
        height: 450px;
    }
    .phone-mockup::before { width: 100px; }
    .notif-card { padding: 12px; }
    .notif-card .amount { font-size: 1.3rem; }
    .mockup-app-header span { font-size: 1rem; }
}
