/* styles.css - Estilos Globales para FakeGhost Chile */

:root {
    --primary: #00f7ff;
    --secondary: #0a0a12;
    --accent: #00c8ff;
    --dark: #05050a;
    --light: #ffffff;
    --glow: 0 0 15px rgba(0, 247, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--light);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(5, 5, 10, 0.8) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(5, 5, 10, 0.8) 0%, transparent 20%);
    transition: background 0.5s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header y Navbar */
header {
    background-color: rgba(5, 5, 10, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo {
    width: 80px;
    height: 80px;
    position: relative;
    animation: pulse 3s infinite alternate;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--light);
    text-shadow: 0 0 10px var(--primary);
    animation: glow 2s infinite alternate;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav li {
    white-space: nowrap;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    display: block;
}

nav a:hover, nav a.active {
    color: var(--primary);
    background-color: rgba(0, 247, 255, 0.1);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 70%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 20px var(--primary);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--dark);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 247, 255, 0.5);
    background: linear-gradient(45deg, var(--accent), var(--primary));
}

/* Sections */
section {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Cards */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.card {
    background: rgba(10, 10, 18, 0.7);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 247, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 247, 255, 0.2);
    border-color: var(--primary);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.1), transparent);
    transition: 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.card p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 247, 255, 0.3);
    background: rgba(5, 5, 10, 0.5);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.5);
    background: linear-gradient(45deg, var(--accent), var(--primary));
}

/* Footer */
footer {
    background-color: var(--dark);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 247, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 247, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 247, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 5s infinite ease-in-out;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--primary));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px var(--primary));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--primary));
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px var(--primary);
    }
    to {
        text-shadow: 0 0 20px var(--primary);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0 0 5px var(--primary);
    }
    20% {
        text-shadow: -2px 0 5px var(--primary);
    }
    40% {
        text-shadow: 2px 0 5px var(--primary);
    }
    60% {
        text-shadow: -2px 0 5px var(--primary);
    }
    80% {
        text-shadow: 2px 0 5px var(--primary);
    }
    100% {
        text-shadow: 0 0 5px var(--primary);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--light);
    text-shadow: 0 0 5px var(--primary);
    animation: glitch 2s infinite;
}

/* Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 10, 0.95);
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    nav.active {
        transform: translateY(0);
    }

    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}