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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #fff;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.style-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.style-card {
    padding: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.style-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.style-card.active {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-color: #4ade80;
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.6);
}

.style-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.style-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 5px;
}

.style-desc {
    font-size: 0.9em;
    opacity: 0.8;
}

.content-area {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    margin-bottom: 30px;
    min-height: 400px;
    animation: fadeIn 0.5s ease;
}

.content-title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.visual-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.visual-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.story-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 4px solid #fbbf24;
}

.story-section h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #fbbf24;
}

.technical-block {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-list {
    list-style: none;
    margin: 15px 0;
}

.tech-list li {
    padding: 10px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding-left: 40px;
    position: relative;
}

.tech-list li:before {
    content: "▸";
    position: absolute;
    left: 15px;
    color: #4ade80;
    font-weight: bold;
}

.interactive-demo {
    background: rgba(74, 222, 128, 0.2);
    border: 2px solid rgba(74, 222, 128, 0.5);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
}

.demo-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin: 10px 5px;
    transition: all 0.3s ease;
}

.demo-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(74, 222, 128, 0.5);
}

.navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.nav-btn {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
