/* Core Variables */
:root {
    --bg-color: #050505;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --primary-color: #2b4c7e; /* Original Dark Blue */
    --accent-color: #568ec5; /* Original Light Blue */
    --glass-bg: rgba(25, 25, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Inter', sans-serif;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Base styles for the glow effects */
.gradient-text-pink {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Background Effects - Linhas */
.container-linhas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.linhas1, .linhas2, .linhas3, .linhas4 {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 100px;
    filter: blur(60px);
}

.linhas1 {
    top: 0%;
    left: 50%;
    width: 150px;
    height: 800px;
    transform: translatex(-800px) translatey(-200px) rotate(-15deg);
    background: linear-gradient(to top, transparent 5%, rgba(43, 76, 126, 0.5) 90%);
}

.linhas2 {
    top: 0%;
    left: 50%;
    width: 150px;
    height: 800px;
    transform: translatex(200px) translatey(-100px) rotate(-15deg);
    background: linear-gradient(to top, transparent 5%, rgba(43, 76, 126, 0.5) 90%);
}

.linhas3 {
    top: 0%;
    left: 50%;
    width: 150px;
    height: 800px;
    transform: translatex(-400px) translatey(-100px) rotate(-15deg);
    background: linear-gradient(to top, transparent 5%, rgba(43, 76, 126, 0.5) 90%);
}

.linhas4 {
    top: 0%;
    left: 50%;
    width: 160px;
    height: 800px;
    transform: translatex(700px) translatey(-200px) rotate(-15deg);
    background: linear-gradient(to top, transparent 5%, rgba(86, 142, 197, 0.3) 90%);
}

@media(min-width: 1025px) and (max-width: 1550px){
    .linhas1 { transform: translatex(-600px) translatey(-100px) rotate(25deg); }
    .linhas2 { transform: translatex(200px) translatey(-300px) rotate(25deg); }
    .linhas3 { transform: translatex(-250px) translatey(-300px) rotate(25deg); }
    .linhas4 { transform: translatex(500px) translatey(-100px) rotate(25deg); }
}

@media(max-width: 767px){
    .linhas1, .linhas2, .linhas3, .linhas4 {
        filter: blur(30px);
        width: 100px;
        height: 600px;
    }
    .linhas1 { transform: translatex(-150px) translatey(-100px) rotate(25deg); }
    .linhas2 { transform: translatex(50px) translatey(-50px) rotate(25deg); }
    .linhas3 { transform: translatex(-50px) translatey(-150px) rotate(25deg); }
    .linhas4 { transform: translatex(120px) translatey(-100px) rotate(25deg); }
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    border: none;
}

.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 20px rgba(86, 142, 197, 0.4), 
                inset 0 -2px 5px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(86, 142, 197, 0.7),
                0 0 50px rgba(43, 76, 126, 0.4),
                inset 0 -2px 5px rgba(0,0,0,0.1);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: 1;
}

.glow-primary {
    box-shadow: 0 0 40px rgba(43, 76, 126, 0.2);
}

.glow-primary:hover {
    box-shadow: 0 0 60px rgba(86, 142, 197, 0.4);
    border-color: rgba(86, 142, 197, 0.5);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(15px);
    background: transparent;
    border-bottom: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 0;
    padding-bottom: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    height: 100%;
    max-width: 100%;
    padding: 0 0%;
    padding-left: 6rem;
}

.hero-content {
    z-index: 2;
    max-width: 850px; /* Increased to accommodate 2 lines */
}

.badgeb {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem; /* Slightly reduced for better wrapping */
    margin-bottom: 25px;
    letter-spacing: -1px;
    font-weight: 800;
}

.mobile-break {
    display: none;
}

.desktop-only {
    display: inline;
}

.hero-features {
    display: flex;
    list-style: none;
    gap: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.hero-features li::before {
    content: "•";
    margin-right: 8px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.hero-features li:first-child::before {
    display: none;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

.social-proof p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.hero-person {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

/* Remove floating UI items for cleaner look based on new image, or keep them? */
/* Keeping them but adjusting positions relative to new image layout might be tricky. masking them out for now to match the "clean" image request or keeping them if they fit. */
.floating-ui {
    display: none;
}

.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: transparent;
    z-index: 10;
}

/* Services Section */
.services {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Process Section */
.process {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    position: relative;
    box-shadow: 0 0 30px rgba(43, 76, 126, 0.3);
    transition: all 0.3s ease;
}

.step-icon:hover {
    box-shadow: 0 0 50px rgba(86, 142, 197, 0.5);
    transform: translateY(-5px);
    color: #ffffff;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(86, 142, 197, 0.5);
}

.step-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin-top: 40px;
    position: relative;
    z-index: 1;
    opacity: 0.5;
}

/* Pricing Section */
.pricing {
    padding: 80px 0 120px 0;
    transform: translateZ(0); /* Camada isolada para a seção de preços */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    /* transition removida para teste de performance */
    transition: none;
    will-change: auto;
    contain: layout;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    background: rgba(255, 255, 255, 0.06);
}

.pricing-card.featured:hover {
    background: rgba(255, 255, 255, 0.08);
}

.plan-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.currency {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 600;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    margin-top: 35px;
    color: var(--text-secondary);
}

.price-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features-list {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 40px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: var(--accent-color);
    margin-right: 15px;
}

.full-width {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.delivery-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Showcase Section (Linkando Layout) */
.showcase {
    padding: 80px 0;
    position: relative;
}

.showcase-nav-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
}

.showcase-nav {
    display: inline-flex;
    padding: 6px;
    border-radius: 60px;
    gap: 5px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

/* Back glow for the nav */
/* Remove old manual bg glow to use button-centered shadow instead */
.showcase-nav-container::after {
    display: none;
}

.nav-pill {
    padding: 12px 35px;
    border-radius: 60px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav-pill:hover {
    color: white;
}

/* --- 1:1 Pixel-Perfect Mirroring (Alien Designs Source) --- */

.container-linhas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Background "Linhas" Exact Refinement */
.linhas1 { position: absolute; content: ""; top: 0%; left: 50%; width: 150px; height: 800px; transform: translateX(-800px) translateY(-200px) rotate(-15deg); background: linear-gradient(to top, transparent 5%, #2A2F36 90%); pointer-events: none; border-radius: 100px; filter: blur(60px); z-index: 0; }
.linhas2 { position: absolute; content: ""; top: 0%; left: 50%; width: 150px; height: 800px; transform: translateX(200px) translateY(-100px) rotate(-15deg); background: linear-gradient(to top, transparent 5%, #2A2F36 90%); pointer-events: none; border-radius: 100px; filter: blur(60px); z-index: 0; }
.linhas3 { position: absolute; content: ""; top: 0%; left: 50%; width: 150px; height: 800px; transform: translateX(-400px) translateY(-100px) rotate(-15deg); background: linear-gradient(to top, transparent 5%, #2A2F36 90%); pointer-events: none; border-radius: 100px; filter: blur(60px); z-index: 0; }
.linhas4 { position: absolute; content: ""; top: 0%; left: 50%; width: 160px; height: 800px; transform: translateX(700px) translateY(-200px) rotate(-15deg); background: linear-gradient(to top, transparent 5%, #2A2F36 90%); pointer-events: none; border-radius: 100px; filter: blur(60px); z-index: 0; }

/* Spinning Gradient Border (bordadegradeanimada) exact source */
.bordadegradeanimada {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    z-index: 10;
    padding: 1.5px; /* Thinner border for ultra-compact look */
    box-sizing: border-box;
}

.bordadegradeanimada::after {
    position: absolute;
    border-radius: 20px;
    content: "";
    top: 1.5px;
    left: 1.5px;
    right: 1.5px;
    bottom: 1.5px;
    z-index: 1; /* Mask background */
    background: #0a0a0a;
}

.bordadegradeanimada::before {
    position: absolute;
    z-index: 0; 
    content: "";
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    filter: blur(12px); /* Tighter glow as requested */
    width: 900px;
    height: 900px;
    /* Wider slices for more visible 'rastro' (trail) */
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, var(--accent-color) 45deg, var(--primary-color) 90deg, transparent 90.1deg), 
                conic-gradient(from 180deg at 50% 50%, transparent 0deg, var(--accent-color) 45deg, var(--primary-color) 90deg, transparent 90.1deg);
    animation: rotacaodegrade 6s linear infinite;
}

.bordadegradeanimada > * {
    position: relative;
    z-index: 5;
    width: 100%; /* Now works perfectly with parent padding */
    box-sizing: border-box;
}

@keyframes rotacaodegrade {
    to { transform: translate(-50%,-50%) rotate(1turn); }
}

/* Pulsating Light (luzpulsante) exact source (the 86% flash) */
.luzpulsante {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.luzpulsante img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
    animation: 5s luzz ease infinite;
}

@keyframes luzz {
    0%, 100% { filter: brightness(1); }
    86% { filter: brightness(1); }
    86.25% { filter: brightness(1.8) saturate(2); }
    87% { filter: brightness(1.3); }
    88.5% { filter: brightness(3); }
    95% { filter: brightness(1); }
}

/* Interactive Button Brilho Source Mirror */
.brilho1 {
    width: 100%;
    max-width: 380px;
    overflow: visible;
    z-index: 1;
    position: relative;
    padding: 0px !important;
    border-radius: 100px;
}

.brilho1::before {
    transition: 0.35s ease-out;
    filter: blur(12px);
    background: linear-gradient(to right, transparent 30%, var(--primary-color) 80%, var(--primary-color) 95%);
    width: 108%; height: 125%;
    left: 50%; top: 50%;
    content: "";
    will-change: filter;
    border-radius: 100px;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: var(--before-opacity, 1);
}

.brilho1::after {
    transition: 0.35s ease-out;
    filter: blur(12px);
    background: linear-gradient(to left, transparent 30%, var(--primary-color) 80%, var(--primary-color) 95%);
    width: 108%; height: 125%;
    left: 50%; top: 50%;
    content: "";
    will-change: filter;
    border-radius: 100px;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: var(--after-opacity, 0);
}

.brilho2 {
    z-index: 5;
    overflow: hidden;
    border-radius: 100px;
    position: relative;
    background: #e6e6e6 !important; /* light color from source */
    border: 3px solid #fff;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
    color: #000;
    font-weight: 800;
}

.brilho2:hover {
    background: #ffffff !important;
}

.brilho2::before {
    /* Blue to Blue glow as requested (fill with blue, light blue glow) */
    background-image: radial-gradient(43.3% 44.23% at 50% 49.51%, #a0c4ff 10%, var(--accent-color) 40%, var(--primary-color) 70%, transparent 100%);
    filter: blur(12px);
    width: 300px;
    height: 150px;
    content: "";
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 90%); /* Default to the right as requested */
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: top 0.1s ease-out, left 0.1s ease-out; /* Smooth follow */
    border-radius: 100%;
    z-index: 1;
}

.brilho2.hovering::before {
    transition: transform 0.15s ease-out !important;
}

.brilho2 span, .brilho2 i {
    position: relative;
    z-index: 5;
}

/* Tab header style exact refinement */
.showcase-nav {
    display: inline-flex;
    padding: 6px;
    border-radius: 60px;
    gap: 0;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.nav-pill {
    padding: 12px 35px;
    border-radius: 60px;
    background: transparent;
    transition: 0.3s;
    color: rgba(255, 255, 255, 0.4); /* Much more visible dimmed white */
    font-weight: 300;
    border: none !important;
    outline: none !important;
}

.nav-pill.active {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    font-weight: 400; /* Sophisticated thin font weight */
    border: none !important;
    box-shadow: 0 0 50px rgba(86, 142, 197, 0.4), 0 0 100px rgba(86, 142, 197, 0.2);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1050px;
    margin: 0 auto;
}

/* Compact layout enforcement */
.luzpulsante {
    width: 100%;
    height: 220px; /* Restored for balance with text height */
    overflow: hidden;
    border-radius: 20px;
}

/* Sharp corners for Sobre section */
.sobre-img-container .luzpulsante {
    border-radius: 0 !important;
}

.showcase-content {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligns all flex children like buttons */
    text-align: center;
}

.showcase-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.showcase-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    max-width: 90%;
}

@media (max-width: 900px) {
    .luzpulsante { max-height: 220px; }
}

/* Sobre Tab Grid Styling */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Balanced ratio as requested */
    gap: 30px;
    align-items: center;
    background: var(--glass-bg);
    padding: 2px;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    max-width: 850px; /* Restrict width for card-like appearance */
    margin: 0 auto; /* Center the card */
}

.sobre-img-container {
    width: 100%;
    height: 100%;
    min-height: 300px; /* Restored for balancing with text column */
    border-radius: calc(var(--radius-lg) - 2px);
    position: relative;
    overflow: hidden;
}

.sobre-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sobre-content {
    padding: 20px; /* Reduced from 40px */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-content {
    animation: fadeIn 0.4s ease; /* gentle fade for tabs */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .showcase-grid, .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .luzpulsante {
        height: 380px; /* Reduced for mobile but still large */
    }

    .sobre-img-container {
        height: 380px;
        min-height: auto;
    }

    .showcase-content, .sobre-content {
        padding: 30px 20px;
    }

    .showcase-content h3 {
        font-size: 1.8rem;
    }
    
    .showcase-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 25px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 25px 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: none;
    margin-top: 0;
}

.logo-footer {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.logo-footer span.agency {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .bg-glow {
        display: none !important;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-logo-img {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .mobile-break {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0px;
        font-size: 1.1rem;
        text-align: center;
        max-width: 303px;
        margin: 0 auto 40px auto;
        justify-items: center;
        color: #ffffff;
    }

    .hero-features li {
        display: flex;
        align-items: center;
    }

    .hero-features li::before {
        display: inline-block !important; /* Force visibility in grid */
        margin-right: 10px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .social-proof {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        width: 100%;
        height: 300px;
        position: relative;
        margin-top: 0;
    }

    .hero-person {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .hero-person img {
        mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        object-position: center top;
        height: 21rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        width: 2px;
        height: 50px;
        margin: 20px 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Gallery Integration */
.portfolio-gallery {
    padding: 100px 0;
    position: relative;
    background: transparent;
}

.gallery-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    cursor: pointer;
    padding: 10px;
}

.gallery-img-wrapper {
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: #111;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.gallery-overlay h3 {
    font-size: 2rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* Category View Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.template-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.template-img-wrapper {
    height: 240px;
    overflow: hidden;
    background: #000;
    cursor: zoom-in;
}

.template-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.template-card:hover .template-img-wrapper img {
    transform: translateY(-20px);
}

.template-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.template-info h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.btn-visualize {
    margin-top: auto;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-visualize:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-back:hover {
    color: white;
}

/* Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
    .gallery-grid-main {
        padding: 0 20px;
    }
    .gallery-modal {
        padding: 10px;
    }
}