/* GRINGO XP - Design Moderno 3D */

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

:root {
    --primary-red: #ff0000;
    --dark-red: #cc0000;
    --light-red: #ff3333;
    --pure-white: #ffffff;
    --pure-black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #333333;
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --shadow-red: rgba(255, 0, 0, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--pure-black);
    color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
    perspective: 1000px;
}

/* Fundo 3D com profundidade */
.bg-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #000000 0%, #1a0000 25%, #330000 50%, #1a0000 75%, #000000 100%);
    background-size: 400% 400%;
    animation: bg3DShift 20s ease infinite;
}

@keyframes bg3DShift {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* Elementos 3D flutuantes */
.floating-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cube-3d {
    position: absolute;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}

.cube-3d .face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-red), transparent);
    border: 2px solid var(--primary-red);
    opacity: 0.3;
}

.cube-3d .face.front { transform: translateZ(30px); }
.cube-3d .face.back { transform: translateZ(-30px) rotateY(180deg); }
.cube-3d .face.right { transform: rotateY(90deg) translateZ(30px); }
.cube-3d .face.left { transform: rotateY(-90deg) translateZ(30px); }
.cube-3d .face.top { transform: rotateX(90deg) translateZ(30px); }
.cube-3d .face.bottom { transform: rotateX(-90deg) translateZ(30px); }

.cube-3d:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.cube-3d:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 25s;
}

.cube-3d:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 18s;
}

.cube-3d:nth-child(4) {
    bottom: 15%;
    right: 25%;
    animation-delay: 15s;
    animation-duration: 22s;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* Partículas 3D */
.particle-3d {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red);
    animation: float3D 12s infinite ease-in-out;
}

.particle-3d:nth-child(5) { left: 15%; animation-delay: 0s; }
.particle-3d:nth-child(6) { left: 25%; animation-delay: 2s; }
.particle-3d:nth-child(7) { left: 35%; animation-delay: 4s; }
.particle-3d:nth-child(8) { left: 45%; animation-delay: 6s; }
.particle-3d:nth-child(9) { left: 55%; animation-delay: 8s; }
.particle-3d:nth-child(10) { left: 65%; animation-delay: 10s; }
.particle-3d:nth-child(11) { left: 75%; animation-delay: 12s; }
.particle-3d:nth-child(12) { left: 85%; animation-delay: 14s; }

@keyframes float3D {
    0% {
        transform: translateY(100vh) translateZ(0px) rotateX(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateZ(50px) rotateX(45deg);
    }
    50% {
        transform: translateY(50vh) translateZ(100px) rotateX(180deg);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateZ(50px) rotateX(315deg);
    }
    100% {
        transform: translateY(-10vh) translateZ(0px) rotateX(360deg);
        opacity: 0;
    }
}

/* Header 3D */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 30px var(--shadow-dark);
    transform-style: preserve-3d;
}

.navbar {
    padding: 1rem 0;
    transform: translateZ(20px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pure-white);
    text-decoration: none;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateZ(10px) rotateY(5deg);
}

.nav-logo i {
    color: var(--primary-red);
    margin-right: 0.8rem;
    font-size: 2.5rem;
    animation: logoGlow3D 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes logoGlow3D {
    0%, 100% {
        text-shadow: 0 0 20px var(--primary-red), 0 0 40px var(--primary-red);
        transform: rotateY(0deg) translateZ(0px);
    }
    50% {
        text-shadow: 0 0 30px var(--primary-red), 0 0 60px var(--primary-red), 0 0 80px var(--primary-red);
        transform: rotateY(180deg) translateZ(10px);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-red), transparent);
    border-radius: 10px;
    opacity: 0;
    transform: translateZ(-5px);
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateZ(15px) rotateX(5deg);
    color: var(--pure-white);
}

.nav-link:hover::before {
    opacity: 0.2;
}

.nav-cta {
    background: linear-gradient(45deg, var(--primary-red), var(--pure-white));
    color: var(--pure-black);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform-style: preserve-3d;
    box-shadow: 0 10px 20px var(--shadow-red);
}

.nav-cta:hover {
    transform: translateZ(20px) rotateX(-5deg) scale(1.05);
    box-shadow: 0 20px 40px var(--shadow-red);
}

/* Hero Section 3D */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    transform-style: preserve-3d;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    transform: translateZ(30px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    transform-style: preserve-3d;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    transform: translateZ(40px);
}

.hero-title .main-text {
    background: linear-gradient(45deg, var(--primary-red), var(--pure-white));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow3D 3s ease-in-out infinite;
    display: block;
    transform-style: preserve-3d;
}

@keyframes textGlow3D {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6));
        transform: translateZ(0px);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 0, 0, 1));
        transform: translateZ(20px);
    }
}

.hero-subtitle {
    display: block;
    font-size: 1.8rem;
    color: var(--pure-white);
    margin-top: 1rem;
    opacity: 0.9;
    transform: translateZ(20px);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
    transform: translateZ(25px);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    transform: translateZ(35px);
}

.btn-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform-style: preserve-3d;
    font-size: 1.1rem;
}

.btn-primary-3d {
    background: linear-gradient(45deg, var(--primary-red), var(--pure-white));
    color: var(--pure-black);
    box-shadow: 0 15px 30px var(--shadow-red);
}

.btn-primary-3d:hover {
    transform: translateZ(25px) rotateX(-10deg) scale(1.05);
    box-shadow: 0 25px 50px var(--shadow-red);
}

.btn-secondary-3d {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
    box-shadow: 0 15px 30px var(--shadow-dark);
}

.btn-secondary-3d:hover {
    transform: translateZ(25px) rotateX(-10deg) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px var(--shadow-dark);
}

.btn-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    transform: translateZ(-1px);
}

.btn-3d:hover::before {
    left: 100%;
}

/* Estatísticas 3D */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    transform: translateZ(30px);
}

.stat-3d {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-3d:hover {
    transform: translateZ(20px) rotateX(5deg);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px var(--shadow-red);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--primary-red);
    animation: numberPulse3D 2s ease-in-out infinite;
    transform: translateZ(10px);
}

@keyframes numberPulse3D {
    0%, 100% { 
        transform: translateZ(10px) scale(1); 
        text-shadow: 0 0 20px var(--primary-red);
    }
    50% { 
        transform: translateZ(20px) scale(1.1); 
        text-shadow: 0 0 40px var(--primary-red);
    }
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--pure-white);
    margin-top: 0.5rem;
    transform: translateZ(5px);
}

/* Visual 3D do Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: translateZ(50px);
}

.phone-3d {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, var(--dark-gray), var(--pure-black));
    border-radius: 40px;
    padding: 25px;
    box-shadow: 
        0 30px 60px var(--shadow-dark),
        inset 0 2px 10px rgba(255, 0, 0, 0.1);
    position: relative;
    animation: phoneFloat3D 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes phoneFloat3D {
    0%, 100% { 
        transform: translateY(0px) rotateY(0deg) rotateX(0deg); 
    }
    25% { 
        transform: translateY(-20px) rotateY(5deg) rotateX(2deg); 
    }
    50% { 
        transform: translateY(-10px) rotateY(0deg) rotateX(-2deg); 
    }
    75% { 
        transform: translateY(-25px) rotateY(-5deg) rotateX(2deg); 
    }
}

.phone-screen-3d {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--pure-black), var(--dark-gray));
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--primary-red);
    position: relative;
    overflow: hidden;
    transform: translateZ(10px);
}

.phone-screen-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    animation: screenGlow 3s ease-in-out infinite;
}

@keyframes screenGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.app-preview-3d {
    text-align: center;
    color: var(--pure-white);
    z-index: 2;
    transform: translateZ(15px);
}

.app-preview-3d i {
    font-size: 5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    animation: appIconRotate3D 6s linear infinite;
    transform-style: preserve-3d;
}

@keyframes appIconRotate3D {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(90deg) rotateX(15deg); }
    50% { transform: rotateY(180deg) rotateX(0deg); }
    75% { transform: rotateY(270deg) rotateX(-15deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

.app-preview-3d span {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-red);
}

/* Elementos flutuantes 3D */
.floating-elements-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-style: preserve-3d;
}

.floating-icon-3d {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.1);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    font-size: 2rem;
    animation: floatAround3D 12s ease-in-out infinite;
    transform-style: preserve-3d;
    backdrop-filter: blur(5px);
}

.floating-icon-3d:nth-child(1) {
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}

.floating-icon-3d:nth-child(2) {
    top: 25%;
    left: -15%;
    animation-delay: 3s;
}

.floating-icon-3d:nth-child(3) {
    bottom: 25%;
    right: -15%;
    animation-delay: 6s;
}

.floating-icon-3d:nth-child(4) {
    bottom: 5%;
    left: 5%;
    animation-delay: 9s;
}

@keyframes floatAround3D {
    0%, 100% {
        transform: translateY(0px) translateZ(0px) rotateY(0deg) rotateX(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) translateZ(50px) rotateY(90deg) rotateX(15deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-15px) translateZ(100px) rotateY(180deg) rotateX(0deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-40px) translateZ(50px) rotateY(270deg) rotateX(-15deg);
        opacity: 1;
    }
}

/* Features Section 3D */
.features {
    padding: 120px 0;
    position: relative;
    transform-style: preserve-3d;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    transform: translateZ(20px);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    transform: translateZ(30px);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-red), var(--pure-white));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow3D 4s ease-in-out infinite;
}

@keyframes titleGlow3D {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5));
        transform: translateZ(0px);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.8));
        transform: translateZ(15px);
    }
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    transform-style: preserve-3d;
}

.feature-card-3d {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 0, 0, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    backdrop-filter: blur(10px);
}

.feature-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    transition: left 0.6s;
    transform: translateZ(-1px);
}

.feature-card-3d:hover::before {
    left: 100%;
}

.feature-card-3d:hover {
    transform: translateZ(30px) rotateX(5deg) rotateY(2deg);
    border-color: var(--primary-red);
    box-shadow: 0 30px 60px var(--shadow-red);
}

.feature-icon-3d {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-red), var(--pure-white));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--pure-black);
    animation: iconFloat3D 8s ease-in-out infinite;
    transform-style: preserve-3d;
    box-shadow: 0 15px 30px var(--shadow-red);
}

@keyframes iconFloat3D {
    0%, 100% { 
        transform: translateZ(0px) rotateY(0deg); 
        box-shadow: 0 15px 30px var(--shadow-red);
    }
    50% { 
        transform: translateZ(20px) rotateY(180deg); 
        box-shadow: 0 25px 50px var(--shadow-red);
    }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pure-white);
    transform: translateZ(10px);
}

.feature-description {
    opacity: 0.8;
    line-height: 1.7;
    transform: translateZ(5px);
}

/* Download Section 3D */
.download {
    padding: 120px 0;
    background: rgba(255, 0, 0, 0.05);
    position: relative;
    transform-style: preserve-3d;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    transform: translateZ(25px);
}

.download-info {
    transform-style: preserve-3d;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--pure-white);
    transform: translateZ(20px);
}

.download-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
    transform: translateZ(15px);
}

.download-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    transform: translateZ(10px);
}

.spec-3d {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.spec-3d:hover {
    transform: translateZ(15px) rotateX(3deg);
    border-color: var(--primary-red);
    box-shadow: 0 15px 30px var(--shadow-red);
}

.spec-3d i {
    color: var(--primary-red);
    font-size: 1.5rem;
    transform: translateZ(5px);
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    transform: translateZ(25px);
}

/* Download Visual 3D */
.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(30px);
}

.download-card-3d {
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid var(--primary-red);
    border-radius: 25px;
    padding: 2.5rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 30px 60px var(--shadow-red);
    animation: cardFloat3D 6s ease-in-out infinite;
    transform-style: preserve-3d;
    backdrop-filter: blur(15px);
}

@keyframes cardFloat3D {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg); 
        box-shadow: 0 30px 60px var(--shadow-red);
    }
    33% { 
        transform: translateY(-15px) rotateX(2deg) rotateY(1deg); 
        box-shadow: 0 40px 80px var(--shadow-red);
    }
    66% { 
        transform: translateY(-10px) rotateX(-1deg) rotateY(-1deg); 
        box-shadow: 0 35px 70px var(--shadow-red);
    }
}

.card-header-3d {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
    transform: translateZ(15px);
}

.card-header-3d i {
    font-size: 2.5rem;
    color: var(--primary-red);
    animation: headerIconSpin 8s linear infinite;
}

@keyframes headerIconSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.card-body-3d {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    transform: translateZ(10px);
}

.app-icon-3d {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-red), var(--pure-white));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--pure-black);
    box-shadow: 0 10px 20px var(--shadow-red);
    animation: appIconBounce 4s ease-in-out infinite;
}

@keyframes appIconBounce {
    0%, 100% { transform: translateZ(0px) scale(1); }
    50% { transform: translateZ(10px) scale(1.1); }
}

.app-info-3d h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--pure-white);
}

.app-info-3d p {
    opacity: 0.8;
    margin-bottom: 0.8rem;
}

.rating-3d {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rating-3d i {
    color: #ffd700;
    font-size: 1.2rem;
    animation: starTwinkle 2s ease-in-out infinite;
}

.rating-3d i:nth-child(1) { animation-delay: 0s; }
.rating-3d i:nth-child(2) { animation-delay: 0.2s; }
.rating-3d i:nth-child(3) { animation-delay: 0.4s; }
.rating-3d i:nth-child(4) { animation-delay: 0.6s; }
.rating-3d i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.rating-3d span {
    margin-left: 0.8rem;
    font-weight: 700;
    color: var(--pure-white);
    font-size: 1.1rem;
}

.card-footer-3d {
    text-align: center;
    transform: translateZ(5px);
}

.security-badge-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 2px solid rgba(0, 255, 0, 0.4);
    font-size: 1rem;
    font-weight: 600;
    animation: securityPulse 3s ease-in-out infinite;
}

@keyframes securityPulse {
    0%, 100% { 
        border-color: rgba(0, 255, 0, 0.4); 
        box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    }
    50% { 
        border-color: rgba(0, 255, 0, 0.8); 
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
    }
}

/* Footer 3D */
.footer {
    background: var(--pure-black);
    border-top: 2px solid rgba(255, 0, 0, 0.3);
    padding: 4rem 0 2rem;
    transform-style: preserve-3d;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    transform: translateZ(15px);
}

.footer-brand {
    transform-style: preserve-3d;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    transform: translateZ(10px);
}

.footer-logo i {
    color: var(--primary-red);
    margin-right: 1rem;
    font-size: 2.5rem;
    animation: footerLogoGlow 5s ease-in-out infinite;
}

@keyframes footerLogoGlow {
    0%, 100% { text-shadow: 0 0 20px var(--primary-red); }
    50% { text-shadow: 0 0 40px var(--primary-red), 0 0 60px var(--primary-red); }
}

.footer-description {
    opacity: 0.8;
    line-height: 1.7;
    transform: translateZ(5px);
}

.footer-column h4 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    transform: translateZ(8px);
}

.footer-column a {
    display: block;
    color: var(--pure-white);
    text-decoration: none;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    transform-style: preserve-3d;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-red);
    transform: translateX(10px) translateZ(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    opacity: 0.6;
    transform: translateZ(5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .download-specs {
        grid-template-columns: 1fr;
    }
    
    .phone-3d {
        width: 280px;
        height: 560px;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Seleção de texto */
::selection {
    background: var(--primary-red);
    color: var(--pure-white);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pure-black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-red), var(--pure-white));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

