:root {
    /* Palette: HirXpert Style (Gold, Teal, Dark Grays) */

    /* Primary: Golden Yellow (CTA, Accents) */
    --primary: #F9D67B;
    --primary-hover: #e5c46b;
    --primary-text: #222222;

    /* Secondary/Accent: Deep Teal (Icons, Links) */
    --accent-color: #014E4E;
    --accent-light: #e6eded;
    --accent-hover: #013a3a;

    /* Neutrals */
    --text-main: #222222;
    --text-light: #666666;
    --text-white: #ffffff;

    --bg-body: #ffffff;
    --bg-section: #F9F9F9;
    --bg-card: #ffffff;
    --bg-footer: #111111;

    /* Borders */
    --border-color: #eeeeee;
    --border-focus: var(--accent-color);

    /* Shadows (Soft & Subtle) */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.07);
    --shadow-float: 0 20px 50px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-serious: 'Poltawski Nowy', serif;
    --font-headings: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --radius-pill: 50px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--bg-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

h1,
h2 {
    font-family: var(--font-serious);
    font-weight: 700;
    line-height: 1.1;
    color: #222222;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 5.5rem;
}

h2 {
    font-size: 3.5rem;
}

h3,
h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.3;
    color: #222222;
}

h3 {
    font-size: 1.5rem;
}

em {
    font-family: var(--font-serious);
    font-style: italic;
    font-weight: 600;
    color: inherit;
}

h3 {
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

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

/* Utilities */
.section-padding {
    padding: 7rem 0;
}

.section-bg {
    background-color: var(--bg-section);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-text);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: #222222;
    color: white;
}

.btn-outline:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.btn-text {
    background: none;
    color: var(--accent-color);
    padding: 0.75rem 0;
    border-radius: 0;
    font-weight: 700;
}

.btn-text:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.btn-large {
    padding: 1.125rem 3rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 800;
    color: #222222;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    color: #222222;
}

.shield-path {
    fill: url(#shield-gradient);
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
}

.nav a:not(.btn) {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s;
}

.nav a:not(.btn):hover {
    color: var(--primary);
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav a:not(.btn):hover::after,
.nav a:not(.btn).active::after {
    width: 100%;
}

.nav a:not(.btn).active {
    color: var(--accent-color);
}

.logo-text {
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Hero Section */
.hero {
    padding: 6.5rem 0 8rem;
    text-align: center;
    background:
        /* Subtle Grid */
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        /* Mesh Gradients */
        radial-gradient(at 0% 0%, rgba(249, 214, 123, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(1, 78, 78, 0.05) 0px, transparent 50%),
        #ffffff;
    background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%, 100% 100%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* Vibrant Gold Blob */
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(249, 214, 123, 0.25), transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: float-blob-1 15s ease-in-out infinite alternate;
}

.hero::after {
    /* Vibrant Teal Blob */
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle at center, rgba(1, 78, 78, 0.12), transparent 70%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    animation: float-blob-2 20s ease-in-out infinite alternate-reverse;
}

/* Decorative circles */
.hero-decorative-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    animation: circle-pulse 10s ease-in-out infinite alternate;
}

@keyframes circle-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.6;
    }
}

.circle-1 {
    width: 400px;
    height: 400px;
    animation-delay: 0s;
}

.circle-2 {
    width: 700px;
    height: 700px;
    animation-delay: -2s;
}

.circle-3 {
    width: 1000px;
    height: 1000px;
    animation-delay: -4s;
}

/* Decorative circles */
.hero::before,
.hero::after {
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Let's add a decorative element for circles in index.html to be safe and clean */

@keyframes float-blob-1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-50px, 40px) scale(1.1) rotate(5deg);
    }

    100% {
        transform: translate(30px, -20px) scale(0.95) rotate(-50deg);
    }
}

@keyframes float-blob-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -60px) scale(1.15);
    }

    100% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #222222;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3.5rem;
}

/* Hero Stats Section */
.hero-stats {
    margin-top: 6rem;
    padding-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 20;
}

.stat-list {
    display: flex;
    justify-content: center;
    gap: 6rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-family: var(--font-serious);
    font-size: 3.8rem;
    font-weight: 700;
    color: #222222;
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* Features */
.features {
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    margin-bottom: 2rem;
    color: var(--accent-color);
    background: var(--accent-light);
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: var(--primary);
    color: var(--primary-text);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* How it works */
.how-it-works {
    background: linear-gradient(180deg, var(--bg-section) 0%, #ffffff 100%);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1.5rem;
    z-index: 1;
}

.step-number {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    color: var(--primary-text);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.step-separator {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 1.75rem;
    position: relative;
    z-index: 0;
}

/* Generator Form */
.generator-section {
    background-color: #F0F9FF;
    /* Very light cool blue/white */
    background: radial-gradient(circle at top, #f8fafc, #f1f5f9);
}

.generator-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.generator-header {
    background: var(--accent-color);
    padding: 3rem 3.5rem 2rem;
    border-bottom: none;
}

.generator-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.progress-bar-container {
    height: 6px;
    background: #E2E8F0;
    border-radius: 4px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.will-form {
    padding: 3.5rem;
}

.form-step {
    display: none;
    animation: slideUp 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.form-step h3 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #222222;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.2s;
    background-color: #FCFCFC;
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #ef4444;
    background-color: #fffafb;
}

.form-group input.input-error:focus,
.form-group select.input-error:focus,
.form-group textarea.input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    font-weight: 500;
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

/* Gender Switcher */
.gender-switcher {
    display: flex;
    gap: 1rem;
}

.gender-switcher .radio-label {
    cursor: pointer;
    flex: 1;
}

.gender-switcher input[type="radio"] {
    display: none;
}

.gender-switcher .radio-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-light);
    background: #FCFCFC;
}

.gender-switcher input[type="radio"]:checked+.radio-btn {
    background-color: var(--accent-light);
    color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
}

.gender-switcher.input-error .radio-btn {
    border-color: #ef4444;
}

/* Specific Bequests (Step 3) - Standardized UI */
.item-entry {
    animation: fadeIn 0.4s ease;
}

.step-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

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

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

label.checkbox-label {
    display: flex;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    margin-bottom: 0;
    font-weight: 400;
    color: var(--text-main);
}

.checkbox-label:hover {
    background: var(--bg-section);
}

.checkbox-label input {
    margin: 0;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.form-actions {
    margin-top: 3.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.hidden {
    display: none;
}

.hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}


.info-box {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 1.75rem;
    background: #fef3c7;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.hint-warning {
    font-size: 0.9rem;
    color: #b91c1c;
    margin-bottom: 1.75rem;
    background: #fef2f2;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
}


.heir-entry {
    background: #F8FAFC;
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: border-color 0.2s;
}

.heir-entry:hover {
    border-color: #CBD5E1;
}

.will-content-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 4rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.15rem;
    line-height: 2.2;
    color: #222222;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    white-space: pre-wrap;
    position: relative;
    border-radius: var(--radius-md);
}

.will-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    bottom: 0;
    width: 2px;
    background: #E2E8F0;
    /* Subtle guide line */
}

.content-blurred {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
    opacity: 0.6;
    transition: all 0.6s ease;
}

.final-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.disclaimer-small {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Security Section */
.security {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(at 20% 30%, rgba(249, 214, 123, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(1, 78, 78, 0.06) 0px, transparent 50%),
        #ffffff;
}

.security::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle at center, rgba(249, 214, 123, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.security::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle at center, rgba(1, 78, 78, 0.08), transparent 70%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

.security .container {
    position: relative;
    z-index: 1;
}

.security-text {
    padding-right: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-list {
    list-style: none;
}

.security-list li {
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 1rem;
}

.security-list strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: #222222;
}

.security-list p {
    color: var(--text-light);
    font-size: 1rem;
}

.security-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lock-visual {
    text-align: center;
    color: var(--accent-color);
    background: var(--accent-light);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.lock-visual svg {
    width: 75px;
    height: 75px;
}

.photo-visual {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.photo-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes float {
    0% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateX(-50%) translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
}


/* Footer */
.footer {
    background: var(--bg-footer);
    color: #cccccc;
    padding: 6rem 0 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    color: white;
}

.footer-logo-text {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer p {
    color: #94A3B8;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    margin-left: 2rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: #94A3B8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.footer-social a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: #666666;
    font-size: 0.85rem;
}

.legal-note {
    border-left: 2px solid var(--primary);
    padding-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 20px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .header-content {
        justify-content: space-between;
        align-items: center;
    }

    .header {
        position: fixed;
        /* Make sticky/fixed to kep it visible */
        width: 100%;
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.25rem;
        gap: 0.5rem;
        z-index: 1100;
        /* Above mobile menu */
        position: relative;
    }

    .logo-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
        /* Above mobile menu */
        position: relative;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 2px;
        background-color: #222222;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Mobile Nav */
    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 6rem 2rem 2rem;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: none;
    }

    .nav.active {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }

    .nav a:not(.btn) {
        font-size: 1.5rem;
        font-weight: 600;
        color: #222222;
    }

    .nav .btn {
        width: 100%;
        max-width: 300px;
        margin-top: 1rem;
    }

    .hero {
        padding: 7rem 0 4rem;
    }

    .hero-title,
    h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero-actions {
        margin-bottom: 3rem;
        flex-direction: column;
        gap: 1rem;
    }

    .btn.btn-large {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .hero-stats {
        margin-top: 4rem;
        padding-top: 3rem;
        gap: 0;
        overflow: hidden;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-top: none;
        display: flex;
        position: relative;
    }

    .hero-stats::before,
    .hero-stats::after {
        content: '';
        position: absolute;
        top: 0;
        width: 60px;
        height: 100%;
        z-index: 5;
        pointer-events: none;
    }

    .hero-stats::before {
        left: 0;
        background: linear-gradient(to right, #ffffff, transparent);
    }

    .hero-stats::after {
        right: 0;
        background: linear-gradient(to left, #ffffff, transparent);
    }

    .stat-list {
        display: flex;
        animation: ticker-scroll 20s linear infinite;
        width: max-content;
        gap: 0;
    }

    .stat-item {
        flex: 0 0 280px;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }

    @keyframes ticker-scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }

        /* Animating half width assuming we clone items */
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }


    .grid-3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .grid-3 .card {
        padding: 2.5rem 1.75rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .security-text {
        padding-right: 0;
        text-align: center;
    }

    .security-list li {
        padding-left: 0;
    }

    .lock-visual {
        width: 100px;
        height: 100px;
    }

    .lock-visual svg {
        width: 50px;
        height: 50px;
    }

    /* Hide additional lock circles on mobile */
    .lock-small {
        display: none;
    }

    .photo-visual {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .steps {
        flex-direction: column;
        padding-left: 20px;
        border-left: 2px solid #E2E8F0;
        margin-left: 1rem;
    }

    .step-separator {
        display: none;
    }

    .step {
        text-align: left;
        margin-bottom: 2.5rem;
        padding-left: 1.5rem;
    }

    .step-number {
        position: absolute;
        left: -2.75rem;
        top: 0;
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }

    .generator-card {
        border-radius: var(--radius-md);
        width: 100%;
    }

    .generator-header {
        padding: 2rem 1.25rem;
    }

    .will-form {
        padding: 1.5rem;
    }

    .form-actions,
    .final-actions {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .form-actions div:empty {
        display: none;
    }

    .form-actions .btn,
    .final-actions .btn {
        width: 100%;
        margin: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .form-group textarea {
        min-height: 120px;
    }

    .gender-switcher {
        flex-direction: row;
        gap: 0.5rem;
    }

    .footer-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        margin-left: 0;
    }
}

/* Recommendation Box for Complex Wills */
.reco-box {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid #014E4E;
    /* accent-color */
}

.reco-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #014E4E;
    box-shadow: 0 4px 12px rgba(1, 78, 78, 0.1);
}

.reco-box h4 {
    font-family: 'Poltawski Nowy', serif;
    font-size: 1.6rem;
    color: #014E4E;
    margin-bottom: 1rem;
    font-weight: 600;
}

.reco-box p {
    font-size: 1rem;
    color: #222222;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.btn-reco {
    background-color: #014E4E;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-reco:hover {
    background-color: #013a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 78, 78, 0.2);
}

/* Newsletter in Reco Box */
.reco-box .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
    margin: 2.5rem auto 0;
    align-items: center;
}

.reco-box .newsletter-form .form-group {
    width: 100%;
    margin-bottom: 0;
    text-align: left;
}

.reco-box .newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.2s;
    background-color: #FCFCFC;
    color: var(--text-main);
}

.reco-box .newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--accent-light);
}

.reco-box .newsletter-form .btn-reco {
    width: 100%;
    margin-top: 0.5rem;
}

.reco-box .success-message {
    margin-top: 1.5rem;
    color: #014E4E;
}

.reco-box .newsletter-disclaimer {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .reco-box .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .reco-box .newsletter-form .btn-reco {
        width: 100%;
    }
}

/* FAQ Section */
.faq-section {
    background: #ffffff;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0.5rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--accent-color);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item details[open] summary::after {
    transform: rotate(45deg);
}

.faq-item details[open] summary {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.faq-item summary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-light), 0 0 0 4px var(--accent-color);
    border-radius: 4px;
}

.faq-answer {
    padding: 0 0.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    animation: fadeIn 0.4s ease;
}

/* Ebook Section */
.ebook-section {
    background: radial-gradient(circle at bottom right, rgba(249, 214, 123, 0.1), transparent 50%),
        radial-gradient(circle at top left, rgba(1, 78, 78, 0.05), transparent 50%),
        #F9F9F9;
}

.ebook-info {
    padding-right: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.ebook-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.price-box {
    display: flex;
    gap: 3rem;
    margin: 2.5rem 0;
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.price-value {
    font-family: var(--font-serious);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.early-bird .price-value {
    color: var(--accent-color);
}

.standard .price-value {
    color: #CBD5E1;
    text-decoration: line-through;
}

.ebook-features {
    margin-bottom: 3rem;
}

.ebook-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-main);
}

.ebook-feature::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 900;
}

.chapters-preview {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.chapters-preview h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #222222;
}

.chapter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chapter-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.5;
}

.chapter-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.chapter-list li strong {
    color: var(--text-main);
}

.ebook-form-card {
    background: white;
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    border: 4px solid var(--primary);
    position: relative;
}




.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-headings);
}

.form-header p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    margin-top: 1.5rem;
}

.btn-secondary-outline:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.ebook-form input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: #FCFCFC;
    color: var(--text-main);
    transition: all 0.2s;
}

.ebook-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 0;
}

#ebook-form-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #DCFCE7;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* Response for mobile */
@media (max-width: 992px) {
    .ebook-section .grid-2 {
        grid-template-columns: 1fr;
    }

    .ebook-info {
        padding-right: 0;
        margin-bottom: 3rem;
        order: 2;
    }

    .ebook-visual {
        order: 1;
        margin-bottom: 2rem;
    }

    .price-box {
        justify-content: center;
    }

    .ebook-form-card {
        padding: 2rem;
        order: 3;
    }
}

/* Sales Optimized eBook Section */
.ebook-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-proof-pill,
.early-bird-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 700;
}

.social-proof-pill {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.early-bird-pill {
    background: #FFF7ED;
    color: #C2410C;
    border: 1px solid rgba(194, 65, 12, 0.2);
}



.ebook-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebook-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.ebook-visual:hover .ebook-mockup {
    transform: translateY(-10px) rotate(-2deg);
}

.trust-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ebook-features-v2 {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.check-icon::before {
    content: '✓';
    color: var(--primary-text);
    font-weight: 900;
    font-size: 0.9rem;
}

.benefit-item strong {
    display: block;
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.benefit-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFF7ED;
    color: #C2410C;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timer-badge .dot {
    width: 8px;
    height: 8px;
    background: #EA580C;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

.price-section-centered {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.price-comparison-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price-old {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: #94A3B8;
    font-weight: 500;
}

.price-new {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-serious);
    line-height: 1;
}

.price-save {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
}

.price-notice {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.scarcity-note {
    margin-top: 0.35rem;
}

.notice-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.btn-cta-flash {
    position: relative;
    overflow: hidden;
}

.btn-cta-flash::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: flash 3s infinite;
}

@keyframes flash {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Spinner for form loading state */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Blog Section Styles */
.blog-section {
    background-color: var(--bg-body);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.blog-card-title a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--accent-color);
}

.blog-card-excerpt {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.blog-card-link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 0.75rem;
}

/* Single Post Styles */
.post-header {
    padding: 8rem 0 4rem;
    background: radial-gradient(circle at top, #f8fafc, #f1f5f9);
    text-align: center;
}

.post-meta {
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    /* Gaps handled by individual elements margin/separator */
}


.post-title {
    font-family: 'Poltawski Nowy', serif;
    font-size: 4rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.1;
}

.post-content-wrapper {
    max-width: 900px;
    margin: -4rem auto 6rem;
    background: white;
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.post-featured-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-md);
    margin-bottom: 3.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #333;
}

.post-body h2 {
    font-size: 2.5rem;
    margin: 3.5rem 0 1.5rem;
    color: var(--text-main);
}

.post-body h3 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-main);
}

.post-body p {
    margin-bottom: 1.75rem;
}

.post-body ul,
.post-body ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 1rem;
}

.post-body strong {
    color: var(--text-main);
}

.author-box {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.author-image svg {
    width: 50px;
    height: 50px;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2.5rem;
    }

    .post-content-wrapper {
        padding: 2rem;
        margin-top: -2rem;
        border-radius: 0;
    }

    .post-featured-image {
        height: 280px;
        margin-bottom: 2.5rem;
    }

    .post-body {
        font-size: 1.1rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

.post-meta a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-meta a:hover {
    text-decoration: underline;
}

.post-meta .separator-dot {
    margin: 0 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.post-meta svg {
    display: block;
    /* Removes baseline shift */
}