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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.4em;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 20px;
}

/* Navigation */
nav {
    margin-top: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: white;
}

/* Hero Section */
.hero {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c5f2d;
}

.hero-text {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Audience Cards */
.audience {
    padding: 80px 0;
}

.audience .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.audience-card {
    padding: 40px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.audience-card:hover {
    border-color: #97bc62;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.audience-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #2c5f2d;
}

.audience-card p {
    font-size: 1.1em;
    color: #666;
}

/* About Section */
.about {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2c5f2d;
    text-align: center;
}

.about p {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Founder Section */
.founder {
    padding: 80px 0;
}

.founder h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2c5f2d;
    text-align: center;
}

.founder p {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c5f2d;
}

.contact p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 20px;
}

.email {
    margin-top: 30px;
}

.email a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
}

.email a:hover {
    color: #97bc62;
}

/* Footer */
footer {
    background-color: #2c5f2d;
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    opacity: 0.9;
}

footer .disclaimer {
    font-size: 0.85em;
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 15px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
    line-height: 1.5;
}

/* Methods Page */
.methods-intro {
    padding: 60px 0;
    text-align: center;
}

.methods-intro p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.recipe-showcase {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.recipe-showcase .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.recipe-card {
    padding: 40px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recipe-card:hover {
    border-color: #97bc62;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.recipe-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #2c5f2d;
}

.recipe-subtitle {
    font-size: 0.95em;
    color: #97bc62;
    font-weight: 600;
    margin-bottom: 15px;
}

.recipe-card p {
    font-size: 1.05em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.recipe-card em {
    color: #999;
    font-size: 0.95em;
}

/* Contact Page */
.contact-form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Why CogniCuisine Page */
.why-section {
    padding: 60px 0;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.problem-item {
    padding: 30px;
    background: #fff5f5;
    border-left: 4px solid #c53030;
    border-radius: 4px;
}

.problem-item h3 {
    color: #c53030;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.problem-item p {
    color: #666;
    line-height: 1.6;
}

.solution-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.difference-card {
    padding: 30px;
    background: white;
    border: 2px solid #97bc62;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.difference-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.difference-card h3 {
    color: #2c5f2d;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.difference-card p {
    color: #666;
    line-height: 1.6;
}

.competitive-section {
    padding: 60px 0;
}

.competitive-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.competitor-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
}

.competitor-item h3 {
    color: #555;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.competitor-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

.competitive-conclusion {
    text-align: center;
    font-size: 1.2em;
    color: #2c5f2d;
    margin-top: 40px;
    padding: 30px;
    background: #f0f7f0;
    border-radius: 8px;
}

.results-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.results-list {
    max-width: 800px;
    margin: 30px auto;
    list-style: none;
    padding: 0;
}

.results-list li {
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-left: 4px solid #97bc62;
    border-radius: 4px;
    font-size: 1.1em;
    line-height: 1.6;
}

.results-list li:before {
    content: "✓ ";
    color: #2c5f2d;
    font-weight: bold;
    margin-right: 10px;
}

.cta-section {
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5em;
    color: #2c5f2d;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Contact Form */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c5f2d;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #97bc62;
}

.submit-button {
    background-color: #2c5f2d;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #97bc62;
}

.contact-alternative {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.contact-alternative p {
    font-size: 1.1em;
    color: #666;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #2c5f2d;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.cta-button:hover {
    background-color: #97bc62;
}

/* Contact Info (legacy - keeping for backward compatibility) */
.contact-info {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-card {
    padding: 40px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c5f2d;
}

.contact-card p {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 20px;
}

.contact-card .email {
    margin-top: 20px;
}

.contact-card .email a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
}

.contact-card .email a:hover {
    color: #97bc62;
}

/* Insights Index Page */
.insights-intro {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.insights-intro h2 {
    font-size: 2.5em;
    color: #2c5f2d;
    margin-bottom: 20px;
}

.insights-intro p {
    font-size: 1.2em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.insights-grid {
    padding: 60px 0;
}

.insights-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.insight-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 35px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    border-color: #97bc62;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.insight-card .card-category {
    font-size: 0.85em;
    color: #97bc62;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.insight-card h3 {
    font-size: 1.5em;
    color: #2c5f2d;
    margin-bottom: 12px;
    line-height: 1.3;
}

.insight-card .card-subtitle {
    font-size: 1em;
    color: #97bc62;
    font-weight: 600;
    margin-bottom: 15px;
}

.insight-card p {
    font-size: 1.05em;
    color: #666;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 25px;
}

.insight-card .read-more {
    display: inline-block;
    background-color: #2c5f2d;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.insight-card .read-more:hover {
    background-color: #97bc62;
}

/* Article Pages (Insights individual articles) */
.article-hero {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.article-hero h1 {
    font-size: 2.5em;
    color: #2c5f2d;
    margin-bottom: 15px;
}

.article-hero .article-subtitle {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 0.95em;
    color: #999;
}

.article-body {
    padding: 60px 0;
}

.article-body p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-body h2 {
    font-size: 2em;
    color: #2c5f2d;
    margin: 50px auto 20px;
    max-width: 900px;
}

.article-body h3 {
    font-size: 1.4em;
    color: #2c5f2d;
    font-style: italic;
    margin: 35px auto 15px;
    max-width: 900px;
}

.article-body strong {
    color: #2c5f2d;
}

.article-rule {
    max-width: 900px;
    margin: 40px auto;
    border: none;
    border-top: 2px solid #97bc62;
}

.article-body .intro-statement {
    font-size: 1.25em;
    color: #555;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.article-footer-credit {
    max-width: 900px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.95em;
    color: #999;
    font-style: italic;
}

/* Article content (search article style) */
.article-content {
    padding: 60px 0;
}

.article-content h2 {
    font-size: 2em;
    color: #2c5f2d;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.5em;
    color: #2c5f2d;
    margin: 30px 0 15px;
}

.article-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 30px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.comparison-table {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.comparison-table th {
    background-color: #2c5f2d;
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.yes {
    color: #2c5f2d;
    font-weight: 600;
}

.no {
    color: #c0392b;
    font-weight: 600;
}

.scenario-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffa726;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.scenario-box h4 {
    color: #f57c00;
    margin-top: 0;
}

.back-link {
    display: inline-block;
    margin: 40px 0;
    padding: 12px 24px;
    background-color: #2c5f2d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #97bc62;
}

/* Published Work Page */
.published-grid {
    padding: 60px 0;
}

.published-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.published-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.published-card:hover {
    border-color: #97bc62;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.published-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    align-items: center;
}

.published-source {
    font-size: 0.8em;
    font-weight: 700;
    color: white;
    background-color: #2c5f2d;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.published-date {
    font-size: 0.85em;
    color: #999;
}

.published-card h3 {
    font-size: 1.4em;
    color: #2c5f2d;
    margin-bottom: 12px;
    line-height: 1.3;
}

.published-card p {
    font-size: 1.05em;
    color: #666;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.external-link {
    display: inline-block;
    color: #2c5f2d;
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    border-bottom: 2px solid #97bc62;
    padding-bottom: 2px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.external-link:hover {
    color: #97bc62;
}

/* Recipe Page */
.recipe-hero {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c4e 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.recipe-series {
    font-size: 0.9em;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.recipe-hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.recipe-hero-subtitle {
    font-size: 1.4em;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 10px;
}

.recipe-byline {
    font-size: 1em;
    opacity: 0.8;
    font-style: italic;
    margin-bottom: 16px;
}

.recipe-meta-line {
    font-size: 0.9em;
    opacity: 0.85;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.download-button {
    display: inline-block;
    background-color: white;
    color: #2c5f2d;
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: #97bc62;
    color: white;
}

.recipe-headnote {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.recipe-headnote p {
    font-size: 1.15em;
    line-height: 1.8;
    max-width: 860px;
    margin: 0 auto 18px;
    color: #444;
}

.recipe-process-link {
    font-size: 1em !important;
    color: #888 !important;
}

.recipe-process-link a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 600;
}

.recipe-process-link a:hover {
    color: #97bc62;
}

.recipe-body {
    padding: 60px 0;
}

.recipe-body .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    max-width: 1100px;
}

.recipe-ingredients h2,
.recipe-method h2,
.recipe-notes h2 {
    font-size: 1.6em;
    color: #2c5f2d;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #97bc62;
}

.recipe-method,
.recipe-notes {
    grid-column: span 1;
}

.recipe-notes {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.recipe-notes h2 {
    grid-column: 1 / -1;
}

.recipe-ingredients h3 {
    font-size: 1em;
    font-style: italic;
    color: #555;
    margin: 20px 0 8px;
    font-weight: 600;
}

.recipe-ingredients ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recipe-ingredients ul li {
    font-size: 1em;
    line-height: 1.7;
    color: #444;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recipe-step {
    margin-bottom: 24px;
}

.step-title {
    font-size: 1em;
    font-weight: 700;
    color: #2c5f2d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px !important;
}

.recipe-step p {
    font-size: 1.05em;
    line-height: 1.75;
    color: #444;
}

.recipe-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recipe-notes ul li {
    font-size: 1em;
    line-height: 1.7;
    color: #444;
    padding: 6px 0 6px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.recipe-notes ul li::before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: #97bc62;
    font-weight: 700;
}

/* Before/After Comparison Table */
.before-after-table {
    overflow-x: auto;
    margin: 30px 0;
}

.before-after-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95em;
}

.before-after-table th {
    background-color: #2c5f2d;
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
}

.before-after-table td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    line-height: 1.6;
    vertical-align: top;
    color: #444;
}

.before-after-table tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.before-after-table td:nth-child(2) {
    color: #c0392b;
}

.before-after-table td:nth-child(3) {
    color: #2c5f2d;
    font-weight: 600;
}

/* Responsive for recipe page */
@media (max-width: 900px) {
    .recipe-body .container {
        grid-template-columns: 1fr;
    }
    .recipe-notes {
        grid-template-columns: 1fr;
    }
    .recipe-hero h1 {
        font-size: 2.2em;
    }
}

/* Responsive for published/insights grids */
@media (max-width: 768px) {
    .published-grid .container,
    .insights-grid .container {
        grid-template-columns: 1fr;
    }
}

.recipe-card-image {
    width: calc(100% + 60px);
    margin: -40px -30px 25px;
    height: 220px;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    
    .tagline {
        font-size: 1.1em;
    }
    
    .hero h2 {
        font-size: 2em;
    }
    
    .hero-text {
        font-size: 1.1em;
    }
    
    .audience .container {
        grid-template-columns: 1fr;
    }
    
    .about h2,
    .founder h2,
    .contact h2 {
        font-size: 2em;
    }
}
