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

:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f5f5f5;
    --accent-bg: #e8e8e8;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --accent-color: #2a2a2a;
    --accent-muted: #666666;
    --border-color: #c7c7c7;
    --shadow-light: rgba(0, 0, 0, 0.12);
    --highlighter-yellow: #ffeb3b;
    --highlighter-orange: #ff9800;
    --highlighter-green: #ff1493;
    --chaos-pink: #e91e63;
    --chaos-purple: #9c27b0;
    --chaos-cyan: #00bcd4;
}

body {
    font-family: 'Consolas', 'Monaco', 'Lucida Console', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Chaos Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 0, 0, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
}

.glitch::before {
    animation: glitch-1 2s infinite;
    color: var(--chaos-pink);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 2s infinite;
    color: var(--chaos-cyan);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% { transform: translate(0); }
    15% { transform: translate(-2px, 0); }
    49% { transform: translate(2px, 0); }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% { transform: translate(0); }
    21% { transform: translate(2px, 0); }
    62% { transform: translate(-2px, 0); }
}

/* Chaotic Highlighter Effects */
.highlight {
    background: linear-gradient(110deg, transparent 0%, transparent 10%, var(--highlighter-yellow) 10%, var(--highlighter-yellow) 90%, transparent 90%, transparent 100%);
    padding: 2px 6px;
    margin: 0 2px;
    display: inline-block;
    transform: rotate(-2.3deg);
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 0 2px rgba(255, 235, 59, 0.3);
}

.highlight:nth-child(2n) {
    transform: rotate(1.8deg);
}

.highlight:nth-child(3n) {
    transform: rotate(-0.9deg);
}

.highlight-green {
    background: linear-gradient(110deg, transparent 0%, transparent 10%, var(--highlighter-green) 10%, var(--highlighter-green) 90%, transparent 90%, transparent 100%);
    box-shadow: 0 0 0 2px rgba(255, 20, 147, 0.3);
    transform: rotate(2.1deg);
}

.highlight-orange {
    background: linear-gradient(110deg, transparent 0%, transparent 10%, var(--highlighter-orange) 10%, var(--highlighter-orange) 90%, transparent 90%, transparent 100%);
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.3);
    transform: rotate(-1.7deg);
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: var(--primary-bg);
    border-bottom: 2px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.logo h1 a {
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.hero-logo {
    margin-bottom: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: inline-block;
    position: relative;
}

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

/* Hero Section */
.hero {
    background: var(--primary-bg);
    padding: 2rem;
    text-align: center;
    margin-top: 80px;
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--primary-bg);
}

/* Page Content */
.page-content {
    margin-top: 80px;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.about p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.about-expanded {
    margin-top: 3rem;
}

.about-expanded p {
    margin-bottom: 1.5rem;
}

/* Product Section */
.product {
    padding: 5rem 0;
    background: var(--primary-bg);
}

/* FASE Hero Section */
.fase-hero {
    background: var(--primary-bg);
    padding: 2rem;
    margin-top: 80px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fase-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.fase-icon {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fase-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.fase-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.fase-image {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.fase-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
}

.fase-video {
    margin-bottom: 3rem;
}

.video-intro {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.fase-video iframe {
    width: 800px;
    height: 600px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.video-container iframe {
    flex: 1;
    max-width: 560px;
    width: 560px;
    height: 315px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.fase-specs {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--secondary-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.fase-specs h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.formats-section h4,
.req-platform h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.format-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.format-list li {
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.format-badge {
    background: var(--text-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    min-width: 80px;
    text-align: center;
}

.requirements-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.req-platform ul {
    list-style: none;
    padding: 0;
}

.req-platform li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-weight: 500;
}

.fase-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

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

.product-info h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.features li:before {
    content: "•";
    color: var(--text-secondary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 2px solid var(--border-color);
    transform: rotate(-1deg);
    position: relative;
    overflow: hidden;
}

.product-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
}

.product-placeholder span {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    z-index: 1;
    position: relative;
}

.product-cta {
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--secondary-bg);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

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

.cta-button {
    display: inline-block;
    background: var(--text-primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border: 2px solid var(--text-primary);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transform: rotate(-0.5deg);
}

/* Footer */
footer {
    background: var(--primary-bg);
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    margin-top: auto;
}

footer p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .product-info h2 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 6rem 1rem 4rem;
    }
    
    .about, .product, .contact {
        padding: 3rem 0;
    }
    
    nav {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-links {
        font-size: 0.8rem;
    }
    
    .fase-content h2 {
        font-size: 2.5rem;
    }
    
    .fase-icon {
        width: 60px;
        height: 60px;
    }
    
    .fase-video iframe {
        width: 100%;
        height: 350px;
    }
    
    .video-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .video-container iframe {
        width: 100%;
        max-width: 100%;
        height: 250px;
    }
    
    .video-intro {
        font-size: 1.3rem;
    }
    
    .fase-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    
    .format-list {
        justify-content: flex-start;
        gap: 0.8rem;
    }
    
    .fase-specs {
        padding: 1.5rem;
    }
    
    .fase-specs h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .product-placeholder {
        width: 250px;
        height: 150px;
    }
    
    .about h2, .contact h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .fase-content h2 {
        font-size: 2rem;
    }
    
    .fase-icon {
        width: 50px;
        height: 50px;
    }
    
    .fase-video iframe {
        height: 280px;
    }
    
    .video-container iframe {
        height: 200px;
    }
    
    .video-intro {
        font-size: 1.2rem;
    }
    
    .fase-specs {
        padding: 1rem;
    }
    
    .fase-specs h3 {
        font-size: 1.3rem;
    }
    
    .format-badge {
        min-width: 70px;
        font-size: 0.7rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Subtle animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .about h2, .product-info, .contact h2 {
    animation: fadeInUp 0.8s ease-out;
} 