/* ============================================================
   PODOKOMPAS.PL — Style
   Branding: Opcja C (Premium Editorial)
   Czcionki: Lora (headings) + Inter (body)
   Paleta: Indigo #312E81 + Coral #F97316
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
    --indigo: #312E81;
    --indigo-light: #EEF2FF;
    --coral: #F97316;
    --coral-dark: #EA580C;
    --coral-light: #FFF7ED;
    --bg: #FFFBF5;
    --bg-warm: #FEF7ED;
    --text: #27272A;
    --text-secondary: #52525B;
    --text-muted: #71717A;
    --text-faint: #A1A1AA;
    --border: #F0EBE3;
    --white: #ffffff;
    --charcoal: #27272A;
    --green: #16A34A;
    --green-light: #F0FDF4;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
    background: var(--bg);
    border-bottom: 1px solid rgba(49, 46, 129, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--indigo);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--indigo);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    background: var(--bg);
    padding: 80px 0 100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--coral);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--indigo);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

/* ===== SIGNUP FORM ===== */
.signup-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    max-width: 480px;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border: 2px solid rgba(49, 46, 129, 0.15);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}

.signup-form input[type="email"]::placeholder {
    color: var(--text-faint);
}

.signup-form input[type="email"]:focus {
    border-color: var(--indigo);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    background: var(--indigo);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--coral);
    transform: translateY(-1px);
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-note strong {
    color: var(--indigo);
    font-weight: 600;
}

/* ===== NEWSLETTER PREVIEW (hero right) ===== */
.newsletter-preview {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 40px rgba(49, 46, 129, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 40px 36px;
    position: relative;
}

.newsletter-preview::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--indigo), var(--coral));
    border-radius: 16px 16px 0 0;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.preview-logo {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--indigo);
}

.preview-date {
    font-size: 0.75rem;
    color: var(--text-faint);
    font-weight: 500;
}

.preview-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.preview-tag--orange {
    background: var(--coral-light);
    color: var(--coral);
}

.preview-tag--indigo {
    background: var(--indigo-light);
    color: var(--indigo);
}

.preview-item {
    margin-bottom: 22px;
}

.preview-item:last-child {
    margin-bottom: 0;
}

.preview-item h4 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 4px;
    font-weight: 600;
}

.preview-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.preview-divider {
    height: 1px;
    background: var(--border);
    margin: 18px 0;
}

.preview-number {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--indigo);
    line-height: 1;
}

.preview-number-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===== SECTION COMMON ===== */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coral);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--indigo);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 60px;
}

/* ===== WHY SECTION ===== */
.why {
    background: var(--bg-warm);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    transition: box-shadow 0.3s, transform 0.2s;
}

.why-card:hover {
    box-shadow: 0 8px 30px rgba(49, 46, 129, 0.06);
    transform: translateY(-2px);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.why-card-icon--globe { background: var(--indigo-light); }
.why-card-icon--tool { background: var(--coral-light); }
.why-card-icon--clock { background: var(--green-light); }

.why-card h3 {
    font-size: 1.35rem;
    color: var(--indigo);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== INSIDE SECTION ===== */
.inside {
    background: var(--bg);
    padding: 100px 0;
}

.inside-header {
    text-align: center;
    margin-bottom: 64px;
}

.inside-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.inside-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.inside-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.inside-item {
    padding: 28px 0 28px 28px;
    border-left: 3px solid var(--border);
    position: relative;
    transition: border-color 0.3s;
}

.inside-item:hover {
    border-left-color: var(--coral);
}

.inside-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 36px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--coral);
}

.inside-item-number {
    font-family: 'Lora', serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.inside-item h3 {
    font-size: 1.2rem;
    color: var(--indigo);
    margin-bottom: 8px;
}

.inside-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.inside-visual {
    background: var(--white);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 2px 20px rgba(49, 46, 129, 0.05);
    position: sticky;
    top: 100px;
}

.inside-visual-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 20px;
}

.inside-visual h3 {
    font-size: 1.6rem;
    color: var(--indigo);
    margin-bottom: 8px;
}

.inside-visual p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.65;
}

.inside-visual-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-box {
    background: var(--bg-warm);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.stat-box .number {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--indigo);
}

.stat-box .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== FOR WHO SECTION ===== */
.for-who {
    background: var(--bg-warm);
    padding: 100px 0;
}

.for-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.for-who-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    border-top: 4px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.for-who-card:hover {
    border-top-color: var(--coral);
    box-shadow: 0 8px 30px rgba(49, 46, 129, 0.06);
}

.for-who-card-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--coral);
    margin-bottom: 16px;
}

.for-who-card h3 {
    font-size: 1.25rem;
    color: var(--indigo);
    margin-bottom: 12px;
}

.for-who-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.for-who-card ul {
    list-style: none;
    padding: 0;
}

.for-who-card ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.5;
}

.for-who-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    opacity: 0.6;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--bg);
    padding: 100px 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 64px;
}

.faq-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--indigo);
}

.faq-question::after {
    content: '+';
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-faint);
    margin-left: 20px;
    flex-shrink: 0;
    transition: transform 0.3s, color 0.2s;
}

.faq-item.active .faq-question::after {
    content: '-';
    color: var(--coral);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== BOTTOM CTA ===== */
.cta {
    background: var(--indigo);
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta .signup-form {
    justify-content: center;
    max-width: 480px;
    margin: 0 auto 16px;
}

.cta .signup-form input[type="email"] {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.cta .signup-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta .signup-form input[type="email"]:focus {
    border-color: var(--coral);
    background: rgba(255, 255, 255, 0.15);
}

.cta .btn-primary {
    background: var(--coral);
}

.cta .btn-primary:hover {
    background: var(--coral-dark);
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--charcoal);
    padding: 48px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--coral);
}

/* ===== FORM SUCCESS STATE ===== */
.signup-success {
    display: none;
    padding: 16px 24px;
    background: var(--green-light);
    border: 2px solid var(--green);
    border-radius: 8px;
    max-width: 480px;
}

.signup-success p {
    font-size: 0.95rem;
    color: var(--green);
    font-weight: 500;
}

.signup-success.visible {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .why-grid,
    .for-who-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .inside-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .inside-visual {
        position: static;
        order: -1;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 24px;
        border-bottom: 1px solid rgba(49, 46, 129, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        gap: 16px;
    }

    .nav-hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .signup-form {
        flex-direction: column;
    }

    .signup-form input[type="email"],
    .btn-primary {
        width: 100%;
    }

    .newsletter-preview {
        padding: 28px 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .inside-visual-stats {
        grid-template-columns: 1fr;
    }

    .why-card,
    .for-who-card {
        padding: 32px 24px;
    }

    .cta {
        padding: 72px 0;
    }

    .cta .signup-form {
        flex-direction: column;
        padding: 0 8px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 20px 0;
    }
}
