/* ----------------------------------------
   GLOBAL PAGE STRUCTURE
----------------------------------------- */

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------
   HERO SECTION
----------------------------------------- */

.hero {
    padding: 4rem 0 5rem;
    text-align: center;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.hero-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.hero-button,
.hero-cta {
    margin-top: 1rem;
    display: inline-block;
}

/* ----------------------------------------
   PARSER SECTION
----------------------------------------- */

.parser-section {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.parser-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.parser-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* ----------------------------------------
   HOW IT WORKS
----------------------------------------- */

.how-it-works {
    padding: 4rem 0;
}

.hiw-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 2rem;
}

.hiw-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hiw-item p {
    color: #555;
    line-height: 1.5;
}

/* ----------------------------------------
   SEO SUPPORT SECTION
----------------------------------------- */

.seo-support {
    padding: 3rem 0;
    background: #fafafa;
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.visually-hidden {
    position: absolute;
    left: -9999px;
}

/* ----------------------------------------
   RESPONSIVE
----------------------------------------- */

@media (max-width: 600px) {
    .hero-form,
    .parser-form {
        flex-direction: column;
    }

    .hero-input,
    .parser-input {
        width: 100%;
    }
}

.ocr-section {
    padding: 4rem 0;
    text-align: center;
}

/* --- GLOBAL CARD LAYOUT FOR HOMEPAGE --- */
.homepage-card,
.section-card {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Centering helpers */
.centered {
    text-align: center;
}

.wide-text {
    max-width: 700px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
    color: #444;
    font-size: 1.1rem;
}

/* --- FEATURES SECTION --- */
.features {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
    width: 260px;
    border: 1px solid #e5e5e5;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* --- INSTRUCTIONS SECTION --- */
.instruction-list {
    margin: 20px auto;
    max-width: 700px;
    padding-left: 20px;
    line-height: 1.7;
    color: #444;
}

.instruction-list li {
    margin-bottom: 10px;
}

/* --- RECIPE OF THE WEEK --- */
.recipe-week-content {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

.recipe-week-img {
    width: 180px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.recipe-week-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.recipe-week-desc {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

/* --- TYPOGRAPHY --- */
.section-title {
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #222;
}

p {
    line-height: 1.6;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 600px) {
    .recipe-week-content {
        flex-direction: column;


.youtube-section {
padding: 24px;
}

.youtube-section-inner {
display: grid;
grid-template-columns: 1.3fr 1fr;
gap: 28px;
align-items: center;
}

.youtube-label {
display: inline-block;
margin-bottom: 10px;
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #cc0000;
}

.youtube-actions {
margin-top: 18px;
}

.youtube-btn {
display: inline-block;
}

.youtube-preview {
display: flex;
justify-content: center;
}

.youtube-card-link {
text-decoration: none;
color: inherit;
width: 100%;
max-width: 360px;
}

.youtube-card {
background: linear-gradient(135deg, #fff7f7 0%, #fff 100%);
border: 1px solid #f1d6d6;
border-radius: 18px;
padding: 28px 24px;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
transition: transform 0.2s ease, box-shadow 0.2s ease;
text-align: center;
}

.youtube-card:hover {
transform: translateY(-3px);
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.youtube-icon-wrap {
display: inline-flex;
align-items: center;
justify-content: center;
width: 72px;
height: 72px;
margin-bottom: 14px;
border-radius: 50%;
background: #ff0000;
color: #fff;
}

.youtube-card h3 {
margin-bottom: 10px;
}

.youtube-card p {
color: #555;
margin-bottom: 16px;
}

.youtube-link-text {
font-weight: 700;
color: #cc0000;
}

@media (max-width: 900px) {
.youtube-section-inner {
grid-template-columns: 1fr;
}

```
.youtube-copy {
    text-align: center;
}

.youtube-actions {
    display: flex;
    justify-content: center;
}
```

}

.youtube-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.youtube-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #cc0000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.youtube-section-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.youtube-embed-wrapper {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    background: #000;
}

.youtube-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .youtube-section-inner {
        grid-template-columns: 1fr;
    }

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

    .youtube-actions {
        display: flex;
        justify-content: center;
    }
}

/* --------------------------------------------------
Base Layout
-------------------------------------------------- */

.homepage-card {
background: #fff;
border-radius: 18px;
padding: 32px;
margin-bottom: 28px;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.section-title {
font-size: 1.8rem;
margin-bottom: 18px;
color: #222;
}

.centered {
text-align: center;
}

.wide-text {
max-width: 700px;
margin: 0 auto;
font-size: 1.05rem;
color: #555;
}

/* --------------------------------------------------
Feature Grid
-------------------------------------------------- */

.features {
display: flex;
flex-wrap: wrap;
gap: 18px;
justify-content: center;
}

.feature-card {
background: #fafafa;
border-radius: 14px;
padding: 20px;
flex: 1 1 220px;
max-width: 260px;
text-align: left;
border: 1px solid #eee;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.feature-card h3 {
margin-bottom: 8px;
}

.feature-card p {
color: #666;
font-size: 0.95rem;
}

/* --------------------------------------------------
Buttons
-------------------------------------------------- */

.btn-primary {
display: inline-block;
background: #cc0000;
color: #fff;
padding: 10px 16px;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
background: #a80000;
transform: translateY(-1px);
}

/* --------------------------------------------------
Instruction List
-------------------------------------------------- */

.instruction-list {
max-width: 600px;
margin: 20px auto 0;
padding-left: 18px;
color: #555;
}

.instruction-list li {
margin-bottom: 10px;
}

/* --------------------------------------------------
YouTube Section
-------------------------------------------------- */

.youtube-section {
padding: 24px;
}

.youtube-section-inner {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 30px;
align-items: center;
}

/* Header with icon */

.youtube-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
}

.youtube-label {
font-size: 0.9rem;
font-weight: 700;
color: #cc0000;
text-transform: uppercase;
letter-spacing: 0.05em;
}

/* Text side */

.youtube-copy p {
color: #555;
}

/* CTA */

.youtube-actions {
margin-top: 18px;
}

/* Video embed */

.youtube-preview {
display: flex;
justify-content: center;
}

.youtube-embed-wrapper {
width: 100%;
max-width: 360px;
aspect-ratio: 9 / 16;
border-radius: 16px;
overflow: hidden;
background: #000;
box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.youtube-embed-wrapper iframe {
width: 100%;
height: 100%;
border: 0;
}

/* --------------------------------------------------
Responsive
-------------------------------------------------- */

@media (max-width: 900px) {
.youtube-section-inner {
grid-template-columns: 1fr;
}

```
.youtube-copy {
    text-align: center;
}

.youtube-actions {
    display: flex;
    justify-content: center;
}

.features {
    flex-direction: column;
    align-items: center;
}

.feature-card {
    max-width: 90%;
}
```

}

