/* ==========================================================================
   CSS VARIABLES (TOKENS)
   ========================================================================== */
   :root {
    /* Colors */
    --bg-primary: #0F172A; /* Fundo principal (Slate 900) */
    --bg-secondary: #1E1E1E; /* Fundo secundário */
    --bg-glass: rgba(30, 41, 59, 0.6);
    --bg-glass-border: rgba(255, 255, 255, 0.1);
    
    --text-primary: #FFFFFF;
    --text-secondary: #BFC3C7;
    
    --accent-blue: #0A5BFF;
    --accent-light: #1E90FF;
    --accent-glow: rgba(10, 91, 255, 0.4);
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    
    /* Spacing */
    --section-pad: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--section-pad);
    position: relative;
}

.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* ==========================================================================
   BACKGROUND EFFECTS (Tech/Glow)
   ========================================================================== */
.bg-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

#tech-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.section-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header.center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(30, 144, 255, 0.1);
    color: var(--accent-light);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-blue));
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(10, 91, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--bg-glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background var(--transition-normal), padding var(--transition-normal);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-lk {
    color: var(--accent-light);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Menu Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    text-align: center;
    position: relative;
    width: 100%;
    padding: 2rem;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bg-glass-border);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-inline: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Hero Graphic (Abstract UI representation) */
.hero-graphic {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.mockup-card {
    width: 100%;
    max-width: 800px;
    height: 400px;
    padding: 0;
    overflow: hidden;
    transform: rotateX(5deg) scale(0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: rgba(0,0,0,0.3);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--bg-glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mockup-body {
    display: flex;
    flex: 1;
}

.mockup-sidebar {
    width: 20%;
    border-right: 1px solid var(--bg-glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.mockup-main {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-chart {
    height: 150px;
    background: linear-gradient(180deg, rgba(30,144,255,0.2) 0%, transparent 100%);
    border-radius: 8px;
    border-bottom: 2px solid var(--accent-light);
    position: relative;
}

.mockup-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    box-shadow: 0 -5px 15px var(--accent-blue);
}

.mockup-stats {
    display: flex;
    gap: 15px;
    flex: 1;
}

.mockup-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--bg-glass-border);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.about-list i {
    color: var(--accent-light);
    font-size: 1.5rem;
}

.metrics-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.metric-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.metric-icon {
    font-size: 2rem;
    color: var(--accent-light);
    background: rgba(30, 144, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.metric-item h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.metric-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.service-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(10, 91, 255, 0.1);
    border-color: rgba(30, 144, 255, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    transition: background var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   PRODUCTS SECTION (InnovateBarber)
   ========================================================================== */
.product-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 4rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border-color: rgba(30, 144, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.product-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feat i {
    color: var(--accent-light);
    font-size: 1.25rem;
}

.product-visual {
    display: flex;
    justify-content: flex-end;
}

.product-mockup {
    width: 100%;
    max-width: 400px;
    background: #1E293B;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid var(--bg-glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.product-highlight:hover .product-mockup {
    transform: rotateY(0deg) rotateX(0deg);
}

.barber-dash {
    background: #0F172A;
    border-radius: 12px;
    padding: 16px;
    height: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-top {
    display: flex;
    gap: 10px;
}

.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-light);
}

.dash-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    background: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-left: 3px solid var(--accent-blue);
}

/* ==========================================================================
   DIFFERENTIATORS SECTION
   ========================================================================== */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 4rem;
}

.diff-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--bg-glass-border);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: background var(--transition-normal);
}

.diff-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.diff-item h4 {
    margin-bottom: 0.5rem;
}

.diff-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   SOCIAL PROOF SECTION
   ========================================================================== */
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 3rem;
    opacity: 0.6;
}

.client-logo-placeholder {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

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

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stars {
    color: #FFBD2E;
    display: flex;
    gap: 4px;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    flex-grow: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E293B, #334155);
}

.author strong {
    display: block;
}

.author span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ==========================================================================
   CTA FINAL SECTION
   ========================================================================== */
.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(10, 91, 255, 0.1), rgba(15, 23, 42, 0.9));
    border-color: rgba(30, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.bg-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(30, 144, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--bg-glass-border);
    padding: 80px 0 20px;
    background: #0B1120;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-light);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMATIONS UTILS (Scroll Reveal)
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   MEDIA QUERIES (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .about-grid, .product-highlight { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-visual { justify-content: center; margin-top: 2rem; }
}

@media (max-width: 768px) {
    .nav-links, .header-btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    
    .product-features { grid-template-columns: 1fr; }
    
    .cta-buttons { flex-direction: column; }
    .cta-title { font-size: 2rem; }
    
    .product-highlight { padding: 2rem; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}
