/* ========================================
   MATERIAL DESIGN / FLAT DESIGN
   Kleure: Blou, Grys, Wit
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: #F5F5F5;
    color: #212121;
    line-height: 1.5;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Typografie */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Material Shadow Depths */
.z-depth-1 {
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.06);
}
.z-depth-2 {
    box-shadow: 0 4px 6px -2px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
}
.z-depth-3 {
    box-shadow: 0 6px 10px -4px rgba(0,0,0,0.1), 0 2px 6px -2px rgba(0,0,0,0.08);
}

/* Buttons - Material Style */
.btn-primary {
    display: inline-block;
    background: #1976D2;
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: #1565C0;
    box-shadow: 0 4px 8px -2px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    border: 2px solid #1976D2;
    color: #1976D2;
    font-weight: 600;
    padding: 10px 26px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(25, 118, 210, 0.08);
    border-color: #1565C0;
    color: #1565C0;
}

/* Header - Material */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid #E0E0E0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #1976D2;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.85;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.nav-link {
    color: #616161;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: rgba(25, 118, 210, 0.08);
    color: #1976D2;
}
.nav-link.active {
    background: rgba(25, 118, 210, 0.08);
    color: #1976D2;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    background: white;
    position: relative;
    flex: 5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1565C0;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    color: #0D47A1;
    border-bottom: 3px solid #1976D2;
    display: inline-block;
}

.hero-desc {
    font-size: 1.1rem;
    color: #616161;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Form Card - Material */
.form-card {
    background: white;
    padding: 32px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1976D2;
}

.form-card p {
    color: #757575;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

/* Inputs - Material */
input, textarea {
    width: 100%;
    padding: 12px 16px;
    background: #FAFAFA;
    border: 1px solid #BDBDBD;
    color: #212121;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus {
    border-color: #1976D2;
    border-width: 2px;
    background: white;
    padding: 11px 15px;
}

label {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #616161;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #D32F2F;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
}

/* Sections */
section {
    width: 40%;
    padding: 64px 0;
    min-width: 320px;
}

section:nth-child(odd) {
    width: 50%;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #1565C0;
    letter-spacing: -0.01em;
}

.section-sub {
    text-align: center;
    color: #757575;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1rem;
}

/* Grid 4 columns */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Value Cards - Flat */
.value-card {
    background: white;
    padding: 28px;
    border: 1px solid #E0E0E0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.value-card:hover {
    border-color: #1976D2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1976D2;
    font-weight: 700;
}

/* Income Section */
.income-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.income-list {
    list-style: none;
    margin: 24px 0 32px;
}

.income-list li {
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    font-weight: 500;
    color: #424242;
}

.income-list li::before {
    content: "✓";
    color: #1976D2;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Steps */
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
}

.step {
    background: white;
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    border: 1px solid #E0E0E0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.step:hover {
    border-color: #1976D2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: #1976D2;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.step h3 {
    margin-bottom: 10px;
    color: #212121;
    font-size: 1.2rem;
}

.step p {
    color: #757575;
    font-size: 0.9rem;
}

/* Payouts Logos */
.payouts-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 48px;
    margin-top: 40px;
}

.payouts-logos img {
    width: 150px;
    height: 40px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.payouts-logos img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* FAQ - Material */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}

details {
    background: white;
    padding: 20px 24px;
    border: 1px solid #E0E0E0;
    cursor: pointer;
    transition: all 0.2s ease;
}

details:hover {
    border-color: #1976D2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

summary {
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #212121;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    font-size: 1.5rem;
    color: #1565C0;
    font-weight: 400;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: "−";
}

.faq-answer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #EEEEEE;
    color: #757575;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* CTA Bottom */
.cta-bottom {
    margin: 100% 40px;
    background: #E3F2FD;
    text-align: center;
    padding: 52px 32px;
    border: 1px solid #BBDEFB;
}

.cta-bottom p {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1565C0;
}

/* Footer - Material */
.footer {
    background: #FAFAFA;
    border-top: 1px solid #E0E0E0;
    padding: 48px 0 24px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1976D2;
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}

.footer-nav a {
    display: block;
    color: #757575;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #1976D2;
    transform: translateX(4px);
}
.footer-nav a.active {
    color: #1976D2;
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 8px;
    color: #757575;
    font-size: 0.9rem;
}

.footer-contact a {
    text-decoration: none;
    color: #1976D2;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #0D47A1;
}

.company-reg {
    font-size: 0.75rem;
    color: #9E9E9E;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E0E0E0;
}

.copy {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #E0E0E0;
    color: #9E9E9E;
    font-size: 0.8rem;
}

/* Success Message */
#successMessage {
    margin-top: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
    color: white;
    border-radius: 60px;
    font-weight: 600;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 20px 35px -12px #E0E0E0;
    font-size: 1rem;
}

#successMessage.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-grid, .income-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.6rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 800px) {
    section {
        width: 100% !important;
    }
    .hero-title { font-size: 2.2rem; }
    .hero { padding: 40px 0 60px; }
    .section-title { font-size: 1.8rem; }
    .container { padding: 0 20px; }
    .form-card { padding: 24px; }
    .cta-bottom p { font-size: 1.3rem; }
    .steps { flex-direction: column; gap: 16px; }
    .step { min-width: auto; }
    .payouts-logos { gap: 24px; }
    .grid-4 { gap: 16px; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 0.95rem; }
    .header-inner { flex-direction: column; gap: 12px; }
    .btn-primary, .btn-outline { padding: 8px 20px; font-size: 0.85rem; }
    .value-card { padding: 20px; }
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.value-card, .step, .form-card {
    animation: fadeInUp 0.4s ease-out forwards;
}
