/*
Theme Name: CNSistemas Agency Theme
Theme URI: https://www.cnsistemas.com.br
Author: CNSistemas
Author URI: https://www.cnsistemas.com.br
Description: Tema personalizável para agência CNSistemas
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cnsistemas
Tags: agency, business, corporate, modern, responsive, customizer
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Brand Colors */
:root {
    --brand-bg: #000000;
    --brand-blue: #3652F1;
    --brand-cyan: #3652F1;
    --brand-gray: #8A8F98;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

/* Navigation Glass */
.nav-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

/* Cancela Stripes */
.cancela-stripes {
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 102, 255, 0.15),
        rgba(0, 102, 255, 0.15) 20px,
        transparent 20px,
        transparent 40px
    );
}

/* Grid Background */
.bg-grid {
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100000;
}

.skip-link:focus {
    top: 6px;
}

/* Glow Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}
.glow-blue {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0,102,255,0.4) 0%, rgba(0,0,0,0) 70%);
}
.glow-cyan {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0,229,255,0.2) 0%, rgba(0,0,0,0) 70%);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: -1;
    opacity: 0.5;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.logo-svg {
    width: 32px;
    height: 32px;
}

.nav {
    display: flex;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 32px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.nav a {
    color: #8A8F98;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #FFFFFF;
}

.btn-nav {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 0 5%;
    padding-bottom: 40px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8A8F98;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.subtitle .line {
    width: 30px;
    height: 1px;
    background-color: #8A8F98;
}

.title {
    font-size: 5rem;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -2px;
    margin-bottom: 32px;
}

.title-line {
    display: block;
}

.highlight {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.8);
    position: relative;
}

.highlight::before {
    content: 'Design Team';
    position: absolute;
    left: 0;
    top: 0;
    color: #3652F1;
    -webkit-text-stroke: 0;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.description {
    color: #8A8F98;
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 40px;
}

.actions {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

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

.btn.primary:hover {
    background: rgba(255,255,255,0.05);
}

.btn.secondary {
    background: var(--accent-blue);
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(0,102,255,0.4);
}

.btn.secondary:hover {
    background: #0055d4;
    box-shadow: 0 0 30px rgba(0,102,255,0.6);
}

/* Cards Layout */
.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 60px;
}

.cards-row {
    display: flex;
    gap: 16px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.card-value {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
}

.card-value.large {
    font-size: 3.5rem;
}

.card-sub {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 12px;
}

.card-1 {
    flex: 1;
}
.card-2 {
    flex: 1;
}

/* Right Side Image/3D Element */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,229,255,0.3) 0%, rgba(0,102,255,0.1) 40%, transparent 70%);
    filter: blur(40px);
    border-radius: 50%;
    z-index: 1;
}

.main-center-logo {
    width: 100%;
    max-width: 600px;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.4));
}

.logo-path {
    transition: all 0.5s ease;
}

.main-center-logo:hover .logo-path {
    filter: brightness(1.2);
}

/* Right side cards overlays */
.floating-cards {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 3;
    width: 280px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.icon-svg {
    width: 24px;
    height: 24px;
}

.tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    opacity: 0.5;
}

.trusted-logos span {
    font-size: 0.8rem;
    font-weight: 600;
}
