/* RESET & BASE */
:root {
    --bg-main: #0f1115;       /* Very dark navy/charcoal */
    --bg-card: #161b22;       /* Slightly lighter */
    --text-primary: #e6edf3;  /* Off-white */
    --text-secondary: #8b949e; /* Muted grey */
    --accent: #2f81f7;        /* Github/Professional Blue */
    --accent-hover: #58a6ff;
    --border: #30363d;
    
    --font-heading: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px; /* Softens images */
}

/* LAYOUT UTILS */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* NAVBAR */
#navbar {
    background-color: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#brand {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

#nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

#nav-links a:hover {
    color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* HERO SECTION */
#hero {
    padding-top: 140px; /* Space for navbar */
    padding-bottom: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}


/* CARDS (Market & Features) */
.card {
    background-color: var(--bg-card);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
}

.card-header {
    margin-bottom: 15px;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(47, 129, 247, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}


/* SPLIT SECTION */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-image {
    flex: 1;
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
}

.feature-list strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* TEAM */
.team-member {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    align-items: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-info .mono-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.7rem;
}

.member-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}


/* FOOTER */
#footer {
    padding: 40px 0;
    text-align: center;
    border-top: none; /* Already has section border */
}

.footer-bottom {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-2, .grid-3, .split-section, .hero-content {
        flex-direction: column;
        display: flex;
        gap: 40px;
    }

    .hero-content {
        flex-direction: column-reverse; /* Text on top on mobile usually better, or image? Let's keep normal order but stacked */
        display: flex;
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    #nav-links {
        display: none; /* Simplified mobile menu handling */
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-step::after {
        display: none;
    }
}

/* PROCESS SECTION - Clean Minimalist */
#folyamat {
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    position: relative;
    margin-top: 40px;
}

.process-step {
    flex: 1;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

/* Connector Line */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-mono);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ Section - Clean Accordion Style */
#gyik {
    background-color: var(--bg-card);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--accent);
    cursor: pointer;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

