:root {
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --accent: #E1FF00;
    /* Neon yellow */
    --accent-hover: #C5E600;
    --border: #333333;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--accent);
    z-index: -1;
    opacity: 0.8;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.9), transparent);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.header-title {
    font-weight: 300;
    color: var(--text-muted);
}

/* Sections */
main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9rem 2rem 4rem;
}

.section {
    display: none;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out forwards;
}

.section.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

/* Forms */
.form-grid {
    display: grid;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.hint {
    font-size: 0.9rem;
    color: var(--text-muted);
}

input[type="text"],
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(225, 255, 0, 0.05);
}

/* Buttons */
button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(225, 255, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Spectrum Sliders */
.spectrum-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 12px;
}

.spectrum-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.spectrum-item .label {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 600;
}

.spectrum-item .left {
    text-align: right;
}

.spectrum-item .right {
    text-align: left;
}

.slider {
    flex: 2;
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border);
    outline: none;
    border-radius: 2px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(225, 255, 0, 0.5);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Competitors */
.competitor-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.competitor-card h3 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

/* Positioning Map */
.positioning-map {
    position: relative;
    margin-top: 4rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid var(--border);
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.axis-x,
.axis-y {
    position: absolute;
    background: var(--border);
}

.axis-x {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
}

.axis-y {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
}

.map-label {
    position: absolute;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px;
}

.map-label.top {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.map-label.bottom {
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.map-label.left {
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    text-align: right;
}

.map-label.right {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
}

.map-point {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: box-shadow 0.3s;
    z-index: 10;
}

.map-point:hover {
    z-index: 20;
}

.map-point.own-target {
    background: var(--accent);
    box-shadow: 0 0 20px rgba(225, 255, 0, 0.6);
    width: 28px;
    height: 28px;
}

.map-point.own-current {
    background: transparent;
    border: 4px solid var(--accent);
    box-shadow: inset 0 0 10px rgba(225, 255, 0, 0.2), 0 0 20px rgba(225, 255, 0, 0.2);
    width: 28px;
    height: 28px;
}

.map-point.comp {
    background: var(--text-main);
    width: 20px;
    height: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.map-point::after {
    content: attr(data-name);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    pointer-events: none;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.8);
}

#success-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 18, 18, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none !important;
}

/* For PDF Export */
.pdf-mode {
    background: var(--bg-dark);
    color: var(--text-main);
}

.pdf-mode .content-wrapper {
    box-shadow: none;
    border: none;
    max-width: 100%;
}

.pdf-mode .section {
    display: flex;
    min-height: auto;
    page-break-after: always;
    break-after: page;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pdf-mode input,
.pdf-mode textarea {
    border-color: #333;
    color: #fff;
    background: transparent;
}

/* Roadmap */
.roadmap-container {
    position: relative;
    padding: 2rem 0;
    margin-top: 3rem;
    overflow-x: auto;
}

.roadmap-line {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    z-index: 1;
}

.roadmap-points {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    min-width: 600px;
    /* To allow scrolling on small screens */
}

.roadmap-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18%;
    gap: 1rem;
}

.roadmap-point .tick {
    width: 2px;
    height: 24px;
    background: #000;
    /* Contrast against the yellow line */
    margin-top: -10px;
}

.roadmap-point .label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.roadmap-point textarea {
    font-size: 0.9rem;
    padding: 0.8rem;
}

/* Golden Circle */
.golden-circle-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.circle-layer {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 50px;
    border: 2px solid var(--accent);
}

.circle-mit {
    border-width: 2px;
    opacity: 0.8;
}

.circle-hogyan {
    border-width: 4px;
    opacity: 0.9;
}

.circle-miert {
    border-width: 6px;
    background: rgba(225, 255, 0, 0.05);
}

.circle-label {
    font-weight: 800;
    font-size: 1.2rem;
    min-width: 80px;
    text-align: right;
    color: var(--accent);
}

.circle-layer textarea {
    flex: 1;
    border-radius: 20px;
    height: 60px;
    padding: 1rem 1.5rem;
    resize: none;
}

/* Values */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.value-line {
    height: 4px;
    background: var(--accent);
    width: 100%;
    border-radius: 2px;
}

/* Top 5 Values */
.top5-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.top5-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(225, 255, 0, 0.3);
    flex-shrink: 0;
}

.top5-badge .top-text {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.top5-badge .number {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin: -10px 0;
}

.top5-badge .bottom-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.top5-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.line-input {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #555 !important;
    border-radius: 0 !important;
    padding: 0.5rem 0 !important;
    font-size: 1.2rem !important;
    transition: border-color 0.3s !important;
}

.line-input:focus {
    border-bottom-color: var(--accent) !important;
    box-shadow: none !important;
}

/* PDF adjustments for new sections */
.pdf-mode .circle-layer {
    border-color: #000;
}

.pdf-mode .top5-badge {
    background: none;
    border: 4px solid #000;
    color: #000;
}

.pdf-mode .roadmap-line {
    background: #000;
}

.pdf-mode .value-line {
    background: #000;
}

/* Cover Sections (Intro & Sprint) */
.cover-wrapper {
    background-color: var(--accent);
    color: #000;
    border-radius: 20px;
    padding: 6rem 4rem;
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cover-wrapper h1 {
    color: #000;
    text-align: left;
    font-size: 6.5rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    z-index: 2;
}

.cover-wrapper .subtitle-layout {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.cover-wrapper .subtitle-cover {
    text-align: right;
    font-size: 2.2rem;
    color: #333;
    font-weight: 400;
    margin: 0;
}

.cover-wrapper .cover-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 3rem;
}

.cover-wrapper .logo-bottom {
    flex-shrink: 0;
}

.cover-wrapper .logo-bottom img {
    height: 90px;
    filter: brightness(0);
}

.cover-wrapper .nav-buttons-cover {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cover-wrapper .btn-secondary {
    border: 2px solid #000;
    color: #000;
    background: transparent;
}

.cover-wrapper .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.cover-wrapper .btn-primary {
    background: #000;
    color: var(--accent);
}

.cover-wrapper .btn-primary:hover {
    background: #222;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}